How Do I Create Custom DNS Records

Log in to your Control Panel

Select “Domains” in the Quick access section.

Click the Click to edit settings “Edit” icon next to the domain you wish to edit.

On the page that appears, click the Click to edit settings “Edit” icon in the “DNS Configuration” field.

This link will take you to the “DNS Configuration” page:

Untitled-18

On this page you can see several blocks of DNS records. Some are built-in and point to our default server. Others are user-defined and point to custom records.

You can add any type of DNS records by clicking an appropriate link. You will be asked to enter corresponding DNS data.

Adding Custom A Records

Normally, A records are used to map domain names and web server IP’s.

If you have selected to add a custom A record, the following page appears:

Untitled-17

Name: enter the string to map to the web server.
TTL: set how many seconds will elapse before the record is refreshed in the DNS cache.
Data: enter the IP of the web server.

WARNING: Please pay attention to $ORIGIN when you add an A record.

Adding Custom MX Records

Custom MX records should be added when you want to use your external mail servers to process your e-mail.

To use your external servers instead of those you get by default, you need to “disable mail service” on the “Domain Settings” page of your control panel.

To use the external mail servers in addition to those you get by default, you need to keep mail service enabled in the control panel.

The priority of the custom MX record will define whether your external servers will act as secondary or primary. For instance, if you set the priority of the custom MX record higher than 10 (e.g. 11), your external mail server will be used as secondary. If you set the priority of the custom MX record lower than 10 (e.g. 9), your external mail server will be used as primary.

In the latter case, your mail will be sent to your external mail server until it goes down or becomes otherwise inaccessible. Then the default mail server will take over.

When you enable mail service in the control panel, an MX record is created automatically in the DNS zone.

If you have selected to add a custom MX record, the following page appears:

Untitled-20

Name: your local domain name. If you leave the Name field blank, all mail will be redirected for the base zone.
Data: the priority of the record and mail domain name (not the IP) mail will be forwarded to.

IMPORTANT: To add an MX record for the base domain, leave the Name field empty.

Adding Custom CNAME Records

Finally, CNAME records are used to map aliases with domain names.

If you have selected add a custom CNAME record, the following page appears:

Untitled-1

Name: The alias you give to the real host name.
TTL: set how many seconds will elapse before the record is refreshed in the DNS cache.
Data: The real name of the host you create an alias to. This must be an official host name. It cannot be an alias. A CNAME-record should always point to an A-record to avoid circular references.

WARNING: Please pay attention to $ORIGIN when you add a CNAME record.

 Return to Knowledge Base