Update dhcpd.conf

This commit is contained in:
Reed McIntosh 2021-04-20 00:34:34 -04:00 committed by GitHub
parent 82e565cabd
commit a4388312ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 4 deletions

View File

@ -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;
}