- Created by Cristina T., last modified on Oct 10, 2022
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's management 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:
Record Type | Details |
---|---|
IP Address (A) | Maps a hostname to a 32-bit IPv4 address. Type A rules have the following format:
where:
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:
where:
Examples: domain.com. IN AAAA abcd:1234:ffff:0:12:3:ab1:aa subdomain.domain.com. IN AAAA abcd:1234: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) authorized to issue certificates for that domain. CAA rules have the following format:
where:
The CAA record consists of a flags byte and a tag-value pair referred to as a ‘property’. Multiple properties may be associated with the same domain name by publishing multiple CAA records at that domain name.
Examples: example.com. IN CAA 0 issue ";" example.com. CAA 0 issue "letsencrypt.org" example.com. CAA 0 issuewild "comodoca.com" example.com. CAA 0 iodef "mailto:example@example.com" |
Alias for record (CNAME) | Canonical name record is an alias (or nickname) of one name to another. The A record to which the alias points can be either local or remote - on a foreign name server. This is useful when running multiple services (like an FTP and a webserver) from a single IP address. Each service can then have its own entry in DNS (like ftp.example.com. and www.example.com.). It is also used when running multiple HTTP servers, with different names, on the same physical host. CNAME rules have the following format:
where:
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 states: “If a CNAME record is present at a node, no other data should be present; this ensures that the data for a canonical name and its aliases cannot be different.” In order for these requirements to be met in DNS Manager, the value specified in the Zone alias name field of the CNAME record cannot be set for the DNS Zone name filed in NS, A, AAAA, SRV, CNAME and TXT records or for the Zone email field in an MX record. Click here for more info on this type of record. |
Nameserver (NS) | Maps a domain name to a list of DNS servers authoritative for that domain. Delegations depend on NS records. NS rules have the following format:
where:
authoritative host for the specified hostname. Examples: domain.com. IN NS ns1.example.com. domain.com. IN NS ns2.example.com. The NS records of $ORIGIN are displayed in bold characters. DNS Manager allows to choose in the interface which is the primary nameserver on a zone (required for some local TLDs). In order to set up an NS record as primary check Make primary when you add/edit the desired NS record. For BIND to take a DNS zone into consideration, at least one NS record must be defined for $ORIGIN in the respective zone. For best practice, it is recommended to have at least two NS records defined for each public domain. Click here for more info on this type of record. |
Mail exchanger (MX) | Maps a domain name to a list of mail exchange servers for that domain. MX rules have the following format:
where:
Examples: mail.domain.com. IN MX 10 domain.com. webmail.domain.com. IN MX 5 domain.com. Click here for more info on this type of record. |
Text record (TXT) | Allows an administrator to insert arbitrary text into a DNS record. This has been used to implement new functions with DNS support without allocating new record types. For example, this record is used to implement the Sender Policy Framework and DomainKeys specifications. TXT rules have the following format:
where:
Examples: domain.com. IN TXT "k=rsa; p=MEwwDQYerwqEWwE" subdomain.domain.com. IN TXT "this is a test" Click here for more info on this type of record. |
Service Record (SRV) | Specifies the location of the server(s) for a specific protocol and domain. SRV rules have the following format:
where:
Examples: _service._tcp.domain.com. IN SRV 0 1 9 subdomain.domain.com. *._tcp.domain.com. IN SRV 0 0 0 . on TCP protocol Click here for more info on this type of record. |
NAPTR record (NAPTR) | Naming Authority Pointers. NAPTR rules have the following format:
where:
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 on this type of record. |
Record Type | Details |
---|---|
Nameserver (NS) | Specifies a host which should be authoritative for the specified class. For class C reverse zones, 4PSA DNS Manager accepts NS records for $ORIGIN and supports classless delegation records, as described in RFC 2317, chapter 4. The NS records of $ORIGIN are displayed in bold characters. DNS Manager allows to choose in the interface which is the primary nameserver on a zone (required for some local TLDs). In order to set up an NS record as primary check Make primary when you add/edit the desired NS record. For BIND to take a DNS zone into consideration, at least one NS record must be defined for $ORIGIN in the respective zone. For best practice, it is recommended to have at least two NS records defined for each public domain. Class A and B zones support NS records for $ORIGIN and inferior class zones and do not support classless delegation records. NS rules have the following format:
where:
Examples: 1.2.3.in-addr.arpa. IN NS ns2.server.com. 1.2.3.in-addr.arpa. IN NS ns3.server.com. 0/29.1.2.3.in-addr.arpa. IN NS example.com. Click here for more info on this type of record. |
Reverse record (PTR) | Maps an IPv4 address to the canonical name for that host. Setting up a PTR record for a hostname in the in-addr.arpa. domain that corresponds to an IP address implements reverse DNS lookup for that address. PTR rules have the following format:
where:
Examples: 5.1.2.3.in-addr.arpa. IN PTR test.com. Click here for more info on this type of record. |
Alias for record (CNAME) | A canonical name record is an alias of one name to another. According to RFC 2317, CNAME records are only supported in C class reverse zones. CNAME rules have the following format:
where:
Examples: 0.1.2.3.in-addr.arpa. IN CNAME 0.0/29.1.2.3.in-addr.arpa. 1.1.2.3.in-addr.arpa. IN CNAME 1.0/29.1.2.3.in-addr.arpa. ... 7.1.2.3.in-addr.arpa. IN CNAME 7.0/29.1.2.3.in-addr.arpa. Click here for more info on this type of record. |
Text record (TXT) | Allows an administrator to insert arbitrary text into a DNS record. This has been used to implement new functions with DNS support without allocating new record types. For example, this record is used to implement the Sender Policy Framework and DomainKeys specifications. TXT rules have the following format:
where:
Examples: 4.1.2.3.in-addr.arpa. IN TXT "This is a test" Click here for more info on this type of record. |
Record Type | Details |
---|---|
Nameserver (NS) | Specifies a host which should be authoritative for the chosen class. The NS records can be defined only for $ORIGIN. The NS rules have the following format: ipv6_part.host_ipv6_addr.IP6.ARPA. IN NS servername. where:
For example: 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 information about this record type, see RFC4291. |
Reverse record (PTR) | This record type maps an IPv6 address to the canonical name for that host. Setting up a PTR record for a hostname in the IP6.ARPA. domain that corresponds to an IPv6 address implements reverse DNS lookup for that address. The PTR rules have the following format: IPv6_address IN PTR hostname. where:
For example: 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 information about this record type, see RFC4291. |
Record Type | Details |
---|---|
Nameserver (NS) | Maps a domain name to a list of DNS servers authoritative for that domain. Delegations depend on NS records. NS rules have the following format:
where:
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. The NS records of $ORIGIN are displayed in bold characters. DNS Manager allows to choose in the interface which is the primary nameserver on a zone (required for some local TLDs). In order to set up an NS record as primary check Make primary when you add/edit the desired NS record. For BIND to take a DNS zone into consideration, at least one NS record must be defined for $ORIGIN in the respective zone. For best practice, it is recommended to have at least two NS records defined for each public domain. Click here for more info on this type of record. |
NAPTR record (NAPTR) | Naming Authority Pointers. NAPTR rules have the following format:
where:
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" . Click here for more info on this type of record. |
DNS template example
Host | Record type | Value |
---|---|---|
[domain]. | NS | ns.[domain]. |
[domain]. | NS | ns1.example.com. |
[domain]. | A | [IP] |
ns.[domain]. | A | 10.150.11.100 |
mail.[domain]. | A | [IP] |
ns.[domain]. | A | [IP] |
webmail.[domain]. | A | [IP] |
[domain]. | MX (10) | mail.[domain]. |
ftp.[domain]. | CNAME | [domain]. |
- No labels
Except where otherwise noted, content in this space is licensed under a Creative Commons Attribution 4.0 International.