Date: Mon, 1 Jun 1998 16:39:27 -0600 (MDT) From: Wes Peters <wes@obie.softweyr.com> To: DuncanP@Cairnwood.com (Pitcairn, Duncan) Cc: freebsd-net@FreeBSD.ORG Subject: Re: Move a value from dhcp client on interface to dhcp server on othe r interface Message-ID: <199806012239.QAA26013@obie.softweyr.com> In-Reply-To: <DD95A52544D0D01198C300608CCC29B9322EE2@Southampton.Cairnwood.com> from "Pitcairn, Duncan" at "May 30, 98 12:00:18 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
> Does anyone have a script or instructions for moving the value for > domain-name-servers received by dhclient to a dhcpd.conf file? > > What I am working on is a FreeBSD 2.2.6 system with two network > interfaces. Interface 1 is connected to a Cable Modem through which it > receives dhcp client values, including doman-name-servers. Interface 2 > is conected to our network and it is running dhcpd. I need to move the > domain-name-server values from dhclient.leases (or from resolve.conf) > after dhclient runs but before dhcpd starts so that dhcpd can pass > domain-name-servers on to the clients on our network. A better idea would be to run a caching nameserver on your FreeBSD machine. If you run a traditional caching nameserver, you won't need to worry about the nameserver passed to you by the cable modem connection. If you want to modify the caching server to use the cable modem server as the 'upstream' connection, your cable modem DHCP client script would need to edit named.boot to edit the address you've just received into the 'forwarders' line, then (re)start the named server. In both cases, your dhcp server should advertise your FreeBSD machine as the DNS server to your clients. -- "Where am I, and what am I doing in this handbasket?" Wes Peters Softweyr LLC http://www.softweyr.com/~softweyr wes@softweyr.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199806012239.QAA26013>