PUQ Mautic

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

When a client navigates to Client Area → Services → My Services and selects their DNS Hosting service, the dashboard presents the primary zone management interface.

Client Area — DNS Zones Dashboard client-overview.png


1. Summary Cards

The top overview section provides real-time status metrics and configuration parameters:


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:


3. Real-Time Search & Add 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

  1. On the service overview page, click the Add DNS Zone button.
  2. In the modal dialog:
    • Zone Name: Enter the domain name (e.g., puq.info or 113.0.203.in-addr.arpa for 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.
  3. Click Add DNS Zone.

Add DNS Zone Dialog client-add-dns-zone.png


2. Automated Zone Provisioning Workflow

When the client clicks Add DNS Zone:

  1. Quota Check: WHMCS verifies that the client has not exceeded their service's maximum zone limit.
  2. Regex Validation: The domain name is verified for syntax compliance and checked against the provider's Zone name filter blacklist.
  3. PowerDNS Creation: The module sends a POST /api/v1/servers/localhost/zones request 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.
  4. Local Database Synchronization: WHMCS stores the zone record in puqPowerDNS_zones with status active.
  5. The modal closes and the dashboard updates automatically with a success toast notification.

3. Validation and Error Handling

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:

Client Zone Details & Toolbar 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.).

Client Records Table — All Types client-records-table.png

Filtered Records View Examples:

Client Records Filter — A Records client-records-filter-a.png

Client Records Filter — AAAA Records 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

  1. Click the Add Record button.
  2. 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.
  3. Enter the record Name (use @ for root domain apex, or enter subdomains like www, api, mail).
  4. Select the TTL (from 60 seconds up to 1 day).
  5. Enter the type-specific data values.
  6. Click Add Record. A loading spinner indicates active processing. Upon success, the table updates immediately.

Full Record Types Dropdown:

Add Record Modal — All 24 Types 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: Add Record Modal — Filtered Types client-add-record-filtered-types.png

ALIAS Record Addition:

Add Record Modal — ALIAS 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:

Client Edit Record Modal 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:


2. Setting Up a Reverse Zone

  1. Ensure your upstream transit provider or IP registrar (RIPE, ARIN, APNIC) has delegated the corresponding reverse DNS subnet to your PowerDNS name servers.
  2. In the WHMCS client area, click Add DNS Zone.
  3. In Zone Name, enter the reverse zone domain (e.g., 113.0.203.in-addr.arpa).
  4. Click Add DNS Zone. The zone is created on the server as an authoritative master zone.

3. Adding PTR Records

  1. Open the reverse zone by clicking Records.
  2. Click Add Record and select Type: PTR.
  3. Fill in the parameters:
    • Name: The host identifier within the reverse zone:
      • For IPv4 host 203.0.113.10 inside zone 113.0.203.in-addr.arpa, enter 10.
      • For IPv6 host 2001:db8::1 inside zone 8.b.d.0.1.0.0.2.ip6.arpa, enter the reversed host nibble sequence.
    • TTL: Choose a cache lifetime (e.g., 3600).
    • Domain Name: The fully-qualified target domain name (e.g., mail.example.com).
  4. 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.