Skip to content
Managing DNS templates

Managing DNS Records on Templates ​

This page explains how to view the DNS records of a template as well as how to add and remove such records.

Viewing the DNS Records ​

If you click the name of a template, you will be redirected to the template'smanagement page. This is where you can view the list of DNS records included in the template. Here's what each field in the list stands for:

  • Host: This is the hostname or IP address of every DNS record.
  • Record type: The type of DNS Record.
  • Value: Depending on the record type, this field displays an IP address, an alias, a name server, a hostname, or a text.
  • Replacement
  • Priority
  • Weight
  • M: If you click this icon, you can edit the details of a specific DNS record.

Adding a DNS Record ​

Once you're in the template's management page, click the Add DNS records button. This is where you select the record type and configure each record accordingly:

Click here to view records for forward DNS zones.
Record TypeDetails
IP Address (A)Maps a hostname to a 32-bit IPv4 address.

Type A rules have the following format:
hostname. IN A XXX.XXX.XXX.XXX

where:
- XXX.XXX.XXX.XXX is the IP address for the hostname.
- hostname. is the zone name or one of its subdomains.

Examples:
domain.com. IN A 1.2.3.4
subdomain.domain.com. IN A 1.2.3.4
domain.com. IN A [IP]

Click here for more info on this type of record.
AAAA Record (AAAA)Maps a hostname to a 128-bit IPv6 address.

AAAA rules have the following format:
hostname. IN AAAA:AAAA:AAAA:AAAA:AAAA:AAAA:AAAA:AAAA

where:
- AAAA:AAAA:... is the IPv6 address for the hostname.
- hostname. is the zone name or a subdomain.

Examples:
domain.com. IN AAAA abcdπŸ”’ffff:0:12:3:ab1:aa
subdomain.domain.com. IN AAAA abcdπŸ”’ffff:0:12:3:ab1:aa

Click here for more info on this type of record.
Certification Authority Authorization (CAA)Specifies one or more Certification Authorities (CAs) allowed to issue certificates for the domain.

Format:
hostname. IN CAA flags tag value

where:
- flags = 0–255 (critical flag)
- tag = ASCII string identifying the property
- value = value associated with the tag

The CAA record contains a flags byte and a tag–value pair (β€œproperty”). Multiple CAA records can coexist.

Available tags:
- issue – authorizes a CA to issue certificates
- issuewild – authorizes wildcard certificates
- iodef – URL for reporting policy violations

Examples:
example.com. IN CAA 0 issue ";"
example.com. IN CAA 0 issue "letsencrypt.org"
example.com. IN CAA 0 issuewild "comodoca.com"
example.com. IN CAA 0 iodef "mailto:example@example.com"
Alias (CNAME)Alias (canonical name) pointing one hostname to another.

Useful for multiple services on the same IP (ftp.example.com, www.example.com), or multiple HTTP servers on the same host.

Format:
hostname. IN CNAME servername.

where:
- hostname. is the zone name or a subdomain
- servername. is an FQDN inside or outside the zone

Examples:
ftp.domain.com. IN CNAME inside.domain.com.
ftp1.domain.com. IN CNAME outside.zone.com.
k1._domainkey.domain.com. IN CNAME dkim.zone.com.

RFC 1034: If a CNAME exists at a node, no other data must exist at that node.

Click here for more info.
Nameserver (NS)Maps a domain name to its authoritative name servers.

Format:
hostname. IN NS servername.

where:
- hostname. is the zone or subdomain
- servername. is an authoritative nameserver

Examples:
domain.com. IN NS ns1.example.com.
domain.com. IN NS ns2.example.com.

Best practice: at least two NS records for each public domain.

Click here for more info.
Mail exchanger (MX)Maps a domain to its mail exchange servers.

Format:
hostname. IN MX preference servername.

where:
- hostname. = zone or subdomain
- preference = priority (lower = higher priority)
- servername. = mail server FQDN

Examples:
mail.domain.com. IN MX 10 domain.com.
webmail.domain.com. IN MX 5 domain.com.

Click here for more info.
Text record (TXT)Allows arbitrary text in DNS. Used for SPF, DKIM, DMARC, verification, etc.

