DNS

From Christoph's Personal Wiki
Revision as of 20:34, 7 May 2014 by Christoph (Talk | contribs) (Caching-only DNS servers)

Jump to: navigation, search

Caching-only DNS servers

This section will only cover using BIND to configure a caching-only DNS server.

$ yum install -y bind
$ cat /etc/named.conf
listen-on port 53 { any; };
listen-on-v6 port 53 { any; };
allow-query     { 192.168.0.0/24; };
forwarders      { 192.168.0.254; };
dnssec-validation no; # if on a private network
$ service named start
$ chkconfig named on # make it persistent
$ ls /var/named/
$ ls /usr/share/doc/bind-9.8.2/arm/