[conspire] Unbound and DHCP on home computer

Jean Philippe Granchi granchijp at gmail.com
Tue Dec 15 08:55:14 PST 2009

Rick Moen wrote:
> Quoting Nick Moffitt (nick at zork.net):
>> Take a look at /etc/dhcp3/dhclient.conf...
>> 	#prepend domain-name-servers;
>> Uncomment that, ...
> ...
> Just to be clear, this doesn't prevent ISC DHCP (DHCP client) from _also_
> putting into /etc/resolv.conf various "nameserver nn.nn.nn.nn" lines,
> _but_, fortunately, the resolver (your DNS client library inside glibc) 
> reads "nameserver" lines in the order presented, 
prepend is a clever way to do it,
but if one want to make sure the dhcp client will not add any 
information in resolv.conf,
in /etc/dhcp3/dhclient.conf remove in the "request" the parameter 
"domain-name-servers", therefore the client will not request any domain 
name server from the DHCP server.

More information about the conspire mailing list