Guest User

Untitled

a guest
Jan 28th, 2026
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.39 KB | None | 0 0
  1. server:
  2. interface: 127.0.0.1
  3. port: 5335
  4.  
  5. access-control: 127.0.0.0/8 allow
  6.  
  7. # IPv4 / IPv6-settings
  8. do-ip4: yes
  9. do-udp: yes
  10. do-tcp: yes
  11.  
  12. # Set number of threads to use
  13. num-threads: 2
  14.  
  15. # Hide DNS Server info
  16. hide-identity: yes
  17. hide-version: yes
  18.  
  19. # Limit DNS Fraud and use DNSSEC
  20. harden-glue: yes
  21. harden-dnssec-stripped: yes
  22. harden-referral-path: yes
  23. use-caps-for-id: yes
  24. harden-algo-downgrade: yes
  25. qname-minimisation: yes
  26.  
  27. trust-anchor-file: "/usr/share/dns/root.key"
  28.  
  29. # Add an unwanted reply threshold to clean the cache and avoid when possible a DNS Poisoning
  30. unwanted-reply-threshold: 10000000
  31.  
  32. # Minimum lifetime of cache entries in seconds
  33. cache-min-ttl: 300
  34.  
  35. # Maximum lifetime of cached entries
  36. cache-max-ttl: 28800
  37.  
  38. # Prefetch
  39. prefetch: yes
  40. prefetch-key: yes
  41.  
  42. # Optimisations
  43. msg-cache-slabs: 4
  44. rrset-cache-slabs: 4
  45. infra-cache-slabs: 4
  46. key-cache-slabs: 4
  47.  
  48. serve-expired: yes
  49. serve-expired-ttl: 900
  50.  
  51. # Increase memory size of the cache
  52. rrset-cache-size: 256m
  53. msg-cache-size: 128m
  54.  
  55. # Increase buffer size so that no messages are lost in traffic spikes
  56. so-rcvbuf: 1m
  57.  
  58. # Private addresses
  59. private-address: 192.168.0.0/16
  60. private-address: 169.254.0.0/16
  61. private-address: 172.16.0.0/12
  62. private-address: 10.0.0.0/8
  63. private-address: fd00::/8
  64. private-address: fe80::/10
Advertisement
Add Comment
Please, Sign In to add comment