Guest User

Untitled

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