Format:
hostname. IN TXT "Text"

Examples:
domain.com. IN TXT "k=rsa; p=MEwwDQYerwqEWwE"
subdomain.domain.com. IN TXT "this is a test"

Click here for more info.
Service Record (SRV)Specifies location of a service (protocol, port, target).

Format:
_Service._Protocol.Hostname. IN SRV TTL Priority Weight Port Target

Parameters:
- Service – symbolic service name
- Protocol – TCP/UDP
- Hostname. – domain
- TTL – time to live
- Priority – lower = higher priority
- Weight – load balancing
- Port – port number
- Target – target hostname (not CNAME!)

Examples:
_service._tcp.domain.com. IN SRV 0 1 9 subdomain.domain.com.
*._tcp.domain.com. IN SRV 0 0 0 .

Click here for more info.
NAPTR Record (NAPTR)Naming Authority Pointer. Used for rewrite rules (ENUM, SIP, etc.).

Format:
order preference services flag regexp replacement

Parameters:
- order – processing order
- preference – secondary sort
- services – resolution service
- flag – next lookup modifier
- regexp – primary rewrite rule
- replacement – fallback rewrite rule

Examples:
domain.com. IN NAPTR 100 10 "u" "sip+E2U" "!^.$!sip:information@foo.se!i" .
subdomain.domain.com. IN NAPTR 102 10 "u" "smtp+E2U" "!^.
$!mailto:information@foo.se!i" .

Click here for more info.
Click here to view records for reverse DNS zones.
Record TypeDetails
Nameserver (NS)Specifies a host which should be authoritative for the specified class.

For class C reverse zones, NS records for $ORIGIN are accepted and classless delegation records are supported (RFC 2317, chapter 4).

Important notes:
β€’ NS records for $ORIGIN appear bold in the interface.
β€’ A primary nameserver can be selected for zones (required by some local TLDs).
β€’ At least one NS must exist for $ORIGIN β€” recommended minimum is two for public domains.

Class behavior:
β€’ Class A & B: NS records supported for $ORIGIN and inferior zones. Classless delegation not supported.
β€’ Class C: Classless delegation supported. DNS Manager can auto-generate matching CNAMEs if Automatically generate is enabled (available when subnet mask < 24 β†’ numerical value > 24).

Record format:
ip_part.host_ip_addr.in-addr.arpa. IN NS servername.

Where:
β€’ host_ip_addr.in-addr.arpa. β†’ zone name
β€’ ip_part β†’ remainder of the IP completing the address (varies by class)
β€’ servername. β†’ authoritative nameserver hostname

Examples:
1.2.3.in-addr.arpa. IN NS ns2.server.com.
1.2.3.in-addr.arpa. IN NS ns3.server.com.
0.1.2.3.in-addr.arpa. IN NS example.com.

Click here for more information.
Reverse record (PTR)Maps an IPv4 address to a hostname β†’ used for reverse DNS lookup in the in-addr.arpa. domain.

Record format:
IPaddress IN PTR hostname.

Where:
β€’ IPaddress β†’ IPv4 address under IN-ADDR.ARPA
β€’ hostname. β†’ forward hostname associated with that IP

Example:
5.1.2.3.in-addr.arpa. IN PTR test.com.

Click here for more information.
Alias for record (CNAME)Canonical name alias mapping (supported only in Class C reverse zones, per RFC 2317).

Record format:
ip_part.network.host_ip_addr.in-addr.arpa. IN CNAME ip_part.host_ip_addr.in-addr.arpa.

Where:
β€’ ip_part β†’ IP completion segment
β€’ network β†’ subnet mask
β€’ host_ip_addr.in-addr.arpa. β†’ zone name

Examples:
0.1.2.3.in-addr.arpa. IN CNAME 0.0.1.2.3.in-addr.arpa.
1.1.2.3.in-addr.arpa. IN CNAME 1.0.1.2.3.in-addr.arpa.
7.1.2.3.in-addr.arpa. IN CNAME 7.0.1.2.3.in-addr.arpa.

