summaryrefslogtreecommitdiff
path: root/etc/dhcp/backup.conf
blob: 36c7772171a51533763c03117092f9d12d2e63ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
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;
default-lease-time 172800;
max-lease-time 172800;
ddns-update-style interim;

failover peer "randomlan" {
	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 "randomlan";
		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;
	}
}