Advertisement
estevaorada

/etc/bind/named.conf.options

Dec 2nd, 2021
241
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.26 KB | None | 0 0
  1. options {
  2. directory "/var/cache/bind";
  3.  
  4. listen-on { 127.0.0.1; 192.168.1.100; };
  5. listen-on-v6 { ::1; };
  6. allow-query { internals; };
  7. allow-recursion { internals; };
  8. allow-transfer { none; };
  9. version none;
  10. forwarders {
  11. // Cloudflare Public DNS (IPv4)
  12. 1.1.1.1;
  13. 1.0.0.1;
  14. // Cloudflare Public DNS (IPv6)
  15. 2606:4700:4700::1111;
  16. 2606:4700:4700::1001;
  17.  
  18. // Google Public DNS (IPv4)
  19. 8.8.8.8;
  20. 8.8.4.4;
  21. // Google Public DNS (IPv6)
  22. 2001:4860:4860::8888;
  23. 2001:4860:4860::8844;
  24. };
  25.  
  26. //========================================================================
  27. // If BIND logs error messages about the root key being expired,
  28. // you will need to update your keys. See https://www.isc.org/bind-keys
  29. //========================================================================
  30. dnssec-validation auto;
  31.  
  32. auth-nxdomain no; # conform to RFC1035
  33. // listen-on-v6 { any; };
  34. };
  35. acl internals {
  36. 127.0.0.0/8;
  37. ::1/128;
  38. 192.168.5.0/24;
  39. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement