diff options
-rw-r--r-- | etc/dns/dhcpd.conf | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/etc/dns/dhcpd.conf b/etc/dns/dhcpd.conf new file mode 100644 index 0000000..ac9f31e --- /dev/null +++ b/etc/dns/dhcpd.conf @@ -0,0 +1,30 @@ +option domain-name "random.lan"; +option domain-name-servers dns1.random.lan, dns2.random.lan; +option routers gateway.random.lan; +default-lease-time 7200; +max-lease-time 7200; +ddns-update-style interim; + +subnet 192.168.0.0 netmask 255.255.255.0 { + range 192.168.0.100 192.168.0.250; +} + +host defiant { + hardware ethernet 00:30:84:9E:B1:73; + fixed-address 192.168.0.2; +} + +key updatekey { + algorithm hmac-md5; + secret "df61eb0aa23833c56751a6c8f579f695"; +}; + +zone 0.168.192.in-addr.arpa. { + primary dns1.random.lan; + key updatekey; +} +zone random.lan. { + primary dns1.random.lan; + key updatekey; +} + |