Source code pulled from OpenBSD for OpenNTPD. The place to contribute to this code is via the OpenBSD CVS tree.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

52 lines
1.3 KiB

  1. # $OpenBSD: nsd.conf,v 1.13 2018/08/16 17:59:12 florian Exp $
  2. server:
  3. hide-version: yes
  4. verbosity: 1
  5. database: "" # disable database
  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. ## make packets as small as possible, on by default
  11. # minimal-responses: yes
  12. ## respond with truncation for ANY queries over UDP and allow ANY over TCP,
  13. ## on by default
  14. # refuse-any: yes
  15. remote-control:
  16. control-enable: yes
  17. control-interface: /var/run/nsd.sock
  18. ## tsig key example
  19. #key:
  20. # name: "tsig1.example.com."
  21. # algorithm: hmac-sha256
  22. # secret: "bWVrbWl0YXNkaWdvYXQ="
  23. ## master zone example
  24. #zone:
  25. # name: "example.com"
  26. # zonefile: "master/example.com"
  27. # notify: 192.0.2.1 NOKEY
  28. # provide-xfr: 192.0.2.1 NOKEY
  29. ## slave zone example
  30. #zone:
  31. # name: "example.net"
  32. # zonefile: "slave/example.net"
  33. # allow-notify: 192.0.2.2 tsig1.example.com.
  34. # request-xfr: 192.0.2.2 tsig1.example.com.
  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: "master"
  41. # zonefile: "master/%s.zone"
  42. # notify: 192.0.2.1 NOKEY
  43. # provide-xfr: 192.0.2.1 NOKEY