D&C Lug - Home Page
Devon & Cornwall Linux Users' Group

[ Date Index ][ Thread Index ]
[ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] resolv.conf



On Thu, May 23, 2002 at 10:24:11AM +0100, Alex Charrett wrote:

Of course it will only be read if you have a dns entry in the hosts 
section of your nsswitch.conf

$ grep hosts /etc/nsswitch.conf 
hosts:      files nisplus nis dns

for example.

Indeed. A good test is to do an nslookup which does not use a resolver
and host, which uses gethostbyname. If the nslookup works and host
fails, the resolver config is bad.

Steve

--
The Mailing List for the Devon & Cornwall LUG
Mail majordomo@xxxxxxxxxxxx with "unsubscribe list" in the
message body to unsubscribe.


Lynx friendly