// // /etc/named.conf // options { directory "/var/named"; pid-file "/run/named/named.pid"; auth-nxdomain no; datasize default; listen-on-v6 { ::1; }; listen-on { 127.0.0.1; }; edns-udp-size 1024; dnssec-enable yes; dnssec-validation yes; //dnssec-lookaside "." trust-anchor "dlv.isc.org."; // dnssec-lookaside auto; //uses built-in key max-ncache-ttl 3; // Default security settings. allow-recursion { 127.0.0.1; }; allow-transfer { none; }; allow-update { none; }; version none; hostname none; server-id none; include "resolvconf-options.conf"; }; include "resolvconf-zones.conf"; trusted-keys { dlv.isc.org. 257 3 5 "BEAAAAPHMu/5onzrEE7z1egmhg/WPO0+juoZrW3euWEn4MxDCE1+lLy2 brhQv5rN32RKtMzX6Mj70jdzeND4XknW58dnJNPCxn8+jAGl2FZLK8t+ 1uq4W+nnA3qO2+DL+k6BD4mewMLbIYFwe0PG73Te9fZ2kJb56dhgMde5 ymX4BI/oQ+cAK50/xvJv00Frf8kw6ucMTwFlgPe+jnGxPPEmHAte/URk Y62ZfkLoBAADLHQ9IrS2tryAe7mbBZVcOwIeU/Rw/mRx/vwwMCTgNboM QKtUdvNXDrYJDSHZws3xiRXF1Rf+al9UmZfSav/4NWLKjHzpT59k/VSt TDN0YUuWrBNh"; // file "/etc/trusted-key.key"; }; zone "localhost" IN { type master; file "localhost.zone"; allow-transfer { any; }; }; zone "0.0.127.in-addr.arpa" IN { type master; file "127.0.0.zone"; allow-transfer { any; }; }; zone "." IN { type hint; file "root.hint"; }; //zone "example.org" IN { // type slave; // file "example.zone"; // masters { // 192.168.1.100; // }; // allow-query { any; }; // allow-transfer { any; }; //}; logging { channel xfer-log { //file "/var/log/named.log"; syslog; print-category yes; print-severity yes; print-time yes; severity info; }; category xfer-in { xfer-log; }; category xfer-out { xfer-log; }; category notify { xfer-log; }; };