summaryrefslogtreecommitdiff
path: root/etc/dns/primary.conf
blob: d9892f0ba2f9d9ad488d9dc2dee6fbc23afaa2ad (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
48
49
options {
	directory "/var/bind";
	pid-file "/var/run/named/named.pid";
};

zone "." IN {
	type hint;
	file "named.ca";
};

zone "randomdan.homeip.net" IN {
	type master;
	file "pri/randomdan.homeip.net.zone";
	also-notify { 192.168.0.2; };
	allow-update { key updatekey; };
};

zone "random.lan" IN {
	type master;
	file "pri/random.lan.zone";
	also-notify { 192.168.0.2; };
	allow-update { key updatekey; };
};

zone "0.168.192.in-addr.arpa" IN {
	type master;
	file "pri/0.168.192.zone";
	also-notify { 192.168.0.2; };
	allow-update { key updatekey; };
};

zone "localhost" IN {
	type master;
	file "pri/localhost.zone";
	allow-update { none; };
	notify no;
};

zone "127.in-addr.arpa" IN {
	type master;
	file "pri/127.zone";
	allow-update { none; };
	notify no;
};

key updatekey {
	algorithm hmac-md5;
	secret "df61eb0aa23833c56751a6c8f579f695";
};