Date: Sat, 28 Apr 2001 12:40:11 -0800 From: Beech Rintoul <akbeech@anchoragerescue.org> To: Simon Maycock <liststuff@earthlink.net>, freebsd-questions@FreeBSD.ORG Subject: Re: DHCP and resolv.conf Message-ID: <01042812401100.22027@galaxy.anchoragerescue.org> In-Reply-To: <3AEB1F80.9010709@earthlink.net> References: <3AEB1F80.9010709@earthlink.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 28 April 2001 11:52, Simon Maycock wrote: > Dear all, > > When I use DHCP on the interface I connect to Sprint broadband it sets > up a new resolv.conf each time. How can I disable this feature, while > still getting my IP dynamically assigned? I want the host to be able to > use my internal DNS! > > Many thanks, > > Hagar > > P.S. Running 4.2 release. > Add the following to /etc/dhclient.conf: interface "ep0" { supersede domain-name "your.domain.com"; supersede domain-name-servers 123.456.789; } Change ep0 to whatever your outside interface is. Take a look at man dhclient.conf for more options. Beech ------------------------------------------------------------------- Beech Rintoul - IT Manager - Instructor - akbeech@anchoragerescue.org /"\ ASCII Ribbon Campaign | Anchorage Gospel Rescue Mission \ / - NO HTML/RTF in e-mail | P.O. Box 230510 X - NO Word docs in e-mail | Anchorage, AK 99523-0510 / \ ----------------------------------------------------------------- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?01042812401100.22027>