Question

DNS not authoritative between NS1 and NS2

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


Submit an answer

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!

Sign In or Sign Up to Answer

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.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

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