UBUNTU DUMP‎ > ‎

Ubuntu DNS Server

posted 27 Aug 2017, 11:39 by Donald Ross   [ updated 3 Oct 2017, 12:26 ]


**INTSALL DETAIL TO BE ADDED


***
NOTES
reverse lookup zone 192.168.0.0/27 - configure as below
0-31 being the range and 0.168.192 being the subnet

zone "0-31.0.168.192.in-addr.arpa"  {
        type master;
        file "master/192.168.0.0-31.rev";
};


----------------------------------
Master and Slave example

/etc/bind/named.conf.local

zone "ddr.dc1.local" {
        type master;
        file "/var/lib/bind/ddr.dc1.local.hosts";
        allow-transfer {
                192.168.11.12;
                192.168.20.11;
                192.168.20.12;
                };
        };
zone "11.168.192.in-addr.arpa" {
        type master;
        file "/var/lib/bind/192.168.11.rev";
        allow-transfer {
                192.168.11.12;
                192.168.20.11;
                192.168.20.12;
                };
        };


-----------

zone "ddr.dc1.local" {
        type slave;
        file "/var/lib/bind/ddr.dc1.local.hosts";
        masters { 192.168.11.11; };
        };
zone "11.168.192.in-addr.arpa" {
        type slave;
        file "/var/lib/bind/192.168.11.rev";
        masters { 192.168.11.11; };
        };



-------------------------------------------

sudo apt-get purge --auto-remove bind9

**updates servers**
sudo rndc reload ddr.dc1.local
sudo rndc reload 11.168.192.in-addr.arpa
Comments