named.conf 512 B

1234567891011121314151617181920212223
  1. options {
  2. directory "/var/bind";
  3. listen-on { 127.0.0.1; };
  4. listen-on-v6 { none; };
  5. allow-transfer {
  6. none;
  7. };
  8. // If you have problems and are behind a firewall:
  9. query-source address * port 53;
  10. pid-file "/var/run/named/named.pid";
  11. allow-recursion { none; };
  12. recursion no;
  13. };
  14. zone "etcd.local" IN {
  15. type master;
  16. file "/etc/bind/etcd.zone";
  17. };
  18. zone "0.0.127.in-addr.arpa" {
  19. type master;
  20. file "/etc/bind/rdns.zone";
  21. };