Skip to main content

AddonDomain::addaddondomain API 2 PHP non-resolving domains

Comments

3 comments

  • DavidN.
    Hello, Thanks for contacting us. The behavior you're describing isn't intended, but I'm not aware of any other instances like this. Could you open a support ticket so we can investigate this specific instance in better detail?
    0
  • htmldesign
    Hi David, thanks for your reply. I finally managed to fix it and the description is a bit complex, to summarize: I believe there is a problem with certain new top level domains (nGTLDs ) that might cause trouble on the resolving of a tertiary name server. I believe it is related to the resolving of A Records when one uses more than two nameservers AND delegated subdomains, for instance: SLD.TLD -> authoritative or parent at the Registrar level as ns1.sld.tld, ns2.sld.tld and (please note tertiary is not mandatory ) ns3.sld.tld on my side ( non-shared, VPS, cpanel, whm ) matching name and proper SOA ns1.sld.tld ns2.sld.tld .. ns3.sld.tld please also note im not using the hosting provider's nameservers but rather pointing to my own custom ( same server though, extra A record - but needed for my digitial asset mgmt platform, which is custom ). If I dont use a tertiary then AddonDomain::addaddondomain works ok, and new addon domain resolves properly. If I use a tertiary, then the AddonDomain::addaddondomain works ok, that is the result seems ok, dir created, appears in WHM ( but not in cpanel ) AND does *not* resolve. to make it even more complex, it seems to apply to certain .tlds only. ( please also note im not using any ccTLD on this test .. yet ) in order to make the faulty one ( domain ) under the tertiary context to work, I have to wipe the tertiary from the dns zone ( in WHM or via API ( ::fetchzone, find line # then ::editfileZone and finally resetFileZone -or synch records via whm, if I re-add it manually ( via the GUI, whm that is ) the tertiary record, then it resolves. The leftover of this context, for the faulty ones, it doesnt show in cpanel ( but it does in whm ) which also creates trouble to remove the domain ( manually or via API ) ... the workaround works, as a final note, it is important to add that most of the domains Im using have a need of delegation, that is: NameServer under whm but main domain resolves somewhere else, subdomain1 resolves local, subdomain2... example: Welcome.link ( dot link is a newGTLD ) NS in same server as WHM and cpanel, but A record of welcome.link will resolve somewhere else. geoLocation1.welcome.link [ somewhere else, and not the same as previous ] geoLocation2........ sometimes up to 7 subdomains. txs, s
    0
  • htmldesign
    FYI, I think this problem is related to the fact that new gTLDs require a different validation anywhere where there is a verification of the domain validity, for example, domains like , can cause domain validation to fail in some contexts ( such as email validation, something@sudo.host and alikes seems to irritate countless contact forms throughout the Internet ), in this specific case the workaround I found was to add tertiary nameserver using "normal gTLDs" such as .com will allow an update to work. ex: if you want to add a tertiary NS and pass all the validations, just use a .com or .net, allow the synchronization ( all dnszones + multi cluster ) and then once it is in the whm DnsZone, use the api ZoneEdit::fetchzones to get the line # of the specific DnsZone DNS record, and then ZoneEdit::edit_zone_report and re-synch zones.
    0

Please sign in to leave a comment.