Re: resolv.conf, bind9 and unresolvable local address



Am Wed, 26 Mar 2008 11:10:43 +0100 schrieb peter pilsl:


#ping imap

I see my server querying for imap.local !!!

and when I run

#ping imap.local

no traffic at all on lo nor on eth0 - not on port 53 and not on any
other port !!!


I just dont get this !! This is kind of weird !! and starts to drive my
crazy !!


I copied your files into my bind, it works.
Please check the following files:
/etc/resolv.conf:
domain local <-- optional
search local
nameserver $DNS_IP

/etc/hosts:
If you have here an entry for imap.local you will not have DNS traffic at
all.

/etc/nsswitch.conf:
[...]
hosts: files dns <- it say watch first to /etc/hosts then DNS
networks: files
[...]

cya
.