Re: dselect and resolving
Lo, on Monday, February 11, John Cichy did write:
> Hello all,
> It seems the dselect ignores the host file when updating it's lists. I have a
> debian mirror in my DMZ and have added an entry in my hosts file to use an
> internal address to access the mirror, but it seems that dselect is ignoring
> that entry and trying the public address instead. Does anyone know how to
> make dselect look at the hosts file, my host.conf has the entry :
> order hosts,bind
> so I would think that it would resolve to the address in the host file.
I'm not entirely sure how this works, but there's a very good chance
that /etc/nsswitch.conf is more significant than /etc/host.conf. What
does the `hosts' line say from nsswitch.conf?