Multiple Nameservers using same domain/diff IP/Servers

fdnven

Well-Known Member
Feb 14, 2006
120
1
168
Hi,

Registered Nameservers look like this at domain register.
  1. NS1.MYDOMAIN.COM
  2. NS2.MYDOMAIN.COM
  3. NS3.MYDOMAIN.COM
  4. NS4.MYDOMAIN.COM
  5. NS5.MYDOMAIN.COM
  6. NS6.MYDOMAIN.COM
  7. NS7.MYDOMAIN.COM
  8. NS8.MYDOMAIN.COM

2 nameservers for each server. MYDOMAIN.COM is not a active account on any server. Is the correct way to use the same domain for multiple nameservers? Would hate to see this blow up in my face. Seems to work OK minus the very large message logs that are created because of view external: query (cache) NS5.MYDOMAON.COM/AAAA/IN' denied. Seems that every NS*.MYDOMAIN.COM not on the server ends up with that message.

Thanks
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
Hello :)

There is no need to use eight name servers if they are all hosted on the same server. Instead, you could just configure two name servers at your domain registrar with IP addresses associated with your server. Then, set the domain names to use those two name servers at the registrar. On the cPanel server, ensure the "A" records are added for the name servers pointing to those same IP addresses.

Thank you.
 

fdnven

Well-Known Member
Feb 14, 2006
120
1
168
Hello :)

There is no need to use eight name servers if they are all hosted on the same server. Instead, you could just configure two name servers at your domain registrar with IP addresses associated with your server. Then, set the domain names to use those two name servers at the registrar. On the cPanel server, ensure the "A" records are added for the name servers pointing to those same IP addresses.

Thank you.
Hi,

I should clarify.
Server 1 uses
NS1.MYDOMAIN.COM
NS2.MYDOMAIN.COM
Server 2 uses:
NS3.MYDOMAIN.COM
NS4.MYDOMAIN.COM
Server 3 uses:
NS5.MYDOMAIN.COM
NS6.MYDOMAIN.COM
Server 4 uses:
NS7.MYDOMAIN.COM
NS8.MYDOMAIN.COM

Just to quote myself :)
MYDOMAIN.COM is not a active account on any server. Is the correct way to use the same domain for multiple nameservers? Would hate to see this blow up in my face. Seems to work OK minus the very large message logs that are created because of view external: query (cache) NS5.MYDOMAON.COM/AAAA/IN' denied. Seems that every NS*.MYDOMAIN.COM not on the server ends up with that message.
Thanks
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
Yes, that is a valid configuration. However, you should ensure the "A" records for those name servers are added at the DNS host of "mydomain.com".

Thank you.