Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Feb 2001 00:25:29 -0800
From:      "Crist J. Clark" <cjclark@reflexnet.net>
To:        Bruce Lacey <BBLacey@Home.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Need help designing a solution to propagate dhcpclient dns IP changes to dhcpd
Message-ID:  <20010204002529.S91447@rfx-216-196-73-168.users.reflex>
In-Reply-To: <B6A21F73.32D6%BBLacey@Home.com>; from BBLacey@Home.com on Sat, Feb 03, 2001 at 08:49:55PM -0800
References:  <B6A21F73.32D6%BBLacey@Home.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Feb 03, 2001 at 08:49:55PM -0800, Bruce Lacey wrote:
> What is the best solution to the following scenario?
> 
> I have a FreeBSD 4.1.1 box acting as a gateway/natd combo for my internal
> net using dual NICS.  The external NIC is connected to a cable modem and
> receives the interface configuration parameters via DHCP (dhcpclient).  The
> internal NIC has dhcdp bound to it to serve addresses to my internal
> network.   dhcpd requires that you place the domain-name-servers in the
> dhcpd.conf file in order to pass them to the client computers on the
> internal net but my ISP changes the domain name serverıs IPs periodically.
> The ISP dns IP changes are updated in resolv.conf by dhclient but they are
> not inherited by dhcpd due to the ³hardwired² domain-name-servers option in
> dhcpd.conf. 
> 
> Is there an easy solution to propagating the DNS IP change to my internal
> network?

I am not aware of an "easy" way to do something like that. However, I
have found the easiest solution to run a nameserver on the NAT
gateway. It gets its nameservers as a DHCP client, and it gives itself
as the nameserver to the inside clients.
-- 
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?20010204002529.S91447>