2022-07-15 12:23:09 +02:00
|
|
|
option domain-name "mydomain.com";
|
|
|
|
option domain-name-servers 10.199.200.1;
|
|
|
|
|
|
|
|
default-lease-time 600;
|
|
|
|
max-lease-time 7200;
|
|
|
|
|
|
|
|
ddns-update-style standard;
|
|
|
|
update-static-leases on;
|
|
|
|
authoritative;
|
|
|
|
key "rndc-key" {
|
|
|
|
algorithm hmac-sha256;
|
2022-07-15 12:26:06 +02:00
|
|
|
secret "<thesecret>";
|
2022-07-15 12:23:09 +02:00
|
|
|
};
|
|
|
|
allow unknown-clients;
|
|
|
|
use-host-decl-names on;
|
|
|
|
|
|
|
|
zone mydomain.com. {
|
|
|
|
primary 10.199.200.1;
|
|
|
|
key rndc-key;
|
|
|
|
}
|
|
|
|
zone 200.199.10.in-addr.arpa. {
|
|
|
|
primary 10.199.200.1;
|
|
|
|
key rndc-key;
|
|
|
|
}
|
|
|
|
|
|
|
|
subnet 10.199.200.0 netmask 255.255.255.0 {
|
|
|
|
range 10.199.200.100 10.199.200.254;
|
|
|
|
option subnet-mask 255.255.255.0;
|
|
|
|
option routers 10.199.200.1;
|
|
|
|
option domain-name "mydomain.com";
|
|
|
|
ddns-domainname "mydomain.com.";
|
|
|
|
ddns-rev-domainname "in-addr.arpa.";
|
|
|
|
}
|
|
|
|
|
|
|
|
host example {
|
|
|
|
hardware ethernet 52:54:00:de:ad:af;
|
|
|
|
fixed-address 10.199.200.27;
|
|
|
|
}
|