Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # options for the nsd server nsd.conf file
- server:
- ip-address: 192.0.2.10
- ip-address: 2001:DB8::100
- do-ip4: yes
- do-ip6: yes
- port: 53
- username: nsd
- # The directory for zonefile: files. The daemon chdirs here.
- zonesdir: "/etc/nsd"
- # log messages to file. Default to stderr and syslog (with
- # facility LOG_DAEMON). stderr disappears when daemon goes to bg.
- logfile: "/var/log/nsd.log"
- # File to store pid for nsd in.
- pidfile: "/run/nsd/nsd.pid"
- # don't answer VERSION.BIND and VERSION.SERVER CHAOS class queries
- hide-version: yes
- # identify the server (CH TXT ID.SERVER entry).
- identity: "kompella.ssh.com.bd"
- # statistics are produced every number of seconds. Prints to log.
- statistics: 3600
- # Secret keys for TSIGs that secure zone transfers.
- # You could include: "secret.keys" and put the 'key:' statements in there,
- # and give that file special access control permissions.
- #
- key:
- # The key name is sent to the other party, it must be the same
- name: "ssh.com.bd-key"
- # algorithm hmac-md5, or hmac-sha1, or hmac-sha256 (if compiled in)
- algorithm: hmac-md5
- # secret material, must be the same as the other party uses.
- # base64 encoded random number.
- # e.g. dd if=/dev/random of=/dev/stdout count=1 bs=32 | base64
- secret: "N1aqkdyRDOOM01NYt3Vat3v+QmonX8bsNoSdBUyKNB0="
- # Fixed zone entries. Here you can config zones that cannot be deleted.
- # Zones that are dynamically added and deleted are put in the zonelist file.
- #
- zone:
- name: "ssh.com.bd"
- zonefile: "ssh.com.bd.zone"
- notify: 203.0.113.10 ssh.com.bd-key
- provide-xfr: 203.0.113.10 ssh.com.bd-key
- zone:
- name: "113.0.203.in-addr.arpa"
- zonefile: "203.0.113.zone"
- notify: 203.0.113.10 ssh.com.bd-key
- provide-xfr: 203.0.113.10 ssh.com.bd-key
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement