Annotation of src/etc/nsd.conf, Revision 1.13
1.13 ! florian 1: # $OpenBSD: nsd.conf,v 1.12 2018/05/18 05:15:33 florian Exp $
1.1 jakob 2:
3: server:
4: hide-version: yes
1.10 millert 5: verbosity: 1
1.9 florian 6: database: "" # disable database
1.1 jakob 7:
1.6 sthen 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
1.12 florian 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
1.6 sthen 19:
20: remote-control:
21: control-enable: yes
1.13 ! florian 22: control-interface: /var/run/nsd.sock
1.6 sthen 23:
1.1 jakob 24: ## tsig key example
25: #key:
1.5 sobrado 26: # name: "tsig1.example.com."
1.1 jakob 27: # algorithm: hmac-sha256
1.4 jakob 28: # secret: "bWVrbWl0YXNkaWdvYXQ="
1.1 jakob 29:
30: ## master zone example
31: #zone:
32: # name: "example.com"
1.11 sthen 33: # zonefile: "master/example.com"
1.1 jakob 34: # notify: 192.0.2.1 NOKEY
35: # provide-xfr: 192.0.2.1 NOKEY
36:
37: ## slave zone example
38: #zone:
39: # name: "example.net"
1.11 sthen 40: # zonefile: "slave/example.net"
1.5 sobrado 41: # allow-notify: 192.0.2.2 tsig1.example.com.
42: # request-xfr: 192.0.2.2 tsig1.example.com.
1.6 sthen 43:
44: ## dynamically configured zones, used with "nsd-control addzone/delzone".
45: ## filenames are constructed using the pattern: %s - zone name.
46: ## %1 - first character of zone name, %2 second, ## %3 third.
47: ## %z - topleveldomain label of zone, %y, %x next labels in name.
48: #pattern:
1.11 sthen 49: # name: "master"
50: # zonefile: "master/%s.zone"
1.6 sthen 51: # notify: 192.0.2.1 NOKEY
52: # provide-xfr: 192.0.2.1 NOKEY