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.

56 lines
1.6 KiB

  1. options {
  2. directory "/var/cache/bind";
  3. // If there is a firewall between you and nameservers you want
  4. // to talk to, you may need to fix the firewall to allow multiple
  5. // ports to talk. See http://www.kb.cert.org/vuls/id/800113
  6. // If your ISP provided one or more IP addresses for stable
  7. // nameservers, you probably want to use them as forwarders.
  8. // Uncomment the following block, and insert the addresses replacing
  9. // the all-0's placeholder.
  10. // forwarders {
  11. // 0.0.0.0;
  12. // };
  13. //========================================================================
  14. // If BIND logs error messages about the root key being expired,
  15. // you will need to update your keys. See https://www.isc.org/bind-keys
  16. //========================================================================
  17. dnssec-validation auto;
  18. auth-nxdomain no; # conform to RFC1035
  19. // listen-on-v6 { any; };
  20. // allow-recursion yes;
  21. allow-recursion { 127.0.0.1; 172.210/16; 172.18/16; 51.255.66.199;};
  22. allow-recursion-on { any;};
  23. };
  24. logging {
  25. channel warning
  26. {
  27. file "/var/log/bind/dns.warnings.log";
  28. severity warning;
  29. print-category yes;
  30. print-severity yes;
  31. print-time yes;
  32. };
  33. channel general_dns
  34. {
  35. file "/var/log/bind/dns.log";
  36. severity info;
  37. print-category yes;
  38. print-severity yes;
  39. print-time yes;
  40. };
  41. category default { warning; } ;
  42. category queries { general_dns; } ;
  43. };