mirror of https://github.com/MonkWho/pfatt.git
Create dhcpd6.conf
This commit is contained in:
parent
4c3a8fec42
commit
24447b64f9
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue