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