Re: Why does resolv.conf keep changing?
On Wed, 25 Oct 2017, Gene Heskett wrote:
> Whereas my theory has always been WRT the search line, that it should
> first search the /etc/hosts file for a name match, and failing that,
> query my router, which is running dd-wrt which means its running
> dnsmasq.
This is wrong, and has been wrong for quite some time. /etc/resolv.conf
does not control the order of querying. /etc/nsswitch.conf does.
See nsswitch.conf(5) and resolv.conf(5) for details.
--
Don Armstrong https://www.donarmstrong.com
There is no mechanical problem so difficult that it cannot be solved
by brute strength and ignorance.
-- William's Law
Reply to: