fork 0k-charms
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.

52 lines
1.5 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 { ::1; };
  20. listen-on { %%EXTERNAL_IP%%; };
  21. // allow-recursion { 127.0.0.1; };
  22. };
  23. logging {
  24. channel warning
  25. {
  26. file "/var/log/named/dns.warnings.log";
  27. severity warning;
  28. print-category yes;
  29. print-severity yes;
  30. print-time yes;
  31. };
  32. channel general_dns
  33. {
  34. file "/var/log/named/dns.log";
  35. severity info;
  36. print-category yes;
  37. print-severity yes;
  38. print-time yes;
  39. };
  40. category default { warning; } ;
  41. category queries { general_dns; } ;
  42. };