DNS setup
Sascha Hartmann
sharty at web.de
Tue May 16 01:13:42 UTC 2006
Hi
I want my DHCP-Clients to obtain the complete network configuration automatically from the DHCP-Server. If I know the IPadresses of the DNS-Servers I may add a line like
option domain-name-servers DNS1, DNS2;
to the dhcpd.conf file and all works fine. But...
I don't know the DNS-Server adresses because they will be obtained automatically by the pppd-daemon on each dial in from my internet service provider. How I have to setup my DHCP-Server to make these obtained DNS-adresses known to the DHCP-Server configuration so they can be obtained by the DHCP-Clients?
Here is my dhcpd.conf
default-lease-time 72000;
max-lease-time 144000;
ddns-update-style ad-hoc;
subnet 192.168.5.0 netmask 255.255.255.0 {
range 192.168.5.10 192.168.5.240;
option broadcast-address 192.168.5.255;
option routers 192.168.5.1;
}
Regards, Sascha
_______________________________________________________________
SMS schreiben mit WEB.DE FreeMail - einfach, schnell und
kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192
More information about the dhcp-users
mailing list