Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 31 May 2002 15:02:25 +1000
From:      Edwin Groothuis <edwin@mavetju.org>
To:        Carolyn Longfoot <c_longfoot@hotmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: DNS/DHCP Irritation
Message-ID:  <20020531150225.B552@k7.mavetju>
In-Reply-To: <F61ZykGbBTlLwYxEbnw0000d648@hotmail.com>; from c_longfoot@hotmail.com on Thu, May 30, 2002 at 10:02:35PM -0400
References:  <F61ZykGbBTlLwYxEbnw0000d648@hotmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, May 30, 2002 at 10:02:35PM -0400, Carolyn Longfoot wrote:
> Now that I have my own DNS server running I noticed an annoying issue: I get 
> my static IP from the DHCP server that's built into the DSL gatway. The DHCP 
> server always gives me the same IP but the effect is that whenever the lease 
> expires, /etc/resolv.conf gets rewritten and the entry that points to my 
> local DNS server is lost.

Check dhclient.conf(5) and search for supersede and/or SAMPLE. That
will give yiou all the info needed to solve it.

Edwin
-- 
Edwin Groothuis      |           Personal website: http://www.MavEtJu.org
edwin@mavetju.org    |        Interested in MUDs? Visit Fatal Dimensions:
bash$ :(){ :|:&};:   |                    http://www.FatalDimensions.org/

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?20020531150225.B552>