Date: Thu, 09 Jan 2003 12:03:26 -0700 From: Samuel Chow <cyschow@shaw.ca> To: lattera@softhome.net Cc: freebsd-questions@freebsd.org Subject: Re: DNS and DHCPD Message-ID: <019101c2b811$cb3ad320$8142412f@SAMCHOW2> References: <courier.3E1D9F9F.000016C8@softhome.net>
next in thread | previous in thread | raw e-mail | index | archive | help
----- Original Message -----
From: <lattera@softhome.net>
> I was wondering how to set the domainname servers option in my dhcpd.conf
> dynamically. Like, it would get edited each time upon bootup, and before
> dhcpd even loads.
If I understand this correctly, you want the DNS server
IP address received from your ISP by dhclient to be propagated
to all your machines on your internal network.
man dhclient-script
Whenever dhclient receives new configuration, it will call
exit-hook. Update your dhcpd.conf at that point and restart
dhcpd.
You do realize you cannot push the new configuration out to
your other machines. They only receive the new configuration
when they renew their lease.
Hope this helps.
---
Samuel Chow
cyschow@shaw.ca
This message is displayed using recycled electrons.
Segmentation Fault (core dumped)
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?019101c2b811$cb3ad320$8142412f>
