Advertisement
Guest User

nsd.conf

a guest
Oct 30th, 2016
438
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.76 KB | None | 0 0
  1. # options for the nsd server nsd.conf file
  2. server:
  3.     ip-address: 192.0.2.10
  4.     ip-address: 2001:DB8::100
  5.  
  6.     do-ip4: yes
  7.     do-ip6: yes
  8.     port: 53
  9.  
  10.     username: nsd
  11.  
  12.     # The directory for zonefile: files.  The daemon chdirs here.
  13.     zonesdir: "/etc/nsd"
  14.  
  15.     # log messages to file. Default to stderr and syslog (with
  16.     # facility LOG_DAEMON).  stderr disappears when daemon goes to bg.
  17.     logfile: "/var/log/nsd.log"
  18.  
  19.     # File to store pid for nsd in.
  20.     pidfile: "/run/nsd/nsd.pid"
  21.  
  22.     # don't answer VERSION.BIND and VERSION.SERVER CHAOS class queries
  23.     hide-version: yes
  24.  
  25.     # identify the server (CH TXT ID.SERVER entry).
  26.     identity: "kompella.ssh.com.bd"
  27.  
  28.     # statistics are produced every number of seconds. Prints to log.
  29.     statistics: 3600
  30.  
  31. # Secret keys for TSIGs that secure zone transfers.
  32. # You could include: "secret.keys" and put the 'key:' statements in there,
  33. # and give that file special access control permissions.
  34. #
  35. key:
  36.     # The key name is sent to the other party, it must be the same
  37.     name: "ssh.com.bd-key"
  38.     # algorithm hmac-md5, or hmac-sha1, or hmac-sha256 (if compiled in)
  39.     algorithm: hmac-md5
  40.     # secret material, must be the same as the other party uses.
  41.     # base64 encoded random number.
  42.     # e.g. dd if=/dev/random of=/dev/stdout count=1 bs=32 | base64
  43.     secret: "N1aqkdyRDOOM01NYt3Vat3v+QmonX8bsNoSdBUyKNB0="
  44.  
  45. # Fixed zone entries.  Here you can config zones that cannot be deleted.
  46. # Zones that are dynamically added and deleted are put in the zonelist file.
  47. #
  48. zone:
  49.     name: "ssh.com.bd"
  50.     zonefile: "ssh.com.bd.zone"
  51.     notify: 203.0.113.10 ssh.com.bd-key
  52.     provide-xfr: 203.0.113.10 ssh.com.bd-key
  53.  
  54. zone:
  55.     name: "113.0.203.in-addr.arpa"
  56.     zonefile: "203.0.113.zone"
  57.         notify: 203.0.113.10 ssh.com.bd-key
  58.         provide-xfr: 203.0.113.10 ssh.com.bd-key
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement