Advertisement
popcorn9499

unbound config

Sep 7th, 2022
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.63 KB | None | 0 0
  1. ##########################
  2. # Unbound Configuration
  3. ##########################
  4.  
  5. ##
  6. # Server configuration
  7. ##
  8. server:
  9.  
  10. chroot: /var/unbound
  11. username: "unbound"
  12. directory: "/var/unbound"
  13. pidfile: "/var/run/unbound.pid"
  14. use-syslog: yes
  15. port: 53
  16. verbosity: 3
  17. hide-identity: yes
  18. hide-version: yes
  19. harden-glue: yes
  20. do-ip4: yes
  21. do-ip6: yes
  22. do-udp: yes
  23. do-tcp: yes
  24. do-daemonize: yes
  25. module-config: "validator iterator"
  26. unwanted-reply-threshold: 0
  27. num-queries-per-thread: 512
  28. jostle-timeout: 200
  29. infra-host-ttl: 900
  30. infra-cache-numhosts: 5000
  31. outgoing-num-tcp: 10
  32. incoming-num-tcp: 10
  33. edns-buffer-size: 512
  34. cache-max-ttl: 86400
  35. cache-min-ttl: 0
  36. harden-dnssec-stripped: yes
  37. msg-cache-size: 4m
  38. rrset-cache-size: 8m
  39.  
  40. num-threads: 2
  41. msg-cache-slabs: 2
  42. rrset-cache-slabs: 2
  43. infra-cache-slabs: 2
  44. key-cache-slabs: 2
  45. outgoing-range: 4096
  46. #so-rcvbuf: 4m
  47. auto-trust-anchor-file: /var/unbound/root.key
  48. prefetch: no
  49. prefetch-key: no
  50. use-caps-for-id: no
  51. serve-expired: no
  52. aggressive-nsec: no
  53. # Statistics
  54. # Unbound Statistics
  55. statistics-interval: 0
  56. extended-statistics: yes
  57. statistics-cumulative: yes
  58.  
  59. # TLS Configuration
  60. tls-cert-bundle: "/etc/ssl/cert.pem"
  61.  
  62. # Interface IP(s) to bind to
  63. interface-automatic: yes
  64. interface: 0.0.0.0
  65. interface: ::0
  66.  
  67.  
  68. # DNS Rebinding
  69.  
  70.  
  71.  
  72.  
  73. # Access lists
  74. include: /var/unbound/access_lists.conf
  75.  
  76. # Static host entries
  77. include: /var/unbound/host_entries.conf
  78.  
  79. # dhcp lease entries
  80. include: /var/unbound/dhcpleases_entries.conf
  81.  
  82.  
  83.  
  84. # Domain overrides
  85. include: /var/unbound/domainoverrides.conf
  86.  
  87.  
  88.  
  89.  
  90. ###
  91. # Remote Control Config
  92. ###
  93. include: /var/unbound/remotecontrol.conf
  94.  
  95.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement