PUQ Mautic

Product Configuration

PowerDNS module WHMCS 

 Order now | Download | FAQ

 

Add new product to WHMCS
System Settings->Products/Services->Create a New Product

In the Module settings section, select the "PUQ PowerDNS" module

image-1725215821870.png

Zone template 

image-1731793137550.png

 

Here are the rules for creating DNS records. These records will be automatically generated when a zone is created. Placeholders like {zone} will be replaced with the actual zone name. The format for defining records is as follows:

Format:
name type ttl content

Explanation:

  1. name:

    • This specifies the name of the subdomain or record.
    • For example, ftp will expand to ftp.<zone.name>.
    • Use @ to refer to the main zone (root domain).
  2. type:

    • The type of DNS record.
    • Examples include: A, AAAA, MX, CNAME, TXT, SRV, CAA, DNSKEY, DS, NAPTR, TLSA.
  3. ttl (Time To Live):

    • The duration (in seconds) for which the record is cached by DNS resolvers.
    • Recommended default is 3600 seconds (1 hour).
  4. content:

    • The value or data for the record, provided without abbreviations or placeholders.
    • For example, for an A record, this would be the IPv4 address.

These rules ensure consistency and accuracy when defining DNS records for your zones.

 

Example Zone Records Template

A Records (IPv4):

@           A       3600    192.168.1.1
@ A 3600 192.168.1.3
www A 3600 192.168.1.2
www2 A 3600 192.168.1.3

AAAA Records (IPv6):

@           AAAA    3600    2001:0db8:85a3:0000:0000:8a2e:0370:7334
@ AAAA 3600 2001:0db8:85a3:0000:0000:8a2e:0370:7336
www AAAA 3600 2001:0db8:85a3:0000:0000:8a2e:0370:7335
www2 AAAA 3600 2001:0db8:85a3:0000:0000:8a2e:0370:7335

CNAME Records (Aliases):

ftp         CNAME   3600    {zone}
ftp2 CNAME 3600 example.com

MX Records (Mail Exchange):

@           MX      3600    10 mail.{zone}
@ MX 3600 20 backupmail.{zone}

TXT Records (Text Data):

@           TXT     3600    v=spf1 ip4:192.168.1.1 -all
@ TXT 3600 SOME TXT TEXT
_dmarc TXT 3600 v=DMARC1; p=none; rua=mailto:dmarc@{zone}

CAA Records (Certification Authority Authorization):

@           CAA     3600    0 issue      letsencrypt.org
@ CAA 3600 0 issuewild comodoca.com
@ CAA 3600 0 iodef mailto:admin@{zone}

NAPTR Record (Naming Authority Pointer):

_sip._udp   NAPTR   3600    100 10 S SIP+D2U * sip.{zone}.

SRV Records (Service Locator):

_sip._tcp   SRV     3600    10 5 5060 sipserver.{zone}

Key Notes:

 



 

 

 

 

 


Revision #2
Created 1 September 2024 18:34:56 by Ruslan
Updated 16 November 2024 21:55:34 by Ruslan