On 12/14/06, Nick Holland <[EMAIL PROTECTED]> wrote:
Richard P. Koett wrote:
> I'm building a firewall/router for a small private network. The
> external network interface uses dhclient. The internal interface
> will run dhcpd.
>
> Rather than hard-coding 'option domain-name-servers' in dhcpd.conf
> I'd like dhcpd to pass whatever nameservers were received by the
> dhclient running on the other interface.
>
> Is there a recommended way to accomplish this?

yes, "don't" :)

You could write a simple script to modify dhcpd.conf as needed, but I set
up a lot of systems similar to yours for small offices.  For a number of
years, I tried to use the ISP's DNS resolver, but after a while, I realized
that virtually EVERY ONE of the systems ended up with me installing a local
resolver on the firewall because the ISP's went down at some point.


Very true :-)

long time back I did this on my firewalls

http://cr.yp.to/djbdns/install.html
http://cr.yp.to/djbdns/run-cache-x.html

you could use bind that comes with the base also :-)

http://www.kernel-panic.it/openbsd/dns/

hope this helps :-)

kind regards

Siju

Reply via email to