Report this

What is the reason for this report?

DNS not authoritative between NS1 and NS2

Posted on August 24, 2014

Hi i have website pusatwebhosting.com that host in NS1.pusatwebhosting.com and i create another server as NS2.pusatwebhosting.com

and the domain of pusatwebhosting.com NS i point to NS1.pusatwebhosting.com & NS2.pusatwebhosting.com

NS1 have a,b,c,d website NS2 have e,f,g,h website

when i check my domain dns in http://dnscheck.pingdom.com/?domain=pusatwebhosting.com

i get the results Name server ns2.pusatwebhosting.com (128.199.194.210) not authoritative for pusatwebhosting.com.

how to fix this? many thanks



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi Agus,

The problem you encounter may comes from your Bind configuration between ns1 and ns2, as it seems ns2 did receive any copy of your DNS zone file.

dig pusatwebhosting.com soa @ns1.pusatwebhosting.com +short
ns1.pusatwebhosting.com. postmaster.pusatwebhosting.com. 2014090430 21600 3600 604800 86400

This successfull replies shows the ns1 server manages the DNS zone file with serial 2014090430.

dig pusatwebhosting.com soa @ns2pusatwebhosting.com +short
--> empty response

This error response shows that the ns2 server did not receive the transfer of the zone file by master DNS.

Let’s assume ns1 is your master, and ns2 is your slave. The zone file transfer information need to be retrieved in both bind service configuration, with particular directives for slave or master.

On master (example) :

--> In named.conf.local
 zone "pusatwebhosting.com" {
             type master;
             file "/etc/bind/db.pusatwebhosting.com";             
             allow-transfer { @slave_ip; };
        };

On slave (example)

--> In named.conf.local
 zone "pusatwebhosting.com" {
             type slave;
             file "/etc/bind/db.pusatwebhosting.com";             
             masters { @master_ip; };
        };

With this configuration based on master/slave, you should be able to notify your slave for the zone transfer, and the file will be automatically created in /etc/bind/db.pusatwebhosting.com on your slave.

At this point, your web tool should show a successfull test ;)

Let us know if it worked,

Regards,

– rustx

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.