summaryrefslogtreecommitdiff
path: root/etc/dhcp/primary.conf
diff options
context:
space:
mode:
Diffstat (limited to 'etc/dhcp/primary.conf')
-rw-r--r--etc/dhcp/primary.conf37
1 files changed, 2 insertions, 35 deletions
diff --git a/etc/dhcp/primary.conf b/etc/dhcp/primary.conf
index 8769ee1..ce316f7 100644
--- a/etc/dhcp/primary.conf
+++ b/etc/dhcp/primary.conf
@@ -1,12 +1,4 @@
-option domain-name "random.lan";
-option domain-name-servers virtualip.random.lan, dns1.random.lan, dns2.random.lan;
-option ntp-servers firebrand.random.lan, defiant.random.lan;
-option smtp-server smtp.random.lan;
-option routers gateway.random.lan;
-option local-proxy-config code 252 = text;
-default-lease-time 172800;
-max-lease-time 172800;
-ddns-update-style interim;
+include "/etc/dhcp/common.conf";
failover peer "randomlan" {
primary;
@@ -21,29 +13,4 @@ failover peer "randomlan" {
load balance max seconds 3;
}
-host ps3 {
- hardware ethernet 00:1d:0d:f8:a5:80;
- option domain-name-servers 8.8.8.8, 8.8.4.4;
-}
-
-subnet 10.10.0.0 netmask 255.255.0.0 {
- pool {
- failover peer "randomlan";
- range 10.10.1.1 10.10.1.254;
- }
-
- key updatekey {
- algorithm hmac-md5;
- secret "df61eb0aa23833c56751a6c8f579f695";
- }
-
- zone 10.10.in-addr.arpa {
- primary dns1.random.lan;
- key updatekey;
- }
- zone random.lan {
- primary dns1.random.lan;
- key updatekey;
- }
- option local-proxy-config "http://wpad.random.lan/wpad.dat";
-}
+include "/etc/dhcp/network.conf";