Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Jul 2002 17:25:59 -0400
From:      "Carolyn Longfoot" <c_longfoot@hotmail.com>
To:        edwin@mavetju.org
Cc:        freebsd-questions@freebsd.org
Subject:   Re: DNS/DHCP Irritation
Message-ID:  <F77BIieXxofjYxdxJZr0000626c@hotmail.com>

next in thread | raw e-mail | index | archive | help
Well... no.

I added the following to /etc/dhclient.conf, sent a SIGHUP to dhclient and 
my local DNS server entry is squashed.

supersede {
	option domain-name-servers 10.0.0.1, 64.xx.xx.xx, 216.xx.xx.xx;
	}

I believe the syntax to be correct. What else could be wrong?

Thanks,
Caro


>From: Edwin Groothuis <edwin@mavetju.org>
>To: Carolyn Longfoot <c_longfoot@hotmail.com>
>CC: freebsd-questions@freebsd.org
>Subject: Re: DNS/DHCP Irritation
>Date: Fri, 31 May 2002 15:02:25 +1000
>
>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/


_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com


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?F77BIieXxofjYxdxJZr0000626c>