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.

55 lines
1.6 KiB

  1. # $OpenBSD: unbound.conf,v 1.5 2015/07/19 17:29:42 sthen Exp $
  2. server:
  3. interface: 127.0.0.1
  4. #interface: 127.0.0.1@5353 # listen on alternative port
  5. interface: ::1
  6. #do-ip6: no
  7. access-control: 0.0.0.0/0 refuse
  8. access-control: 127.0.0.0/8 allow
  9. access-control: ::0/0 refuse
  10. access-control: ::1 allow
  11. hide-identity: yes
  12. hide-version: yes
  13. # Uncomment to enable DNSSEC validation.
  14. #
  15. #auto-trust-anchor-file: "/var/unbound/db/root.key"
  16. # Serve zones authoritatively from Unbound to resolver clients.
  17. # Not for external service.
  18. #
  19. #local-zone: "local." static
  20. #local-data: "mycomputer.local. IN A 192.0.2.51"
  21. #local-zone: "2.0.192.in-addr.arpa." static
  22. #local-data-ptr: "192.0.2.51 mycomputer.local"
  23. # UDP EDNS reassembly buffer advertised to peers. Default 4096.
  24. # May need lowering on broken networks with fragmentation/MTU issues,
  25. # particularly if validating DNSSEC.
  26. #
  27. #edns-buffer-size: 1480
  28. # Use TCP for "forward-zone" requests. Useful if you are making
  29. # DNS requests over an SSH port forwarding.
  30. #
  31. #tcp-upstream: yes
  32. remote-control:
  33. control-enable: yes
  34. control-use-cert: no
  35. control-interface: /var/run/unbound.sock
  36. # Use an upstream forwarder (recursive resolver) for specific zones.
  37. # Example addresses given below are public resolvers valid as of 2014/03.
  38. #
  39. #forward-zone:
  40. # name: "." # use for ALL queries
  41. # forward-addr: 74.82.42.42 # he.net
  42. # forward-addr: 2001:470:20::2 # he.net v6
  43. # forward-addr: 8.8.8.8 # google.com
  44. # forward-addr: 2001:4860:4860::8888 # google.com v6
  45. # forward-addr: 208.67.222.222 # opendns.com
  46. # forward-first: yes # try direct if forwarder fails