/etc/resolv.conf and your ISP

Robert Huff roberthuff at rcn.com
Sun May 8 14:16:50 PDT 2005


Glenn Dawson writes:

>  >My question is:  how to reliably keep your own nameserver in
>  >/etc/resolv.conf, and get around the frequent protocol updates that
>  >change/nullify your mods to /etc/resolv.conf.
>  
>  According to dhclient.conf(5):
>  
>  interface "foo" {
>           ...
>           supersede domain-name-servers 127.0.0.1;
>           ...
>  }
>  
>  would do the trick in your case.

	See also the "prepend" option.
	(I use "supersede" to keep my own domain, and "Prepend" to make
sure my DNS server is first on the list.)




				Robert Huff


More information about the freebsd-questions mailing list