Skip to main content

CPANEL-42693 - adding domain to cpanel throws error

Comments

18 comments

  • JIKOmetrix
    So this is very strange. To get cpanel to allow me to add a domain that IS POINTED to name servers in the "Basic WebHost Manager" Setup" section of WHM, I had to add the name sever IP's to the "Configure Remote Service IPs". This seems like a bug.
    0
  • JIKOmetrix
    Before Dig on the domain would give serverfail not dig works like it was waiting for a valid zone, but I could have a valid zone since I could add the domain to cpanel to create the zone. Like chicken and egg issue?
    0
  • cPRex Jurassic Moderator
    Hey there! It's definitely odd if the domain was pointed to the local nameservers and still couldn't be created with that restriction in place. As a test, can you run this command on the cPanel server and see if that returns the nameservers you expect? /usr/local/cpanel/3rdparty/bin/perl -MCpanel::DnsRoots -MData::Dumper -e 'print Dumper(Cpanel::DnsRoots->new()->get_nameservers_for_domain("domain.com"));'
    Just change domain.com, leaving the quotes, and it will give you output that looks like this: 'ns2.google.com' => '216.239.34.10', 'ns4.google.com' => '216.239.38.10', 'ns1.google.com' => '216.239.32.10', 'ns3.google.com' => '216.239.36.10'
    0
  • JIKOmetrix
    Of course is returns the correct DNS now. $VAR1 = { 'ns20.jikometrix.net' => '51.222.43.204', 'ns22.jikometrix.net' => '54.39.103.115', 'ns21.jikometrix.net' => '54.39.18.56' }; However, I have another domain doing the same thing. I ran the above command with this other domain and got this. (XID gjutqq) DNS returned "SERVFAIL" (code 2) in response to the system"s query for "schookswizzards.com""s "NS" records. at /usr/local/cpanel/Cpanel/DNS/Unbound.pm line 896. $VAR1 = {}; You can see the registrar shows the correct DNS as above.
    0
  • JIKOmetrix
    I've opened a ticket on this matter, 95039652
    0
  • mtindor
    Did you go into Enom's interface to Domains --> Advanced Tools --> Register a Nameserver and actually make sure that all of your nameservers are registered [at the root servers] ? Nevermind. I checked. Looks like they've been registered for a long time.
    0
  • cPRex Jurassic Moderator
    I'm following along with that ticket now.
    0
  • JIKOmetrix
    Did you go into Enom's interface to Domains --> Advanced Tools --> Register a Nameserver and actually make sure that all of your nameservers are registered [at the root servers] ? Nevermind. I checked. Looks like they've been registered for a long time.

    Yes, I actually did check this yesterday too. This is a head scratcher. I really think it is a DNS issue where the cPanel is looking for name servers from the DNS zone and not the registrar. Since there is not zone to query for nameservers it throws an error, however, it should be getting the nameservers from enom the registrar.
    0
  • JIKOmetrix
    Hello, So cPanel support says, "That looks to be the underlying issue. The dnsamdin request is not returning all the IPs so the /etc/ips.dnsmaster file is not accurate." I have the workaround in place. I've added my own nameservers to the remote service IP addresses for now.
    0
  • cPRex Jurassic Moderator
    Thanks for giving us so many good details through the ticket. We have added this information to case CPANEL-42693 and our developers are working on that now. I'll be sure to post an update here as well if I hear any news on my end.
    0
  • whipworks
    Thanks for giving us so many good details through the ticket. We have added this information to case CPANEL-42693 and our developers are working on that now. I'll be sure to post an update here as well if I hear any news on my end.

    Getting the same issue. Will wait for resolution. Thanks.
    0
  • JIKOmetrix
    Try setting up a static route?
    0
  • mathx
    Hello, So cPanel support says, "That looks to be the underlying issue. The dnsamdin request is not returning all the IPs so the /etc/ips.dnsmaster file is not accurate." I have the workaround in place. I've added my own nameservers to the remote service IP addresses for now.

    But
    0
  • JIKOmetrix
    I do not know.
    0
  • cPRex Jurassic Moderator
    @whipworks and @mathx - if you can reproduce this, can you please submit a ticket to our team and reference the case number? It looks like we're still trying to find more servers experiencing the issue before we apply a fix.
    0
  • JIKOmetrix
    Yes, I tried to add a subdomain yesterday and got this same DNS pointer error.
    0
  • whipworks
    @whipworks and @mathx - if you can reproduce this, can you please submit a ticket to our team and reference the case number? It looks like we're still trying to find more servers experiencing the issue before we apply a fix.

    Can't even create a ticket. The page just keeps on reading and processing. Page doesn't even show up.
    0
  • cPRex Jurassic Moderator
    You can always email cs@cpanel.net to start a ticket.
    0

Please sign in to leave a comment.