You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

39 lines
1.0 KiB

  1. acl "trusted" {
  2. localhost;
  3. 192.168.1.2;
  4. 192.168.2.2;
  5. 192.168.3.2;
  6. };
  7. options {
  8. directory "/var/cache/bind";
  9. recursion yes;
  10. listen-on { any; };
  11. allow-query { any; };
  12. allow-recursion { trusted; };
  13. allow-query-cache { trusted; };
  14. // If there is a firewall between you and nameservers you want
  15. // to talk to, you may need to fix the firewall to allow multiple
  16. // ports to talk. See http://www.kb.cert.org/vuls/id/800113
  17. // If your ISP provided one or more IP addresses for stable
  18. // nameservers, you probably want to use them as forwarders.
  19. // Uncomment the following block, and insert the addresses replacing
  20. // the all-0's placeholder.
  21. // forwarders {
  22. // 0.0.0.0;
  23. // };
  24. //========================================================================
  25. // If BIND logs error messages about the root key being expired,
  26. // you will need to update your keys. See https://www.isc.org/bind-keys
  27. //========================================================================
  28. dnssec-validation auto;
  29. listen-on-v6 { any; };
  30. };