sábado, 28 de maio de 2016

HOW TO INSTALL DNS SERVER INSTALLATION RECURSIVE AND SECONDARY DNS WINDOWS

sudo apt-get install vim
sudo apt-get install bind9
sudo apt-get install dnsutils

#to Set the server's DNS server
vim / etc / network / interfaces

#configure Bind
sudo came named.conf.default-zones
#Inclua:
zone "vi4nn4.local" IN {
        type slave;
        file "/etc/bind/db.negresco.local";
        // Allow-update {none; };
        allow-transfer {ipdnsserverwindows/32; };
        masters {ipdnsserverwindows; }

sudo came named.conf.options
#Inclua:
allow-recursion {127.0.0.1/32; 10.0.6.0/24; 10.0.7.0/24; 192.168.0.0/24;};

#Salve And create the zone file
sudo touch /etc/bind/db.aim7.local
sudo chown bind.bind /etc/bind/db.aim7.local

# Do a sync test and analyze the syslog
sudo rndc reload

#no Windows DNS server
1. Set a name for the server in the DNS
2. Enter the properties of the area to be transferred.
3. In the Zone Transfer 'tab allows the secondary server to copy the zone.

#To test
dig @ 127.0.0.1 -t the valfend.vi4nn4.local
rndc refresh vi4nn4.local


sudo came named.conf.options
#Includ:
allow-recursion {127.0.0.1/32; 10.0.6.0/24; 10.0.7.0/24; 192.168.0.0/24;};

#Salve And create the zone file
sudo touch /etc/bind/db.vi4nn4.local
sudo chown bind.bind /etc/bind/db.vi4nn4.local

# Do a sync test and analyze the syslog
sudo rndc reload

#no Windows DNS server
1. Set a name for the server in the DNS
2. Enter the properties of the area to be transferred.
3. In the Zone Transfer 'tab allows the secondary server to copy the zone.

#To test
dig @ 127.0.0.1 -t the valf.vi4nn4.local
rndc refresh vi4nn4.local

Nenhum comentário:

Postar um comentário