Point about 30 DNS Zone NS entries to the same two IP Adresses

domain-name-systemipnameserver

I have about 60 Domain Names That I Am Creating Private name Servers For. Is it possible for me to just point ns1.mydomain.com, ns1.mydomain2.com, ns1.mydomain3.com etc. to the same nameserver IP address through the DNS Zone Record for each domain? And if I can do that do I have to put the original nameserver domain name in the DNS Zone SOA or can i juts map it too ns1.mydomain.com? Does any of that make sense? Other wise I am going to create like 30 nameservers on this one machine. Also I am using all C-Class IPs. I don't want to create 30 nameservers on this one machine and waste precious IP addresses. Any tips?

Thanks in advance for your help.

I also forgot to mention that I am trying to keep the fact that these are all on the same server Private so the SOA record for each domain needs to point to its own nameserver not the domain name for the real nameserver.

Best Answer

It is possible to have multiple A records pointing to the IP. It is also possible to have multiple NS records pointing to multiple A records with the same IP. From a management point of view this is a bit unwieldy. Future changes will be more difficult because you will have lots of places that you have to make lots of changes.

A much better idea is to create ns1.maindomain.com and have ns1.maindomain.com listed as the NS record for each domain. That is to have ns1.maindomain.com as the NS records for ns1.domain1.com, ns2.domain.com and so on.

Related Topic