Can one IP address be registered as two different name servers, for example, can one IP address be registered as both ns2.acme.com
and ns2.beta.com
with my DNS registrar? (I know one IP cannot and should not be both ns1.acme.com
and ns2.acme.com
)
I ask because I am setting up a secondary DNS server and the names it will be serving are all on one machine right now; this machine has many IPs, one IP is ns2.acme.com
and another is ns2.beta.com
(clearly those are example names) and some customers have their DNS set to the "acme.com" name servers, while other have their DNS name servers set to the "beta.com" nameservers. It's the same server, it was just that the "beta.com" name was purchased years after as a replacement for the "acme.com" name, but not all customer switched their DNS.
EDIT: To clarify, I'm not talking about DNS A
records, I am talking about registering IP addresses as nameservers with my registrar.
EDIT 2: Thanks to Jacob, who reminded me that the word for what I am asking is "glue records." Can one IP serve as two different glue records for two different domains?