Every DNS zone must contain at least one NS record.
I've been using whm and cpanel for a while (although I am not an expert).
I need to configure new TXT or CNAME records for Google Workspace and, with a new cPanel account it is always showing an error preventing the creation.
Using the account's cPanel I try to create those records and only get a "Every DNS zone must contain at least one "NS" record" error message.
If I try to do the same using the WHM, I get a "API failure: (XID ctxeg2) Every DNS zone must contain at least one "NS" record" error message.
When comparing the records via WHM, I see the new account does not have the NS records as an old account.
The old accounts shows:
domain.com NS 1.hostindns.com
domain.com NS 2.hostindns.com
So, I try to repeat the same config for the new account:
newdomain.com. NS 1.hostindns.com
newdomain.com. NS 2.hostindns.com
And, every attempt ends with the same "Every DNS zone must contain at least one "NS" record" cPanel error or "API failure: (XID ctxeg2) Every DNS zone must contain at least one "NS" record" WHM error.
There must be something else going on but I do not now how to address this issue.
I'll appreciate all the help you can give.
Thanks a lot
aB
-
Hey there! Is it possible the entries are commented out and look something like this? ; domain.com. 86400 IN NS ns1.domain.net. ; Previous value removed by cPanel transfer auto-merge on 20201001050554 GMT
Notice the semi-colon at the front of the line. If they do look like this, they wouldn't be active on the system.0 -
Where can I see it like that... where can I find the code string you show me here? Hey there! Is it possible the entries are commented out and look something like this?
; domain.com. 86400 IN NS ns1.domain.net. ; Previous value removed by cPanel transfer auto-merge on 20201001050554 GMT
Notice the semi-colon at the front of the line. If they do look like this, they wouldn't be active on the system.0 -
You would be able to see this in the cPanel >> DNS Zone Editor if you click the "manage" option as that shows all the records on the domain. 0 -
Here is a screenshot of the dns records I can find in the Zone Editor. As you can see, there are no NS records and the error when trying to create the record. You would be able to see this in the cPanel >> DNS Zone Editor if you click the "manage" option as that shows all the records on the domain.
0 -
Here is a screenshot of the dns records I can find in the Zone Editor. As you can see, there are no NS records and the error when trying to create the record.
I saw your attachment well. Everything is fine. Still, there may be some errors which cannot be marked by looking at the screenshots. You can reconfigure by resetting DNS once. Click the action button then reset DNS.0 -
Where can I see it like that... where can I find the code string you show me here?
You see those only in the Zone file, i.e. in; /var/named/DOMAIN.COM.db0 -
If the rest mentioned by @shahajahan babu doesn't work, you'll likely need to contact your hosting provider or datacenter to have them check this. 0 -
Hi, I did it, I reset the DNS but the problem remains After reseting, all records appeared just like they were but I still cannot create a NS, TXT o CNMAE record. Same Errors happen When trying to create a NS: API failure: (XID pq7akq) Every DNS zone must contain at least one "NS" record. When trying to create a TXT or CNAME: Every DNS zone must contain at least one "NS" record. Something else I might need to do to fix this issue? Thanks I saw your attachment well. Everything is fine. Still, there may be some errors which cannot be marked by looking at the screenshots. You can reconfigure by resetting DNS once. Click the action button then reset DNS.
0 -
Hi, I did it, I reset the DNS but the problem remains After reseting, all records appeared just like they were but I still cannot create a NS, TXT o CNMAE record. Same Errors happen When trying to create a NS: API failure: (XID pq7akq) Every DNS zone must contain at least one "NS" record. When trying to create a TXT or CNAME: Every DNS zone must contain at least one "NS" record. Something else I might need to do to fix this issue? Thanks
>>> When we encounter such a problem, we do the following Four things <<< First reset DNS and then try Second, Take a look at the Google setting with your kind eyes DNS basics - Google Workspace Admin Help Third, you try to upgrade/reinstall cPanel from the terminal by /scripts/upcp --force Fourth, contact with the data center And I hope your problem is solved.0
Please sign in to leave a comment.
Comments
9 comments