How to setup DNS records for your SecurityGateway Hosted Domain
Creating DNS records through the domain service provider is essential to be able to send and receive mail to and from the outside world.
Detailed below are common records that will need to be created in order to configure SMTP sessions to interact with SecurityGateway hosted servers.
CNAME Records
CNAME records are used to create aliases for your domain that point to the SecurityGateway hosted server.
For example, if the desired host name of the mail server is mail.example.com, the CNAME record in the DNS manager of your domain provider for example.com would be configured as the record below.
Record Syntax
| Host | Points To | TTL to (Time to Live) |
| sg.mysghosted.com | 30 |
MX Records
Mail exchange (MX) records are used to tell senders where to route email. These records can be configured and published through your domain service provider
Record Syntax
| Priority | Host | Destination | TTL to (Time to Live) |
| 0 | @ | usmanmx03.mysghosted.com | 30 |
Priority - Informs the sender which destination to attempt the connection to first.
Host - Leave blank or enter @ symbol.
Destination - The host name of the mail server.
Time to Live (TTL) - The length of time before the records change. Normally entered in seconds or minutes (based on DNS provider).
SPF Records
Sender Policy Framework (SPF) records are created to prevent spammers from sending mail using your domain name (spoofing) by specifying a mail server(s) that are able to send mail as your domain.
Record Syntax
| Host | TXT Value | TTL to (Time to Live) |
| @ | v=spf1 a mx -all | 60 |
