Browse Source

new sample config entries for NSD 4.0.0

OPENBSD_5_5
sthen 11 years ago
parent
commit
0f470246a1
1 changed files with 19 additions and 1 deletions
  1. +19
    -1
      src/etc/nsd.conf

+ 19
- 1
src/etc/nsd.conf View File

@ -1,8 +1,16 @@
# $OpenBSD: nsd.conf,v 1.5 2011/12/15 14:51:46 sobrado Exp $
# $OpenBSD: nsd.conf,v 1.6 2013/11/26 12:54:42 sthen Exp $
server: server:
hide-version: yes hide-version: yes
## bind to a specific address/port
# ip-address: 192.0.2.53
# ip-address: 192.0.2.53@5678
# ip-address: 2001:db8::53
remote-control:
control-enable: yes
## tsig key example ## tsig key example
#key: #key:
# name: "tsig1.example.com." # name: "tsig1.example.com."
@ -22,3 +30,13 @@ server:
# zonefile: "example.net" # zonefile: "example.net"
# allow-notify: 192.0.2.2 tsig1.example.com. # allow-notify: 192.0.2.2 tsig1.example.com.
# request-xfr: 192.0.2.2 tsig1.example.com. # request-xfr: 192.0.2.2 tsig1.example.com.
## dynamically configured zones, used with "nsd-control addzone/delzone".
## filenames are constructed using the pattern: %s - zone name.
## %1 - first character of zone name, %2 second, ## %3 third.
## %z - topleveldomain label of zone, %y, %x next labels in name.
#pattern:
# name: "primary"
# zonefile: "%s.zone"
# notify: 192.0.2.1 NOKEY
# provide-xfr: 192.0.2.1 NOKEY

Loading…
Cancel
Save