>From: "asantos" <[EMAIL PROTECTED]>
snip
> >I'm using named 8.2.2 as my primary DNS running on the same machine as
>the mail server.
>
>I don't have the bind documents handy now, but in essence you
>must tell named that it should answer to recursive queries.
>
named does recursive queries by default according to the docs.
> >>As a quick fix, try the following on your /etc/resolv.conf (saving the
> >>previous contents elsewhere):
> >>
> >>search axon.is
> >>nameserver 193.4.58.19
> >>
> >>and restart qmail. If you can then send mail, then you don't have a
>correct
> >>local DNS setup.
> >>
> >
> >No, this didn't solve it. Someone said that by putting nameserver
>127.0.0.1
> >in resolv.conf fixed his CNAME problem but that didn't help either.
>
>
>What you need is a full resolver, and your named is not setup for that. My
>suggestion re 193.4.58.19 was assuming that they were your ISP and that
>they
>provided recursive DNS service... apparentely they don't.
>
>Ok, just for testing, you can replace the address by 194.65.3.20. This is
>an
>ISPs DNS server here in Portugal, and they do accept recursive queries.
Sorry, no luck with that one. This strongly suggest some local configuration
problem, but I just can't put my finger on it.
>
> >Surely someone must be using named successfully with qmail?
> >Or is the resolver misconfigured?
> >My usual resolv.conf file is like this
> >
> >search axon.is
> >namserver 194.144.127.194
>
>
>Sorry, "namserver" or "nameserver" ? That could be it. If not, your
>resolv.conf seems ok.
Oops. Just a typo. It says nameserver in the file.
>
>Also, check that your hint file is ok. Locate the zone entry for type hint
>on /etc/named.conf, check the directory option on the options entry, and
>check that a file named.root (or the name appearing on the zone "."
>section)
>exists and is not empty.
>
Everything in named.conf seems fine. The zone "." looks like this:
zone "." in
{
type hint;
file "db.cache";
};
and the db.cache file contains the root servers.
>I have a couple of qmail's working allright with bind, so that is not the
>problem.
>
Well, if the problem lies with my resolver, are there any tools that I can
use to simulate what qmail is trying to do? ping and nslookup seem t be
working fine.
Maybe some simple source code that I can fiddle with to figure this out?
Jens
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com