unbound.conf 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. server:
  2. verbosity: 1
  3. interface: 0.0.0.0
  4. interface: ::0
  5. logfile: /dev/console
  6. do-ip4: yes
  7. do-ip6: yes
  8. do-udp: yes
  9. do-tcp: yes
  10. do-daemonize: no
  11. #access-control: 0.0.0.0/0 allow
  12. access-control: 10.0.0.0/8 allow
  13. access-control: 172.16.0.0/12 allow
  14. access-control: 192.168.0.0/16 allow
  15. access-control: fc00::/7 allow
  16. access-control: fe80::/10 allow
  17. #access-control: ::0/0 allow
  18. directory: "/etc/unbound"
  19. username: unbound
  20. auto-trust-anchor-file: trusted-key.key
  21. #private-address: 10.0.0.0/8
  22. #private-address: 172.16.0.0/12
  23. #private-address: 192.168.0.0/16
  24. #private-address: 169.254.0.0/16
  25. #private-address: fc00::/7
  26. #private-address: fe80::/10
  27. # cache-min-ttl needs to be less or equal to cache-max-negative-ttl
  28. cache-min-ttl: 5
  29. cache-max-negative-ttl: 60
  30. root-hints: "/etc/unbound/root.hints"
  31. hide-identity: yes
  32. hide-version: yes
  33. max-udp-size: 4096
  34. msg-buffer-size: 65552
  35. unwanted-reply-threshold: 10000
  36. ipsecmod-enabled: no
  37. remote-control:
  38. control-enable: yes
  39. control-interface: 127.0.0.1
  40. control-port: 8953
  41. server-key-file: "/etc/unbound/unbound_server.key"
  42. server-cert-file: "/etc/unbound/unbound_server.pem"
  43. control-key-file: "/etc/unbound/unbound_control.key"
  44. control-cert-file: "/etc/unbound/unbound_control.pem"