Create dhcpd6.conf
This commit is contained in:
parent
4c3a8fec42
commit
24447b64f9
1 changed files with 31 additions and 0 deletions
31
FreeBSD/usr/local/etc/dhcpd6.conf
Normal file
31
FreeBSD/usr/local/etc/dhcpd6.conf
Normal 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;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue