-
Notifications
You must be signed in to change notification settings - Fork 9
default nameserver is not working and will cause registration failure #2
Comments
Hello. If you don't specify nameservers, livedns are set automaticaly, maybe it's ok for you ? You can look at the documentation here : https://api.gandi.net/docs/domains/#post-v5-domain-domains |
Leave the nameserver blank will cause the module to operate incorrectly So no matter what, you need to fill in a nameserver |
Hello @cras4202tw, Unfortunately, WHMCS developers have in mind you have your own DNS infrastructure that you give access to your customers. You can set default nameservers in General domains configuration but if you use a multiple registrars, you also can't define different nameservers of each of them. If you really want to give the Gandi's LiveDNS platform to your customers, you will need to do some modifications in your instance. Because this is a specific use-case, we can't push anything in the plugin code. My purpose is to:
/*
*
* Return a list of generic LiveDNS servers that the given
* domain can use
*
* @param string $domain
* @return array
*
*/
public function getGenericLiveDNSServers(string $domain)
{
$url = "{$this->endPoint}/livedns/nameservers/{$domain};
$response = $this->sendRequest($url, "GET");
logModuleCall('Gandi V5', 'LiveDNS generic servers info', $domain, $response);
return json_decode($response);
}
I haven't tested locally but this should works for you (modulo some corrections of possible typos 😅). Give me your feedback if my workaround works for you. |
I don’t think that changing the default nameserver to Gandi LiveDNS in the whmcs module is a special use case. 😔 case 1 Even if you can use Gandi LiveDNS
|
Through the route This is why I purposed you to add a |
The default nameservers of whmcs will be set to
ns1.yourdomain.com
ns2.yourdomain.com
When purchasing, although it will pop up asking if you want to use custom nameservers
https://imgur.com/NSiIBrT
But under normal circumstances, customers will not have their own nameservers
At this point, Gandi whmcs module will Submit registration with this nameserver
ns1.yourdomain.com
ns2.yourdomain.com
https://imgur.com/XEgcT6c
Will cause problems in the registration process
https://imgur.com/yj7eWK4
And I submit a ticket to the customer service
pro-zh #13042282
Also get
ns1.yourdomain.com
ns2.yourdomain.com
It is not the correct nameserver and can not register normally
Can the nameserver of the whmcs module be modified to the gandi LiveDns preset by gandi?
The text was updated successfully, but these errors were encountered: