Follow

How do I add a DKIM TXT record to my domain?

  • Applies to: Grid
    • Difficulty: Medium
    • Time: 15
    • Tools needed: None
  • Applies to: DV
    • Difficulty: Medium
    • Time: 15
    • Tools needed: None
  • Applies to: Managed WordPress
    • Difficulty: Medium
    • Time: 15
    • Tools needed: None

Overview

This article shows you how to add Domain Keys Identified Mail (DKIM) TXT records to your domain. DKIM is a method for fighting spam that works by associating outgoing email with a domain via a digital signature. The sending mail server attaches a "signature" to an email that has been encoded with a private key. If the receiving mail server is configured to check for DKIM, it will use a corresponding public key (the TXT record) to decode the signature and verify its authenticity. Because DKIM enabled email is less likely to be spam, recipient mail servers are less likely to filter the email. This can improve email deliverability.

This article is only for adding an existing DKIM record that you already have the info for. 

Important Note: DKIM is reputation based. Over time, using DKIM can raise the reputation of associated addresses and subsequently improve deliverability. However, addresses that send high volumes of low quality content that is regularly flagged by recipients may still be targeted by spam filters.

READ ME FIRST

This article is provided as a courtesy. Installing, configuring, and troubleshooting custom DNS settings is not supported by Media Temple. Please take a moment to review our Statement of Support.

Requirements

Your domain must be using Media Temple nameservers:

NS1.MEDIATEMPLE.NET
NS2.MEDIATEMPLE.NET


For information on how to confirm this for your domain, see this article: Performing a WHOIS search.

Instructions

Adding DKIM TXT records to your Media Temple zone file

Grid mail does not support DKIM. In order to use DKIM with a domain hosted on the Grid, your email must be managed elsewhere. If you’d like an additional layer of email verification for your Media Temple hosted email, you may want to check out this article for creating and adding an SPF record:
How can I create an SPF record for my domain?

1. Log into your Account Center and click on the domain that you'd like to add the DKIM TXT records to. Alternatively, hover over the domains tab at the top of the Account Center and click on Show All. Select the relevant domain from the list. 


2.Click the Edit DNS Zone File option under the DNS & ZONE FILES menu.

DKIM_1.png

4. Click + Add Row to create a new record. This record will tell the mail server that all email messages associated with this domain use DKIM.

DKIM_9.png

  • Subdomain (Name): _domainkey
  • Type: TXT
  • Data: o=-

5. Click + Add Row to create a new record and add your DKIM key. This is the public key that will be used to decode the email's associated digital signature. Once you've added both records, click on Save Changes. Allow up to 24 hours for propagation, after which time DKIM should be enabled for the domain. 

DKIM_8.png

  • Subdomain (Name): default._domainkey
  • Type: TXT
  • Data: Your DKIM key. 

Important! 

If your DKIM key in the Data field exceeds 255 characters and you do not break it up with quotes, you will receive the following error:

DKIM_18.png

This is likely because your key is 2048 bits instead of 1024. 

In order to add a record that exceeds 255 characters, you must break the record up with quotes (") and add both strings to the TXT field.

Sample 2048 bit key that exceeds 255 characters:

MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA4TWhAkE9cQBB7g2C6jGb
4jdiaShZEtWBkupXFtBdOdJTvrMTAEPIhZske9+bp/ILDYbWG0Tzw7DcmWoTPF+J
bNDH4mN8hSy1pPxyxsmvtFqr5bMlaWl42arkWR3Zzq9A/ReMcEfZ5avwP2JubH72
Bg0SP6NNfrUD9sAWtzOIAt1rT1UygohlB+2EdeHdWFN9neHHDN/hVzL82qufuMZ0
bOAHyn/kuT9hK0HkHc+vHTGIloPlhr6siNfmGwU/Lmv7d7uY/YFpvMvZrl90Fu77
5J7944VNMp6E7tGlJjlt01zDGa5QH1K1funRdrObLxxMgq0Z7RMx5GD5CHMS4tRn
eQIDAQAB

In order to enter the above key into the TXT field, divide it into multiple strings using quotation marks:

"MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA4TWhAkE9cQBB7g2C6jGb
4jdiaShZEtWBkupXFtBdOdJTvrMTAEPIhZske9+bp/ILDYbWG0Tzw7DcmWoTPF+J
bNDH4mN8hSy1pPxyxsmvtFqr5bMlaWl42arkWR3Zzq9A/ReMcEfZ5avwP2JubH72"

"Bg0SP6NNfrUD9sAWtzOIAt1rT1UygohlB+2EdeHdWFN9neHHDN/hVzL82qufuMZ0
bOAHyn/kuT9hK0HkHc+vHTGIloPlhr6siNfmGwU/Lmv7d7uY/YFpvMvZrl90Fu77
5J7944VNMp6E7tGlJjlt01zDGa5QH1K1funRdrObLxxMgq0Z7RMx5GD5CHMS4tRn
eQIDAQAB"

Now add both strings to the same data field for the TXT record. Do not include spaces between the strings. 

5. Click Save to commit the changes.

Instructions for Plesk

Plesk has a built-in way to toggle DKIM on and off. However, enabling DKIM for outgoing email requires that you get the associated TXT record from Plesk and add it to your Media Temple zone file. All required steps are included in the article. 

1. Log into your Plesk admin panel and click on Tools & Settings.

DKIM_10.png

2. Click on Mail Server Settings under Mail

DKIM_5.png

3. Scroll down to the DKIM section and check the boxes to enable.

DKIM_6.png

4. Scroll to the bottom and click on OK. You will then be transported back to the Tools & Settings menu where you'll receive a confirmation that your Mail settings have been updated. This has enabled DKIM for the server.

5. The next step is to enable DKIM for individual domains, which will create the associated TXT records in your Plesk zone file. Click on Websites & Domains to list your domains. 

DKIM_11.png

  • Alternatively, if you're using Plesk's service provider view, you will click on Domains and then select the relevant domain from the list. 

6. Click on Mail Settings for the domain that you'd like to enable DKIM protection on. 

DKIM_12.png

7. Scroll down and check the Use DKIM... box and click apply. 

DKIM_13.png

8. Enabling DKIM protection for the domain created the required TXT records in the domain's Plesk DNS zone file. In order for DKIM to work properly, these records will have to be added to your Media Temple zone file. Navigate back to the domain's settings and click on DNS Settings. 

DKIM_15.png

9. Scroll down until you see a TXT record that begins with "v=DKIM1;" followed by a long string of characters. This is the DKIM TXT record that needs to be added to your Media Temple zone file. Copy the entire record. If you need help creating this record in your Media Temple zone file, use the instructions at the beginning of the article. Once you've saved the record, allow up to 24 hours for propagation, after which time DKIM should be enabled for the domain. 

 

 

Resources

How can I create an SPF record for my domain?

 

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk