nsd.conf revision 1.12
1# $OpenBSD: nsd.conf,v 1.12 2018/05/18 05:15:33 florian Exp $
2
3server:
4	hide-version: yes
5	verbosity: 1
6	database: "" # disable database
7
8## bind to a specific address/port
9#	ip-address: 192.0.2.53
10#	ip-address: 192.0.2.53@5678
11#	ip-address: 2001:db8::53
12
13## make packets as small as possible, on by default
14#	minimal-responses: yes
15
16## respond with truncation for ANY queries over UDP and allow ANY over TCP,
17## on by default
18#	refuse-any: yes
19
20remote-control:
21	control-enable: yes
22
23## tsig key example
24#key:
25#	name: "tsig1.example.com."
26#	algorithm: hmac-sha256
27#	secret: "bWVrbWl0YXNkaWdvYXQ="
28
29## master zone example
30#zone:
31#	name: "example.com"
32#	zonefile: "master/example.com"
33#	notify: 192.0.2.1 NOKEY
34#	provide-xfr: 192.0.2.1 NOKEY
35
36## slave zone example
37#zone:
38#	name: "example.net"
39#	zonefile: "slave/example.net"
40#	allow-notify: 192.0.2.2 tsig1.example.com.
41#	request-xfr: 192.0.2.2 tsig1.example.com.
42
43## dynamically configured zones, used with "nsd-control addzone/delzone".
44## filenames are constructed using the pattern: %s - zone name.
45## %1 - first character of zone name, %2 second, ## %3 third.
46## %z - topleveldomain label of zone, %y, %x next labels in name.
47#pattern:
48#	name: "master"
49#	zonefile: "master/%s.zone"
50#	notify: 192.0.2.1 NOKEY
51#	provide-xfr: 192.0.2.1 NOKEY
52