Annotation of src/etc/nsd.conf, Revision 1.9
1.9 ! florian 1: # $OpenBSD: nsd.conf,v 1.8 2014/07/11 21:40:31 deraadt Exp $
1.1 jakob 2:
3: server:
4: hide-version: yes
1.9 ! florian 5: database: "" # disable database
1.1 jakob 6:
1.6 sthen 7: ## bind to a specific address/port
8: # ip-address: 192.0.2.53
9: # ip-address: 192.0.2.53@5678
10: # ip-address: 2001:db8::53
11:
12: remote-control:
13: control-enable: yes
14:
1.1 jakob 15: ## tsig key example
16: #key:
1.5 sobrado 17: # name: "tsig1.example.com."
1.1 jakob 18: # algorithm: hmac-sha256
1.4 jakob 19: # secret: "bWVrbWl0YXNkaWdvYXQ="
1.1 jakob 20:
21: ## master zone example
22: #zone:
23: # name: "example.com"
24: # zonefile: "example.com"
25: # notify: 192.0.2.1 NOKEY
26: # provide-xfr: 192.0.2.1 NOKEY
27:
28: ## slave zone example
29: #zone:
30: # name: "example.net"
31: # zonefile: "example.net"
1.5 sobrado 32: # allow-notify: 192.0.2.2 tsig1.example.com.
33: # request-xfr: 192.0.2.2 tsig1.example.com.
1.6 sthen 34:
35: ## dynamically configured zones, used with "nsd-control addzone/delzone".
36: ## filenames are constructed using the pattern: %s - zone name.
37: ## %1 - first character of zone name, %2 second, ## %3 third.
38: ## %z - topleveldomain label of zone, %y, %x next labels in name.
39: #pattern:
40: # name: "primary"
41: # zonefile: "%s.zone"
42: # notify: 192.0.2.1 NOKEY
43: # provide-xfr: 192.0.2.1 NOKEY