Re: [SLUG] Telnet and the Internet

From: Paul M Foster (paulf@quillandmouse.com)
Date: Wed Feb 06 2002 - 21:21:06 EST


On Wed, Feb 06, 2002 at 12:27:48AM -0500, Robert Haeckl wrote:

> > ... The more severe
> > problem is that the DNS code on the local machines appears to initially
> > ignore host.conf and hosts, until the internet nameservers tells it to
> > go away.
> >
> > Surely DNS isn't _supposed_ to work this way?
> >
> > Paul
>
> You might want to check /etc/nsswitch.conf for the lines:
>
> hosts: files dns
> networks: files dns
> services: files
>
> if you haven't already done so. It's my understanding that the resolver
> looks here now to see how to resolve names. According to the man file,
> if the nsswitch.conf file is missing, libc.so.6 uses dns by default to
> resolve names.
>
> -Robert
>

Hmm. I'll try that. I was aware that there was an nsswitch.conf file,
but I didn't really know what it was for. And the man pages for the
other files involved (resolv.conf, hosts, etc.) don't make much mention
of this.

Paul



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 15:44:49 EDT