/*
ACL's for blackhole and allow recursion
*/
/* local LAN for recursion */
acl Local-Lan {
192.168.1.0/24;
};
/* Blackhole if we get annoyed */
acl We-Dont-Like-You {
none;
};
/* acl for allowing zone transfers */
acl We-Allow-Transfer {
none;
};
options {
directory "/var/cache/bind";
dump-file "/var/cache/bind/cache_dump.db";
statistics-file "/var/cache/bind/named_stats.txt";
version "Server Version Is Not Your Concern";
allow-transfer { We-Allow-Transfer; };
listen-on { 192.168.1.102; };
allow-recursion { Local-Lan; }; // We dont want an open recursive server
blackhole { We-Dont-Like-You; }; // For anyone that decides to be annoying
query-source address * port 53;
auth-nxdomain yes;
};
logging{
channel named_log{
file "/var/log/named.log" versions 3 size 2m;
severity info;
print-severity yes;
print-time yes;
print-category yes;
};
category default{
named_log;
};
};