Creating eu.org domains as alias or addon

Krydos

Well-Known Member
Jun 2, 2012
59
9
58
cPanel Access Level
Root Administrator
Any eu.org domain that people try to host on our servers always gives the dreaded "doesn't use your nameservers" error even when they really are set at the registrar correctly. I don't want to disable the nameserver check because then idiots will try to park domains like google.com. If I check the domain with a tool like DNS Checker - DNS Check Propagation Tool it shows our nameservers on maybe 20% of the world's dns. The rest just return SERVFAIL. Looking at the output of /scripts/cpdig --verbose it shows the querying the root nameservers, following the trail down until it gets to our nameservers, which return SERVFAIL presumably because the domain isn't parked yet so no zone has been created for it. If an admin parks the eu.org domain manually through WHM which skips the nameserver check then our nameservers get their zone set up and all the world's dns start showing the nameservers correctly, but like I said I don't want to have my admins required to add all these domains manually. I have no problem providing the exact domain name and the specific nameservers that I'm referring to, but cpanel forums always edit out the identifying information. Perhaps if you want the specifics I can DM them to you. Thanks.
 

cPanelLauren

Product Owner II
Staff member
Nov 14, 2017
13,266
1,301
363
Houston
I have no problem providing the exact domain name and the specific nameservers that I'm referring to, but cpanel forums always edit out the identifying information. Perhaps if you want the specifics I can DM them to you. Thanks.
This is a pretty generic issue and doesn't require specifics. We do edit out identifying information, this is for your security among other reasons.

What happens when you try to do this with some domains/registrars is that they're looking for the domain @ns.whateveryourdomainis.tld and failing if there's no return. The only workarounds for this without having to do this manually would be one of the following:

  1. Enable allow remote domains - and add common domains
  2. Disable Allow Remote Domains and add the nameserver IPs associated with the domain (if you or your users purchase them from the same registrar/s you could potentially could get IP ranges they use for this) to WHM>>IP Functions>>Configure Remote Service IP's Users are permitted to add addon or parked domains only with nameserver IPs in this list.
  3. You could create a DNS record for the domain that contained ns1/ns2.domain.tld but this would be another manual process.

The query used to confirm if your server reports as being authoritative for a domain in this instance is something like:

Code:
dig yournewparkeddomain.tld @ns.whateveryouputforns.tld

Or something specific like the nameservers themselves like
Code:
dig ns yournewparkeddomain.tld @ns.whateveryouputforns.tld