Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 May 2005 17:14:33 -0400
From:      Robert Huff <roberthuff@rcn.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: /etc/resolv.conf and your ISP
Message-ID:  <17022.33081.891721.968466@jerusalem.litteratus.org>
In-Reply-To: <6.1.0.6.2.20050508130759.06479e20@cobalt.antimatter.net>
References:  <427E6D50.2040003@forrie.com> <6.1.0.6.2.20050508130759.06479e20@cobalt.antimatter.net>

next in thread | previous in thread | raw e-mail | index | archive | help

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?17022.33081.891721.968466>