Click here for more information.
Text record (TXT)Stores arbitrary text β€” supports SPF, DomainKeys and other DNS-metadata functions.

Record format:
ip_part.host_ip_addr.in-addr.arpa. IN TXT "Text information"

Where:
β€’ ip_part β†’ completion segment of the IP
β€’ host_ip_addr.in-addr.arpa. β†’ zone name
β€’ "Text information" β†’ any text payload

Example:
4.1.2.3.in-addr.arpa. IN TXT "This is a test"

Click here for more information.
Click here to view record types for reverse IPV6 dns zones
Record TypeDetails
Nameserver (NS)Specifies an authoritative nameserver for an IPv6 reverse zone. NS records may be defined only for $ORIGIN.

Record format:
ipv6_part.host_ipv6_addr.IP6.ARPA. IN NS servername.

Where:
β€’ ipv6_part β†’ completes the IPv6 address when prepended to host_ipv6_addr
β€’ host_ipv6_addr.IP6.ARPA. β†’ zone name
β€’ servername. β†’ authoritative nameserver hostname

Examples:
1.0.2.3.4.5.6.7.8.9.0.1.2.3.4.5.6.7.8.9.0.A.B.C.D.E.F.IP6.ARPA. IN NS example.com.
5.5.1.3.2.1.0.2.3.4.5.6.7.8.9.0.1.2.3.4.5.6.7.8.9.0.A.B.C.D.E.F.IP6.ARPA. IN NS example.com.

For more details, see RFC 4291.
Reverse Record (PTR)Maps an IPv6 address to a hostname β†’ implements reverse DNS lookup in the IP6.ARPA domain.

Record format:
IPv6_address IN PTR hostname.

Where:
β€’ IPv6_address β†’ IPv6 reference in IP6.ARPA
β€’ hostname. β†’ resolved canonical hostname

Examples:
8.b.d.0.1.0.0.2.IP6.ARPA. IN PTR test.com.
1.1.1.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.8.B.D.0.1.0.0.2.IP6.ARPA. IN PTR test.com.
*.1.1.1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.8.B.D.0.1.0.0.2.IP6.ARPA. IN PTR test.com.

For more details, see RFC 4291.
Click here to view record types for E.164 zones.
Record TypeDetails
Nameserver (NS)Maps a domain name to authoritative DNS servers. NS records are required for delegation.

Record format:
hostname. IN NS servername.

Where:
β€’ hostname. β†’ zone name or subdomain
β€’ servername. β†’ authoritative nameserver

Examples:
1.2.e164.arpa. IN NS ns1.example.com.
1.2.e164.arpa. IN NS ns2.example.com.
5.1.2.e164.arpa. IN NS ns1.example.com.

Additional notes:
β€’ $ORIGIN NS records appear bold in interface
β€’ At least one NS required per zone (recommended minimum 2 for public domains)
β€’ Primary selection available in DNS Manager UI

More info: IETF
NAPTR record (NAPTR)Naming Authority Pointer record β€” used for URI resolution and rewriting, especially for telephony (ENUM).

Record format:
order preference services flag regexp replacement

Where:
β€’ order β†’ evaluation order when multiple records exist
β€’ preference β†’ priority among identical order values
β€’ services β†’ resolution protocol (e.g. sip, smtp)
β€’ flag β†’ affects next DNS lookup stage
β€’ regexp β†’ rewrite rule logic
β€’ replacement β†’ fallback replacement string

Examples:
1.2.e164.arpa. IN NAPTR 100 10 "u" "sip+E2U" "!^.*$! sip:information@foo.se!i" .
1.2.e164.arpa. IN NAPTR 102 10 "u" "smtp+E2U" "!^.*$! mailto:information@foo.se!i" .

More info: IETF

DNS Template Example ​

HostRecord typeValue
[domain].NSns.[domain].
[domain].NSns1.example.com.
[domain].A[IP]
ns.[domain].A10.150.11.100
mail.[domain].A[IP]
ns.[domain].A[IP]
webmail.[domain].A[IP]
[domain].MX (10)mail.[domain].
ftp.[domain].CNAME[domain].
Last updated: Jan 12, 2026