This guide is designed to help you set up the DNS records to make your domain available from outside.
CHECK FIRST
These steps are necessary to check before you make any changes to your DNS records.
- identify what is the domain you want to set up and run (please note that you must be an owner of such domain)
- identify the hostname of your IceWarp cloud account (for example, myaccount.onice.io in the URL address)
- identify your domain name registrar
CHANGE NEXT
Follow the steps below to set up your DNS records successfully.
- Create your domain
(navigate to the top left + sign and select New domain, enter the name and press Save)
- Navigate to your registrar’s DNS console and enter the following DNS records below (for example, GoDaddy, HostGator, HostMonster, BlueHost, Network Solutions, NameCheap, Gandi, Hover, or DreamHost)
DNS RECORD - CNAME
CNAME records allow you to choose which URLs will open webmail when typed into your internet browser. We have chosen the most usual ones (mail, webmail, webclient), but it is up to you which one you want to use (enter only the one you want to use, for example, "mail"). However, the autodiscover record must be typed exactly as shown. You will learn more about autodiscover further in this article.
CNAME | |||
Type | Host | Points to | TTL |
CNAME | autodiscover | myaccount.onice.io. | 3600 |
CNAME | myaccount.onice.io. | 3600 | |
CNAME | webmail | myaccount.onice.io. | 3600 |
CNAME | webclient | myaccount.onice.io. | 3600 |
DNS RECORD - MX
A mail exchanger record (MX) specifies the mail server responsible for accepting email messages.
MX | ||||
Type | Host | Points to | Priority | TTL |
MX | @ | myaccount.onice.io | 5 | 3600 |
DNS RECORD - SRV (AUTODISCOVER)
Autodiscover record is needed for an easy login into external clients such as mobile phones. You can learn more about Autodiscover in our article.
SRV | ||||||||
Type | Service | Protocol | Name | Target | Priority | Weight | Port | TTL |
SRV | _sip | _tcp | @ | mail.mydomain.com. | 5 | 1 | 5060 | 3600 |
SRV | _sip | _udp | @ | mail.mydomain.com. | 5 | 1 | 5060 | 3600 |
SRV | _sip | _tls | @ | mail.mydomain.com. | 5 | 1 | 5061 | 3600 |
SRV | _autodiscover | _tcp | @ | mail.mydomain.com. | 5 | 1 | 443 | 3600 |
SRV | _caldav | _tcp | @ | mail.mydomain.com. | 5 | 1 | 80 | 3600 |
SRV | _caldavs | _tcp | @ | mail.mydomain.com. | 5 | 1 | 443 | 3600 |
SRV | _carddav | _tcp | @ | mail.mydomain.com. | 5 | 1 | 80 | 3600 |
SRV | _carddavs | _tcp | @ | mail.mydomain.com. | 5 | 1 | 443 | 3600 |
SRV | _ischedule | _tcp | @ | mail.mydomain.com. | 5 | 1 | 80 | 3600 |
SRV | _ischedules | _tcp | @ | mail.mydomain.com. | 5 | 1 | 443 | 3600 |
SRV | _xmpp-client | _tcp | @ | mail.mydomain.com. | 5 | 1 | 5222 | 3600 |
SRV | _xmpp-server | _tcp | @ | mail.mydomain.com. | 5 | 1 | 5222 | 3600 |
DNS RECORD - DKIM
DKIM creates a domain-level authentication framework for email using private-key technology and a DNS record to prove the source and content of a message.
TXT | |||
Type | Host | Value | TTL |
TXT | @ | v=spf1include:spf.onice.io~all |
3600 |
TXT | selector._domainkey.mydomain.com | v=DKIM1;k=rsa;n=1024;p=MIGfMA0GCSqSGlb3DQEB | 3600 |
- myaccount.onice.io. – specify your account name instead
- mail.mydomain.com. – specify your domain
- selector._domainkey – use your values from “Selector data” in DKIM setup (admin console)
- once you have entered the necessary DNS records at your registrar’s management console, navigate back to IceWarp WebAdmin, choose Domain List, select Properties of your domain, and choose DNS validation to validate your settings
- You can find out more about DKIM settings in our IceWarp Academy video.
- items that were entered or set correctly will be highlighted in green
DNS RECORD - SPF
The Sender Policy Framework SPF can specify which IP addresses and/or hostnames are authorized to send emails from the specific domain. This example record contains only an MX server. You can create your record with wizard at www.spfwizard.net. For more information on what SPF is available here.
example.com IN TXT "v=spf1 mx ~all"
PTR RECORD (rDNS)
This record is set up on every cloud by default, and no further steps are needed. On-premise customers must contact their internet service provider of public IP address to issue a change on the PTR record. For more information on what SPF is available here.
Comments
0 comments
Article is closed for comments.