SUMMARY: localhost DNS issue

Robert Helmer <[email protected]>
Newsgroups gmane.linux.admin.managers
Message-ID <[email protected]>
Hello,


It turns out that the issue was actually that the box in question
was never able to look up anything with it's resolv.conf set to
nameserver localhost

However, it was failing over to an internal machine that ran DNS
as a service for all of the other internal machines. It turns
out that the internal BIND crashed, and that's why it wasn't
working.

I changed the resolv.conf on the box in question to use the
IP that BIND is bound to rather than "localhost" and it seems
to work fine now.



Thanks,
Rob Helmer



On Tue, Dec 02, 2003 at 11:31:35AM -0800, Robert Helmer wrote:
> Hello,
> 
> 
> I have a server that runs both mail (Exim) and DNS (Bind), that
> has been working great for years.
> 
> However, today it seems that Exim, ping, pretty much and local
> userland application except host, dig and nslookup, cannot resolve
> external hosts ("host not found" errors).
> 
> I checked that my /etc/nsswitch.conf is correct, and if I set
> a secondary DNS server in /etc/resolv.conf it works fine!
> 
> The DNS server running on localhost serves up a bunch of external 
> domains, and seems fine from the outside (e.g. I can do:
> 
> host yahoo.com server
> 
> >From both outside and inside, and it all works fine.
> 
> Any ideas?
> 
> 
> 
> Thanks,
> Rob Helmer
> _______________________________________________
> LinuxManagers mailing list - http://www.linuxmanagers.org
> submissions: LinuxManagers-35TzE1X9F6582KRnZfj+bdi2O/[email protected]
> subscribe/unsubscribe: http://www.linuxmanagers.org/mailman/listinfo/linuxmanagers
_______________________________________________
LinuxManagers mailing list - http://www.linuxmanagers.org
submissions: LinuxManagers-35TzE1X9F6582KRnZfj+bdi2O/[email protected]
subscribe/unsubscribe: http://www.linuxmanagers.org/mailman/listinfo/linuxmanagers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.