PDA

View Full Version : Isc


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

lkw
27th February 2006, 06:32
Sorry 4 double post

falko
27th February 2006, 09:33
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)

I don't know of such a feature, but I think it's very, very unusual if an ISP changes his name server IP addresses - something like that would cause him to do a lot of support for confused customers, and I don't think he wants to do that.

lkw
28th February 2006, 03:51
Hi Falko,

I will leave it as it is and see it goes. I suppose I could always set up a DNS server, but I am trying to keep it simple as I have limited time to spend on this project.

Thanks