To create a custom record to your DNS zone:
- Select Domain info in the Domain Settings menu.
- On the page that appears, click the Edit icon in the DNS Configuration field.
- This link will take you to the DNS Configurationpage:
- On this page you can see several blocks of DNS 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.
- 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 mail service is disabled, this built-in MX record remains in the DNS zone, and you can remove it manually using the control panel interface.
- 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.
- 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.