39 lines
818 B
ISCdhcpd
39 lines
818 B
ISCdhcpd
|
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;
|
||
|
secret "<mysecret>";
|
||
|
};
|
||
|
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;
|
||
|
}
|