DHCPD config



I use dhcp client to get the info needed from my ISP at boot time.
I also run dhcpd for issuing ip address to my LAN.

In the dhcpd.conf file I have option statement for the
ISP's dns ip address like this:

option domain-name-servers xx.168.xxx.6, xx.168.xxx.7;

the xx are just for this post.

How can I change this so dhcpd will automatically use the
dns ip address the dhcp client gets so when the ISP changes
the ip address of the dns to use the change will also effect dhcpd?

_______________________________________________
freebsd-questions@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • Re: DHCPD config
    ... Your saying that dhcp client has no built in way to ... communicate to dhcpd the dns ip address it receives ... dhclient-script code at the point where it determines the ... new dns ip address info, by adding code to parse into ...
    (freebsd-questions)
  • RE: DHCPD config
    ... Your saying that dhcp client has no built in way to ... communicate to dhcpd the dns ip address it receives ... new dns ip address info, by adding code to parse into ... Well I looked at that script code and it's way above my ...
    (freebsd-questions)
  • Re: DHCPD config
    ... I also run dhcpd for issuing ip address to my LAN. ... In the dhcpd.conf file I have option statement for ... dns ip address the dhcp client gets so when the ISP ...
    (freebsd-questions)
  • Re: resolv.conf
    ... ]be over-written the moment that DHCP gets the info from ... ]the ISP. ... ]a dhcp client, then you will probably want to edit ... ]> set the IP address and the DNS? ...
    (comp.os.linux.networking)
  • RE: Getting DHCP to use resolv.conf?
    ... # This script will propagate to dhcpd the changed dns servers ip ... # and restart dhcp to reread dhcpd.conf containing new ISP dns ip ...
    (freebsd-questions)