named.conf.options 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. //
  2. // Bind options (Salt managed)
  3. //
  4. options {
  5. directory "/var/cache/bind";
  6. // If there is a firewall between you and nameservers you want
  7. // to talk to, you may need to fix the firewall to allow multiple
  8. // ports to talk. See http://www.kb.cert.org/vuls/id/800113
  9. // If your ISP provided one or more IP addresses for stable
  10. // nameservers, you probably want to use them as forwarders.
  11. // Uncomment the following block, and insert the addresses replacing
  12. // the all-0's placeholder.
  13. // forwarders {
  14. // 0.0.0.0;
  15. // };
  16. //========================================================================
  17. // If BIND logs error messages about the root key being expired,
  18. // you will need to update your keys. See https://www.isc.org/bind-keys
  19. //========================================================================
  20. // Disable DNSSEC validation as it will FAIL for all ffXY domains which will
  21. // render them unuseable. As bind can only be run in all-on or all-off mode
  22. // this seems to be our only chance for now :-(
  23. dnssec-validation no;
  24. auth-nxdomain no; # conform to RFC1035
  25. listen-on-v6 { any; };
  26. allow-recursion {
  27. 127.0.0.0/8;
  28. ::1/128;
  29. };
  30. version "Freifunk Hochstift DNS";
  31. use-v4-udp-ports { range 1024 65535; };
  32. use-v6-udp-ports { range 1024 65535; };
  33. };
  34. // Allow scraping by bind-exporter
  35. statistics-channels {
  36. inet 127.0.0.1 port 8053 allow { 127.0.0.1; };
  37. };