Create or edit a DNS template

DNS is enabled per domain, and you can define the DNS zone records for your customers. To make this easier, you can create templates with your most frequently used zone settings so that when you register a domain, you simply select a template and the associated zone settings are automatically applied.

Note: Even if you apply a custom template to a domain, you can still edit any of the zone settings for a particular domain.

DNS Templates support the use of an asterisk (*) as a wildcard to represent a third-level domain (or higher); however, wildcards (*) cannot be used in place of a top-level or second-level domain, and they cannot be used in the middle of a string (for example, test.*.domain.com).

The DNS template also supports a {{domain}} placeholder, which can be used to apply the domain name to any of the following fields:

  •    CNAME Records: Hostname
  •    MX Records: Hostname
  •    TXT Records: Text

For instance, for the domain example.com, if you enter www. in the Add Sub-Domain field of the CNAME section, the system saves the hostname as www.example.com when the template is applied.

Creating a DNS template

You can create a template that specifies the zone information that you want to apply to domains. You can then apply the custom template rather than manually entering the information for each zone record.

To create a DNS template

  1. In the Domains section of the Control Panel, click the Settings tab.
  2. Scroll down to the Manage DNS Templates section, and click Edit.
  3. Enter a name and description for the template in the Name and Description fields respectively. These fields are required.
    Note: The template name can be a maximum of 50 characters.
  4. Optionally, in the Add Sub-Domain text box, enter the third level of the domain name, such as www or ftp.
  5. Click Save DNS Settings.

Editing a DNS template

To edit a DNS template

  1. In the Domains section of the Control Panel, click the Settings tab.
  2. Scroll down to the Manage DNS Templates section, and click Edit.
  3. Choose the template that you want to edit from the DNS Template drop-down list.
    The zone settings that have already been defined are displayed.
  4. Make any required changes to the existing settings.
  5. To add a new record to the template, click the Add New Record drop-down list and choose the record type that you want to add to the template, and then complete the corresponding text field.
    See the table below for an explanation of each of the available records and settings.
  6. Click Save DNS Settings.
Record Type Field
A Maps the domain name to its IP address. You can specify an IP Address for each A record that you add to the template.
  • Subdomain - The third level of the domain name, such as www or ftp.
  • IP Address - Internet Protocol Address. A numberic address that computers recognize, for example, 123.45.54.123.
AAAA Maps the domain name to the IPv6 address.
  • Subdomain - The third level of the domain name, such as www or ftp.
  • IPv6 Address - Internet Protocol version 6 is a next generation Internet Protocol version designed as the successor to version 4. It is normally written as eight groups of four hexadecimal digits (i.e. 2001:0db8:85a3:0000:0000:8a2e:0370:7334)
CNAME Canonical Name. CNAME records can be used when you want a subdomain to point to another hostname. This allows you to create an alias for your domain.
  • Subdomain - The third level of the domain name, such as www or ftp.
  • Hostname - The FQDN of the domain that you want to access.
MX Mail Exchange - MX records determine how mail is delivered to your domain. Ensures that email that is sent to you is routed to the correct destination.
  • Subdomain - The third level of the domain name, such as www or ftp.
  • Priority - The priority of the target host, lower value means more preferred. The preference can be any number from 0 to 255.
  • Hostname - The FQDN of the domain to which you want to point.
SRV Service record.
  • Subdomain - The third level of the domain name, such as www or ftp.
  • Hostname - The FQDN of the domain to which you want to point.
  • Priority - The priority of the target host, lower valuemeans more preferred. The preference can be any number from 0 to 255.
  • Weight - A relative weight for records with the same priority.
  • Port - The TCP or UDP port on which the service is to be found.
TXT Text Record. Allows you to attach comments to a hostname, for example, SPF data to validate that email is being sent from the IP address of the domain's mail server.
  • Subdomain - The third level of the domain name, such as www or ftp.
  • Text - The comments that you want to include, to a maximum of 254 characters.
DFWD (Forward) Redirects visitors to another website (that you own) when they type your domain name in the browser address filed.
DFWDM (Masked Forward) Redirects visitors to another website, but displays your domain name in the address field.
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.
Powered by Zendesk