dhcpd.conf 오류 좀 봐주십시오
리눅스를복구중입니다.
아래는 dhcpd의 파일입니다.
이 파일로 service dhcpd start를 하면 오류가 납니다.
그러나
/usr/share/doc/dhcp-3.0.5/dhcpd.conf.sample 로
service dhcpd start를 하면 ok로 나옵니다.
어디가 잘못되었는지 가르켜 주십시오.
/////////////////////////////////////////////
authoritative;
include "/etc/rndc.key";
# Server configuration:
server-identifier server;
ddns-domainname "test.dyndns.org.";
ddns-rev-domainname "in-addr.arpa.";
ddns-update-style interim;
ddns-updates on;
ignore client-updates;
# This is the communication zone
zone test.dyndns.org. {
primary 127.0.0.1;
key rndckey;
}
default-lease-time 21600; # 6 hours
max-lease-time 43200; # 12 hours
# Client configuration:
option domain-name "test.dyndns.org.";
option ip-forwarding off;
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.100 192.168.0.200;
option routers 192.168.0.1; # default gateway
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.0.255;
option domain-name-servers 192.168.0.1;
zone 0.168.192.in-addr.arpa. {
primary 192.168.0.198;
key rndckey;
}
zone localdomain. {
primary 192.168.0.198;
key rndckey;
}
}
댓글 달기