summaryrefslogtreecommitdiff
path: root/net-dns/bind/files/named.conf.auth
blob: 373a77b96018eed8e97a8dec9869d54b2da040de (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
//http local {
//	endpoints { "/dns-query"; };
//};

options {
	directory "/var/cache/bind";
	pid-file "/run/named/named.pid";

	listen-on { 127.0.0.1; };
	listen-on-v6 { ::1; };
	// dns-over-tls
	listen-on port 853 tls ephemeral { 127.0.0.1; };
	listen-on-v6 port 853 tls ephemeral { ::1; };
	// dns-over-https
	//listen-on port 443 tls ephemeral http local { 127.0.0.1; };
	//listen-on-v6 port 443 tls ephemeral http local { ::1; };

	allow-recursion {
		none;
	};
	allow-transfer {
		none;
	};
	allow-update {
		none;
	};
};

zone "example.com." {
	type primary;
	file "/var/bind/pri/db.example.com";
	notify explicit;
};