summaryrefslogtreecommitdiff
path: root/etc/dns/dhcpd.conf
blob: ac9f31e53e81c07f79be77fec4380d4c004ed538 (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
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;
}