Date: Sat, 10 Mar 2001 18:04:16 -0800 From: "Crist J. Clark" <cjclark@reflexnet.net> To: Will Yardley <william@hq.newdream.net> Cc: questions@FreeBSD.ORG Subject: Re: resolv.conf / dhcp Message-ID: <20010310180416.F50418@rfx-216-196-73-168.users.reflex> In-Reply-To: <3AAAC5A7.14CC3510@hq.newdream.net>; from william@hq.newdream.net on Sat, Mar 10, 2001 at 04:24:07PM -0800 References: <3AAAC5A7.14CC3510@hq.newdream.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Mar 10, 2001 at 04:24:07PM -0800, Will Yardley wrote: > a couple questions about this. > > does anyone have a simple solution to /etc/resolv.conf being overwritten > everytime the dhcp lease is renewed ?? i'm using dhclient and the dhcp > server is an obsd router / firewall $ man dhclient.conf . . . supersede { [ option declaration ] [, ... option declara- tion ]} If for some set of options the client should always use its own value rather than any value supplied by the server, these values can be defined in the supersede statement. The prepend statement prepend { [ option declaration ] [, ... option declara- tion ]} If for some set of options the client should use a value you supply, and then use the values supplied by the server, if any, these values can be defined in the prepend statement. The prepend statement can only be used for options which allow more than one value to be given. This restriction is not enforced - if violated, the results are unpredictable. The append statement append { [ option declaration ] [, ... option declaration ]} If for some set of options the client should first use the 4 dhclient.conf(5) dhclient.conf(5) values supplied by the server, if any, and then use values you supply, these values can be defined in the append statement. The append statement can only be used for options which allow more than one value to be given. This restriction is not enforced - if you ignore it, the behaviour will be unpredictable. . . . -- Crist J. Clark cjclark@alum.mit.edu 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?20010310180416.F50418>