Help and support

DNS records for the correct operation of mail on Cityhost

For the correct operation of the mail and to avoid submission of letters to spam, it is necessary to create the following DNS records for the domain:

The name of the record Record type TTL Value
@ MX 3600
@ TXT 3600 v=spf1 mx a ip4: ~all
dkim._domainkey TXT 3600 v=DKIM1; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDlt+2bV7KfUhHtP+eexPcs4YvrMLCl+jrls8R0W8Mh2XWKI6JdMj3/2uNOFB6EaOYKz06uLYZ2dzRdA1Mw/IBr1909A08HDU9ONDXdVVqceWe7rgaH9CxTTTamU+lq JcAh9bLOzSQAv6pUNV1I0+tePCnGzuhb0k7yNqCvAgk/DQIDAQAB

If the domain name is hosted on Cityhost's NS servers, you can configure the DNS record data automatically in a few mouse clicks, for this:

1. Go to the DNS section and open the settings of the desired domain, on the DNS records page, click on the Mail settings button:

2. In the window that opens, click on the Cityhost server button, then click the Save button.

3. New MX and TXT records will appear in the list of DNS records, pay attention, and you will be able to check mail after some time, when the newly created records will be synchronized via the Internet.

Pay attention! Make sure that there is only one SPF1 record for the domain, if there are two or more, delete the redundant one or merge all separate records into one. If the domain has more than one SPF1 record, emails sent through the domain will most likely end up in spam, or will not be delivered to recipients at all.

If you have 2 or more SPF1 records, and there is a need not to delete, but to combine them into one record, this can be done using the example v=spf1 mx a ip4: ip4: ip4: ~all where, and additional ipv4 addresses are combined into one entry. You can check the correctness of writing the syntax of the record through third-party services, for example [at the link]

Similar articles