On Mon, March 4, 2013 1:43 pm, chris wrote:

>> I have in host.conf
>> # cat /etc/host.conf
>> order hosts,bind multi on
>> but, I seem to resolve with bind and ignore /etc/hosts..? what else do I
>> need to check ?
>
> I have come across this too.  The answer may lie in
> /etc/nsswitch.conf
> which is said to be a more up-to-date alternative to /etc/hosts, and to
> various other name resolution mechanisms.

Chris,

thanks for reply,

I;ve edited /etc/resolv.conf as;

cat resolv.conf

nameserver 127.0.0.1
nameserver xyx.xyz.xyz.xyz
nameserver xyx.xyz.xyz.zxy
lookup file bind

(tried 'lookup' line as 1st and last line)

/etc/nsswitch.conf already has:

grep host /etc/nsswitch.conf

#hosts:     db files nisplus nis dns
hosts:      files dns

so I didn't touch any

any other thoughts ? googleing just brings ppl with similar issue, but no
resolution so far.
it seems 'it doesn't work anymore like it used to' ?



-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to