mirror of https://github.com/MonkWho/pfatt.git
Update dhcpd.conf
This commit is contained in:
parent
82e565cabd
commit
a4388312ab
|
@ -12,14 +12,12 @@ update-conflict-detection false;
|
|||
authoritative;
|
||||
subnet 192.168.1.0 netmask 255.255.255.0 {
|
||||
pool {
|
||||
option domain-name-servers 192.168.1.1;
|
||||
range 192.168.177.100 192.168.177.199;
|
||||
}
|
||||
|
||||
option routers 192.168.177.1;
|
||||
option domain-name-servers 192.168.1.1,192.168.1.1;
|
||||
option domain-name-servers 192.168.1.1;
|
||||
ping-check true;
|
||||
option ntp-servers 192.168.1.1;
|
||||
|
||||
}
|
||||
host s_lan_0 {
|
||||
|
@ -31,4 +29,16 @@ host s_lan_1 {
|
|||
hardware ethernet 66:77:88:99:aa:bb;
|
||||
fixed-address 192.168.1.51;
|
||||
option host-name "example-host2";
|
||||
}
|
||||
}
|
||||
|
||||
ddns-update-style interim;
|
||||
ddns-dual-stack-mixed-mode true;
|
||||
update-conflict-detection true;
|
||||
update-optimization false;
|
||||
deny client-updates;
|
||||
ddns-domainname "localdomain.com.";
|
||||
ddns-hostname=pick(option fqdn.hostname, option host-name, concat("dyn-",binary-to-ascii(10,8,"-",leased-address)));
|
||||
|
||||
zone localdomain.com. {
|
||||
primary 127.0.0.1;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue