Initial commit
This commit is contained in:
commit
8707c06d7a
8 changed files with 119 additions and 0 deletions
38
etc/dhcp/dhcpd.conf
Normal file
38
etc/dhcp/dhcpd.conf
Normal file
|
@ -0,0 +1,38 @@
|
|||
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;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue