Automate PowerDNS zone creation for WHMCS customers
Enable automatic zone creation only after the provider, ordinary records and client-ownership policy are ready. A completed billing lifecycle action is separate from successful DNS hosting and public delegation.
Prepare the intended provider
Confirm that the connection reaches the correct PowerDNS server and can perform the required zone operation. The connection test reads the server endpoint; it does not prove every create or signing action.
In this PowerDNS-only module, automatic new setups use the oldest eligible PowerDNS provider that is enabled and accepts new domains. A provider set to existing domains only is not a destination for new setups. Review those saved provider choices and intended nameservers before enabling automation; this is separate from a cross-provider routing control.
Enable and inspect
- Open PowerDNS → Settings.
- Review Automatically create a DNS zone on registration and new services.
- Enable it for the intended service policy.
- Follow a controlled normal activation process.
- Inspect Zones and Activity for creation, records and the correct owner/binding.
On WHMCS, documented triggers include domain registration/transfer and new services with a relevant domain. Confirm the resulting client and domain/service relationship, not only the original order result.
Automatic creation does not move a website or mail service. Where you deliberately enable nameserver takeover for selected TLDs, the module can request a registrar nameserver change once its prerequisites are met. On WHMCS, the registrar integration must accept the nameserver change. Inspect Activity and the registrar result, then verify public delegation separately. If the route is unavailable or refused, use the domain’s supported registrar process once the intended authoritative zone is ready.
Plan termination and cleanup
Review Keep the DNS zone when a service is terminated, Automatically clean up orphaned zones and When cleaning an orphan, also delete the zone at the provider before cancellation or cleanup. Removing a management relationship and deleting live provider DNS have different effects.
Keep an appropriate snapshot and retention policy for zones still serving traffic. After an uncertain create result, check what actually exists before repeating it. Preserve the lifecycle event, action time and redacted error if the DNS action failed.
Check the created zone and delegation
Your hosting team should compare the original platform event, usable domain name, eligible provider, allowance and existing zone/binding with Activity and any queued setup result. Your PowerDNS administrator should inspect actual Native zone data, authority and any partial creation before a retry. Check a selected-TLD takeover and registrar acceptance separately from ordinary service setup and public delegation.
See the PD PowerDNS WHMCS guide for related tasks, or explore PD PowerDNS.