diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2014-12-11 14:30:43 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2014-12-11 14:30:43 +0000 |
commit | c229e72929f80a64c30810e279d8904b8b33456e (patch) | |
tree | 71d16215bfb8984ee5e2da893041912e3ebdd711 /etc/dhcp/backup.conf | |
parent | Move dhcp into its own folder (diff) | |
download | config-c229e72929f80a64c30810e279d8904b8b33456e.tar.bz2 config-c229e72929f80a64c30810e279d8904b8b33456e.tar.xz config-c229e72929f80a64c30810e279d8904b8b33456e.zip |
Big refresh
Diffstat (limited to 'etc/dhcp/backup.conf')
-rw-r--r-- | etc/dhcp/backup.conf | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/etc/dhcp/backup.conf b/etc/dhcp/backup.conf new file mode 100644 index 0000000..6d543aa --- /dev/null +++ b/etc/dhcp/backup.conf @@ -0,0 +1,47 @@ +option domain-name "random.lan"; +option domain-name-servers 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; +default-lease-time 172800; +max-lease-time 172800; +ddns-update-style interim; + +failover peer "foo" { + secondary; + address defiant.random.lan; + port 519; + peer address firebrand.random.lan; + peer port 519; + max-response-delay 60; + max-unacked-updates 10; + mclt 3600; + load balance max seconds 3; +} + +host ps3 { + hardware ethernet 00:1d:0d:f8:a5:80; + fixed-address 10.10.0.4; + option domain-name-servers 8.8.8.8, 8.8.4.4; +} + +subnet 10.10.0.0 netmask 255.255.255.0 { + pool { + failover peer "foo"; + range 10.10.0.128 10.10.0.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; + } +} |