Create dhcpd6.conf

This commit is contained in:
Reed McIntosh 2021-04-20 00:38:36 -04:00 committed by GitHub
parent 4c3a8fec42
commit 24447b64f9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,31 @@
option domain-name "example.com";
option ldap-server code 95 = text;
option domain-search-list code 119 = text;
default-lease-time 7200;
max-lease-time 86400;
log-facility local7;
one-lease-per-client true;
deny duplicates;
ping-check true;
authoritative;
subnet6 2600:1234:5678:90ab::/64 {
range6 2600:1234:5678:90ab::1000 2600:1234:5678:90ab::2000;
do-forward-updates false;
option dhcp6.name-servers 2600:1234:5678:90ab::1;
}
ddns-update-style interim;
ddns-dual-stack-mixed-mode true;
update-conflict-detection true;
update-optimization false;
deny client-updates;
ddns-domainname "example.com.";
ddns-hostname=pick(option fqdn.hostname, concat("dyn-",binary-to-ascii(16,16,"-",substring(option dhcp6.ia-na, 16, 16))));
zone example.com. {
primary 127.0.0.1;
}