Difference between revisions of "DNS"

From Christoph's Personal Wiki
Jump to: navigation, search
(New page: ==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; }; li...)
 
(Caching-only DNS servers)
Line 8: Line 8:
 
  allow-query    { 192.168.0.0/24; };
 
  allow-query    { 192.168.0.0/24; };
 
  forwarders      { 192.168.0.254; };
 
  forwarders      { 192.168.0.254; };
 +
dnssec-validation no; # if on a private network
 
  $ service named start
 
  $ service named start
 
  $ chkconfig named on # make it persistent
 
  $ chkconfig named on # make it persistent

Revision as of 20:34, 7 May 2014

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/