Spinetta

Registered
Feb 9, 2012
3
1
53
cPanel Access Level
Root Administrator
Recently I moved my cPanel server to a new VPS and am having some issues I can not figure out how to resolve. I've Googled, Binged and searched this forum and none of the solutions seem to be working.

The problem is that there are 2 subdomains that are registered nameservers through GoDaddy, we'll call them ns1.example1.com and ns2.example1.com - a few years ago I switched those to ns1.example2.com and ns2.example2.com but there's one domain that is a PITA to change the nameservers on so I've left them as example1.com and kept those registered. Now I need to change the IPs for example1 and for some reason cPanel apparently can't find those entries.

When I try to add ns1.example1.com with the new IP I get an error saying the DNS zone exists; when I go to delete the DNS zone, it's not listed. It is not listed in httpd.conf or named.conf but I did find references to it in /root/.cpanel/datastore so I deleted those per a previous posts' instructions but that has had no effect. I'm not sure if there's a script I should run to tell cPanel those files changed or what to do at this point. Any and all help, suggestions, etc. would be appreciated, I'm at a loss & since my cloud is unmanaged it's on me to fix this mess. Thanks!

P.S. It's been a really long week and I'm kinda brain fried so if I need to clarify anything, please feel free to ask lol
 

Spinetta

Registered
Feb 9, 2012
3
1
53
cPanel Access Level
Root Administrator
Oh the difference a nap makes lol Fixed the issue, was pretty basic but none of the 50+ threads, pages, etc. I read mentioned this so I'll go ahead and update this post in case anyone else runs across this issue. I was searching for a dns zone file for the ns1.example1.com which I should have just searched for example1.com. So WHM -> DNS Functions -> Edit DNS Zone -> example1.com then scroll down until you find the entries for ns1 and ns2 then change the IPs there. Took about 5 minutes to propagate and presto, everything appears to be working!
 

Infopro

Well-Known Member
May 20, 2003
17,113
507
613
Pennsylvania
cPanel Access Level
Root Administrator
Twitter
I've Googled, Binged and searched this forum and none of the solutions seem to be working.
For future reference, this site:
Help | cPanel, Inc.

Uses Google search, on cPanel Docs. Searching it for Delete DNS Zone gives me this:
Delete a DNS Zone - cPanel Documentation

On the forums homepage here:
http://forums.cpanel.net/forum.php

There's a side menu top right side with other handy *.cPanel search links as well.

Oh the difference a nap makes
Agreed. Love a good nap! :)

You probably already know of the links I just mentioned, but I'm adding them here for the next, in need of a nap, SysAdmin to find.