Parking domains used as nameservers on another domain

GoWilkes

Well-Known Member
Sep 26, 2006
616
25
178
cPanel Access Level
Root Administrator
I want to make sure that I'm not going to mess anything up...

Over the years, I've collected 6 domains that I've used for custom nameservers. I set the IP at the domain registrar, then create NS records on the server's DNS for ns1.example.com and ns2.example.com to match what I set at the registrar.

If I park those domains on top of another domain that has ns1/ns2 set up the same way, then it should be totally seamless for the end user, right?

Eg, say that I have:

ns1.foo.com
ns2.foo.com
ns1.bar.com
ns2.bar.com
ns1.example.com
ns2.example.com

Now if I park foo.com and bar.com on top of example.com, then domains that use ns1/ns2.foo.com as their nameservers would automagically use ns1/ns2.example.com... right?
 

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
7,519
1,028
313
cPanel Access Level
Root Administrator
Hey hey! I wouldn't use the park tool for anything related to nameservers, as that will setup an Apache entry and possibly cause confusion in the future.

If you just want the DNS records to exist you can create a new zone through WHM that isn't associated with an account through the Add a DNS Zone tool. The nameserver service listens on all IPs, so any user will be able to connect to any nameserver no matter what IP it's listening on.
 

GoWilkes

Well-Known Member
Sep 26, 2006
616
25
178
cPanel Access Level
Root Administrator
So to clarify, you mean that I can:

1. Delete the account for foo.com and bar.com

2. Go to "Add a DNS Zone", enter the server's IP, foo.com as the domain (not ns1/ns2.foo.com), then associate it with example.com

3. Repeat for bar.com

Right?