simple named.conf for a caching nameserver on Slackware-current

You can control which networks/IPs can recursively access this nameserver by 'tweaking' the 'localnet' and 'remote-rec' ACLs

// /etc/named.conf
acl     localnet { 192.168.2.0/24; 127.0.0.1; };
acl     remote-rec { 1.2.3.4; };
options {
    directory "/var/named";
    /*
     * If there is a firewall between you and ...
moreā€¦