LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   what's the matter with my dhcpd.conf?! (https://www.linuxquestions.org/questions/linux-networking-3/whats-the-matter-with-my-dhcpd-conf-71497/)

Warchief 07-10-2003 03:56 AM

what's the matter with my dhcpd.conf?!
 
here is the content of my dhcpd.conf in redhat linux 7.3

server-identifier 192.168.10.1;
ddns-update-style ad-hoc;
default-lease-time 10800;
max-lease-time 86400;
option broadcast-address 192.168.10.255;
option domain-name "proxy.cbs.com";
option domain-name-servers 192.168.10.1;
option routers 192.168.10.1;
option subnet-mask 255.255.255.0;
subnet 192.168.10.0 netmask 255.255.255.0{
range dynamic-bootp 192.168.10.10 192.168.10.100;
}
subnet 210.22.94.176 netmask 255.255.255.248{
}


when i run the dhcpd service ,i get a message like this:

/etc/dhcpd.conf line 8:expecting a parameter or declarartion.
ddns-update-style
configuration file error encountered -exiting
exiting.

i don't know why?how can i config the ddns-update?

Looking_Lost 07-10-2003 06:28 AM

Try changing it to

ddns-update-style none;

for the moment see if it works.

dharmender_rai 07-10-2003 06:29 AM

as far as i know, this facility is available from 8.0 onwards. i haven't seen line having ddns-update style in 7.3.

Warchief 07-10-2003 08:26 PM

thank U for your help, i change ddns-update-style ad-hoc;

to ddns-update-style none; ,but the same wrong message appears.

oh,god save me


All times are GMT -5. The time now is 02:38 PM.