Zone for "use an existing domain"

SoluteDNS for WHMCS and lower
Post Reply
Posts: 15
Joined: 28 Sep 2016, 14:05

17 Jan 2017, 19:31

Small question:

when a client ordered a webhosting package and choose the domain option "use an existing domain" in the cart. The module creates a zone for this domain, which is unnecessary because I don't manage this Domain.
Is this a bug, feature or for technical reasons?
User avatar
Posts: 202
Joined: 02 Aug 2013, 17:50

18 Jan 2017, 22:07

If an WHMCS product is set in SoluteDNS as DNS product the zone will be created based on the WHMCS product instead of the WHMCS domain. If an client orders an product with an existing domain the zone will be created for the domain the client provides as it's the domain for the ordered WHMCS product.

When the WHMCS product isn’t set as DNS product in SoluteDNS the zone will be created on the WHMCS domain instead. If the client now orders the product without domain the zone will not be created. You might however want to do additional processing in such cases as the product template is not applied to the zone as it’s now based on the WHMCS domain. You might find the After Zone Creation Hook and Internal API Apply Template tool useful for this. You can find more information about these tools in the documentation (development tools).
Post Reply