summaryrefslogtreecommitdiffstats
path: root/named.conf
blob: 7901987dfd1b21785f1d6d44a674a92fff75d550 (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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
// vim: ft=named

options {
	directory "/var/named";
	pid-file "/run/named/named.pid";
	auth-nxdomain yes;
	datasize default;
	listen-on-v6 { any; };
	allow-query-cache { none; };
	allow-query { any; };
	allow-transfer { none; };
	allow-update { none; };
	recursion no;
	version none;
	hostname none;
	server-id none;
	notify no;
	also-notify {178.79.157.58;};
};

zone "localhost" IN {
	type master;
	file "localhost.zone";
	allow-transfer { any; };
};

zone "0.0.127.in-addr.arpa" IN {
	type master;
	file "127.0.0.zone";
	allow-transfer { any; };
};

zone "." IN {
	type hint;
	file "root.hint";
};

zone "kyriasis.com" IN {
	type master;
	file "/home/kyrias/dns/kyriasis.com.zone";
	allow-transfer {
		178.79.157.58; // lucifer
		2a01:7e00::f03c:91ff:fe69:1787; // lucifer
		109.74.205.187; // the-tk.com
		2a01:7e00::f03c:91ff:fe50:9476; // the-tk.com
	};
	notify explicit;

	key-directory "/home/kyrias/dns/keys";

	# publish and activate dnssec keys
	auto-dnssec maintain;

	inline-signing yes;
};

zone "hyperboria.se" {
	type master;
	file "/home/kyrias/dns/hyperboria.se.zone";
	allow-transfer {
		178.79.157.58; // lucifer
		2a01:7e00::f03c:91ff:fe69:1787; // lucifer
	};
	notify explicit;
};

zone "the-tk.com" {
	type slave;
	file "the-tk.com.zone";
	masters {
		109.74.205.187; // the-tk.com
		2a01:7e00::f03c:91ff:fe50:9476; // the-tk.com
	};
};

logging {
	channel xfer-log {
		file "/var/log/named.log";
		print-category yes;
		print-severity yes;
		print-time yes;
		severity info;
	};
	category xfer-in { xfer-log; };
	category xfer-out { xfer-log; };
	category notify { xfer-log; };
};