From 65798c7b65ed9778b580e4af5b6d885214f2fd37 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Thu, 11 Dec 2014 14:28:21 +0000 Subject: Move dhcp into its own folder --- etc/dhcp/primary.conf | 30 ++++++++++++++++++++++++++++++ etc/dns/dhcpd.conf | 30 ------------------------------ 2 files changed, 30 insertions(+), 30 deletions(-) create mode 100644 etc/dhcp/primary.conf delete mode 100644 etc/dns/dhcpd.conf (limited to 'etc') diff --git a/etc/dhcp/primary.conf b/etc/dhcp/primary.conf new file mode 100644 index 0000000..ac9f31e --- /dev/null +++ b/etc/dhcp/primary.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; +} + diff --git a/etc/dns/dhcpd.conf b/etc/dns/dhcpd.conf deleted file mode 100644 index ac9f31e..0000000 --- a/etc/dns/dhcpd.conf +++ /dev/null @@ -1,30 +0,0 @@ -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; -} - -- cgit v1.2.3