ddns-update-style interim;
ignore client-updates;
subnet 192.168.0.1 netmask 255.255.255.0 {
option routers 192.168.0.1;
option subnet-mask 255.255.255.0;
option broadcast-address 192.168.0.255;
option domain-name-servers 192.168.0.1,202.106.0.20,202.106.148.1; #ISP 的dns服务器IP地址#
option time-offset -18000;
range dynamic-bootp 192.168.0.2 192.168.0.254; #不要把192.168.0.1和192.168.0.255放在动态获取ip范围内#
default-lease-time 21600;
max-lease-time 43200;
host ns {
hardware ethernet 52:54:AB:34:5B:09;#运行DHCP的网络接口的MAC地址#
fixed-address 192.168.1.9;
}
}