Client Area
How the customer manages their DNS service: the home screen with the zone list and quota, adding a DNS zone, managing records of every supported type, and working with reverse-DNS (PTR) zones for IPv4 and IPv6.
Home screen
PowerDNS module WHMCS
Order now | Download | Community
client-overview.png
1. Summary Cards
The top overview section provides real-time status metrics and configuration parameters:
-
Zones Quota Card: Displays current utilization against the service quota (e.g.,
1 / 10orUnlimited). If the allocated limit is reached, the Add DNS Zone action informs the client that the quota has been met. -
Name Servers Card: Displays the authoritative name servers (e.g.,
ns1.puq.info,ns2.puq.info) assigned by the hosting provider. Clients must configure these exact name servers at their domain registrar for DNS propagation.
2. DNS Zones Table
The main section lists all DNS zones provisioned under this service:
| Column | Description |
|---|---|
| Zone Name | The root domain name of the zone (e.g., puq.info). |
| Status | Current operational state: Active (green badge, active on server), Suspended (yellow badge, server zone purged due to billing suspension), or Not Allowed (red badge, conflict detected). |
| Actions | Action controls available for each individual zone. |
Available Zone Actions:
- Records: Opens the zone inspector to manage resource records. Displays an inline counter badge showing the number of active records.
- Delete (Trash Icon): Removes the zone completely. Opens a SweetAlert confirmation modal before purging the zone from both PowerDNS and WHMCS. All actions feature dynamic button spinners while executing.
3. Real-Time Search & Add Zone
- Search: A live search field above the table allows clients to filter zones instantly as they type.
- Add DNS Zone Button: Located in the top action bar, opens the zone creation modal (see Add DNS Zone).
Add DNS Zone
PowerDNS module WHMCS
Order now | Download | Community
Clients can add new forward or reverse DNS zones as long as their service has remaining quota.
1. How to Add a Zone
- On the service overview page, click the Add DNS Zone button.
- In the modal dialog:
-
Zone Name: Enter the domain name (e.g.,
puq.infoor113.0.203.in-addr.arpafor reverse DNS). - Zone Admin Email: If the hosting provider enables SOA editing, clients can enter a custom administrative contact email. Otherwise, this field is hidden and provider defaults are used.
-
Zone Name: Enter the domain name (e.g.,
- Click Add DNS Zone.
client-add-dns-zone.png
2. Automated Zone Provisioning Workflow
When the client clicks Add DNS Zone:
- Quota Check: WHMCS verifies that the client has not exceeded their service's maximum zone limit.
- Regex Validation: The domain name is verified for syntax compliance and checked against the provider's Zone name filter blacklist.
-
PowerDNS Creation: The module sends a
POST /api/v1/servers/localhost/zonesrequest to PowerDNS:- Zone is created as Master with
SOA-EDIT-API = INCREASE. - The SOA record is built using provider defaults and the client's email (if provided).
- NS records are automatically inserted for all configured name servers.
- Any boilerplate records defined in the provider's Zone template are generated with the
{zone}placeholder substituted.
- Zone is created as Master with
-
Local Database Synchronization: WHMCS stores the zone record in
puqPowerDNS_zoneswith statusactive. - The modal closes and the dashboard updates automatically with a success toast notification.
3. Validation and Error Handling
- Maximum zone limit reached: The service has reached its assigned zone capacity.
- DNS Zone name is NOT valid: The entered string does not match standard domain or in-addr.arpa syntax.
- DNS Zone name NOT allowed: The requested domain matches an administrative regex blacklist pattern.
- Problem adding DNS zone: If the zone already exists on the PowerDNS server under another service, the module avoids exposing raw database errors. It flags the request as not allowed and raises an automated internal To-Do task for hosting staff.
Managing DNS Records
PowerDNS module WHMCS
Order now | Download | Community
Click the Records button next to any active zone to access the DNS Records management console.
1. Zone Details & Toolbar
The zone view displays zone metadata, Start of Authority (SOA) details, and quick action buttons:
- All DNS Zones: Returns to the main service overview.
- Reload DNS Zone: Synchronizes and rebuilds zone records directly from the PowerDNS server.
- Add Record: Opens the dynamic modal to create a new DNS record.
- SOA Summary Card: Displays the primary MNAME server, administrative email (RNAME), and serial number. If permitted by the provider, an Edit SOA button allows clients to modify contact email and TTL parameters.
client-zone-details.png
2. Resource Records Table & Quick Filters
Below the zone header, the console presents the resource records in a responsive table.
Interactive Quick-Filter Pills:
Above the table, interactive badge pills allow instant filtering by record type (e.g. All, A, AAAA, CNAME, MX, TXT, etc.).
- When the hosting provider restricts allowed record types, only the permitted record type pills are displayed.
- Clicking any pill immediately filters the table view without triggering network calls or page reloads.
client-records-table.png
Filtered Records View Examples:
client-records-filter-a.png
client-records-filter-aaaa.png
3. Supported Record Types
The module supports 38 DNS record types. The modal dynamically adapts input fields and validation according to the selected type:
| Type | Description & Specific Fields |
|---|---|
| A | Host IPv4 address (e.g. 192.0.2.1). |
| AAAA | Host IPv6 address (e.g. 2001:db8::1). |
| AFSDB | AFS Data Base location record (Subtype and Target hostname). |
| ALIAS | Auto-resolved apex or subdomain alias (CNAME-flattening) to target hostname. |
| CAA | Certification Authority Authorization (Flags 0–255, Tag issue/issuewild/iodef, Value). |
| CERT | Certificate record (Certificate Type, Key Tag, Algorithm, Base64 Certificate). |
| CDNSKEY | Child DNSKEY record for automated DS updates (Flags, Protocol, Algorithm, Public Key). |
| CDS | Child DS record for automated parent zone DS updates (Key Tag, Algorithm, Digest Type, Digest). |
| CNAME | Canonical name alias pointing to target hostname. |
| DNSKEY | DNSSEC public key (Flags, Protocol 3, Algorithm, Public Key). |
| DNAME | Delegation name redirecting an entire subtree of the domain hierarchy. |
| DS | Delegation Signer record (Key Tag, Algorithm, Digest Type, Digest). |
| HINFO | Host Information record (Hardware and OS / Software strings). |
| HTTPS | HTTPS service binding and parameter endpoints (Priority, Target Name, Params key=value). |
| KEY | Security public key record (Flags, Protocol, Algorithm, Public Key). |
| LOC | Geographic location coordinates (RFC 1876 location string). |
| LUA | PowerDNS dynamic LUA record (Target Type and LUA Script). |
| MX | Mail exchange server (Priority integer and Target mail hostname). |
| NAPTR | Naming Authority Pointer (Order, Preference, Flags, Service, Regexp, Replacement). |
| NS | Authoritative Name Server target hostname (Provider NS records are protected from deletion). |
| NSEC | DNSSEC Next Secure record (Next Domain Name and Record Types bitmap). |
| NSEC3 | DNSSEC Next Secure v3 record (Hash Algorithm, Flags, Iterations, Salt, Next Hashed Owner Name, Types). |
| NSEC3PARAM | DNSSEC NSEC3 Parameters record (Hash Algorithm, Flags, Iterations, Salt). |
| OPENPGPKEY | OpenPGP public key record (Base64-encoded public key data). |
| PTR | Pointer record for reverse DNS mapping. |
| RP | Responsible Person mailbox and TXT domain pointer. |
| RRSIG | DNSSEC resource record signature (Type Covered, Algorithm, Labels, Original TTL, Expiration, Inception, Key Tag, Signer Name, Signature). |
| SMIMEA | S/MIME certificate association record (Usage, Selector, Matching Type, Certificate Association Data). |
| SOA | Start of Authority (Managed via provider defaults or Edit SOA modal). |
| SPF | Sender Policy Framework record. |
| SRV | Service record (Priority, Weight, Port, Target hostname). |
| SSHFP | SSH public host key fingerprint (Algorithm, Fingerprint Type, Hexadecimal Fingerprint). |
| SVCB | General Service Binding record (Priority, Target Name, Params key=value). |
| TKEY | Transaction Key record (RFC 3597 generic RDATA / hex payload). |
| TLSA | Transport Layer Security Authentication (Usage, Selector, Matching Type, Certificate Association Data). |
| TSIG | Transaction Signature record. |
| TXT | Text record (String content; automatically quoted and split into 255-byte chunks). |
| URI | Uniform Resource Identifier mapping (Priority, Weight, Target URI). |
4. Add DNS Record
- Click the Add Record button.
- Select the Type from the dropdown menu.
- If the hosting provider has configured Allowed record types, only those specific record types appear in the dropdown.
- If no restriction is configured, all 38 record types are available.
- Enter the record Name (use
@for root domain apex, or enter subdomains likewww,api,mail). - Select the TTL (from 60 seconds up to 1 day).
- Enter the type-specific data values.
- Click Add Record. A loading spinner indicates active processing. Upon success, the table updates immediately.
Full Record Types Dropdown:
client-add-record-all-types.png
Restricted Allowed Record Types Dropdown:
When the administrator restricts allowed record types to e.g. A, AAAA, CNAME, MX, TXT:
client-add-record-filtered-types.png
ALIAS Record Addition:
client-add-record-alias.png
5. Edit and Delete Records
Edit Record:
Click the Pencil icon on any record row. The edit modal appears pre-populated with current values:
- Record Type and Name are locked to prevent accidental DNS orphan references.
- TTL and record content values can be adjusted and saved instantly.
client-edit-record.png
Delete Record:
Click the Trash icon on any record row. A confirmation dialog prevents accidental deletion. Once confirmed, the record is removed from the PowerDNS server and table immediately.
ℹ️ Notice: Provider root NS records (at the zone apex) are protected with a lock icon and cannot be edited or deleted by clients. Subdomain NS records (e.g.
sub.example.com) can be added, modified, and deleted freely.
PTR IPv4 and IPv6
PowerDNS module WHMCS
Order now | Download | Community
Pointer (PTR) resource records provide Reverse DNS resolution — translating an IP address back into a canonical fully qualified domain name (FQDN). PTR records are critical for email deliverability (SPF/DKIM/rDNS checks) and network diagnostic logging.
1. Understanding Reverse DNS Zones
Reverse DNS lookups query specialized reverse zone domains determined by the network subnet:
-
IPv4 Reverse Zones (
in-addr.arpa): Constructed by reversing the octets of the network IP block and appending.in-addr.arpa.
Example: For subnet203.0.113.0/24, the reverse zone is113.0.203.in-addr.arpa. -
IPv6 Reverse Zones (
ip6.arpa): Constructed by reversing each individual hexadecimal nibble (4 bits) separated by dots and appending.ip6.arpa.
Example: For2001:db8::/32, the reverse zone is8.b.d.0.1.0.0.2.ip6.arpa.
2. Setting Up a Reverse Zone
- Ensure your upstream transit provider or IP registrar (RIPE, ARIN, APNIC) has delegated the corresponding reverse DNS subnet to your PowerDNS name servers.
- In the WHMCS client area, click Add DNS Zone.
- In Zone Name, enter the reverse zone domain (e.g.,
113.0.203.in-addr.arpa). - Click Add DNS Zone. The zone is created on the server as an authoritative master zone.
3. Adding PTR Records
- Open the reverse zone by clicking Records.
- Click Add Record and select Type:
PTR. - Fill in the parameters:
-
Name: The host identifier within the reverse zone:
- For IPv4 host
203.0.113.10inside zone113.0.203.in-addr.arpa, enter10. - For IPv6 host
2001:db8::1inside zone8.b.d.0.1.0.0.2.ip6.arpa, enter the reversed host nibble sequence.
- For IPv4 host
-
TTL: Choose a cache lifetime (e.g.,
3600). -
Domain Name: The fully-qualified target domain name (e.g.,
mail.example.com).
-
Name: The host identifier within the reverse zone:
- Click Add Record. The module automatically appends trailing dots as needed.
4. Verification
Test your reverse DNS propagation using dig or host:
# Test IPv4 PTR Record
dig -x 203.0.113.10 +short
# Test IPv6 PTR Record
dig -x 2001:db8::1 +short
The output should return your target FQDN.