lkw
27th February 2006, 04:33
My first post here, so Gidday All:
I am running Fedora 4 as a dhcp server with the following config:
eth0 - WAN (Settings from ISP via DHCP)
eth1 - LAN (Static IP 192.168.0.1)
Currenty in my dhcpd.conf file I have the following line:
option domain-name-servers 144.140.70.30, 144.140.71.16;
The IP's of the nameservers here are the ones my ISP sends to eth0 via dhcp, which I have entered manually.
Is there a way to get this dynamically updated from the settings my isp sends to eth0? (ie:If my isp changes its dns server IP's I want all my lan clients to also get updated with the new dns server ips, without me changing this manually in the dchpd.conf file)
Here is a listing of my dhcp.conf file:
ddns-update-style none;
#
# DHCP Server Configuration file.
# see /usr/share/doc/dhcp*/dhcpd.conf.sample
ption domain-name-servers 144.140.70.30, 144.140.71.16;
#
# Lan
subnet 192.168.0.0 netmask 255.255.0.0 {
option netbios-name-servers 192.168.0.1;
option routers 192.168.0.1;
option domain-name-servers 144.140.70.30, 144.140.71.16;
range 192.168.0.100 192.168.0.140;
}
Any help greatly appreciated
Thanks
I am running Fedora 4 as a dhcp server with the following config:
eth0 - WAN (Settings from ISP via DHCP)
eth1 - LAN (Static IP 192.168.0.1)
Currenty in my dhcpd.conf file I have the following line:
option domain-name-servers 144.140.70.30, 144.140.71.16;
The IP's of the nameservers here are the ones my ISP sends to eth0 via dhcp, which I have entered manually.
Is there a way to get this dynamically updated from the settings my isp sends to eth0? (ie:If my isp changes its dns server IP's I want all my lan clients to also get updated with the new dns server ips, without me changing this manually in the dchpd.conf file)
Here is a listing of my dhcp.conf file:
ddns-update-style none;
#
# DHCP Server Configuration file.
# see /usr/share/doc/dhcp*/dhcpd.conf.sample
ption domain-name-servers 144.140.70.30, 144.140.71.16;
#
# Lan
subnet 192.168.0.0 netmask 255.255.0.0 {
option netbios-name-servers 192.168.0.1;
option routers 192.168.0.1;
option domain-name-servers 144.140.70.30, 144.140.71.16;
range 192.168.0.100 192.168.0.140;
}
Any help greatly appreciated
Thanks