Create a DKIM TXT record

  • Last updated on: 20189-03-12
  • Authored by: Rackspace Support

Domain Keys Identified Mail (DKIM) helps you protect your company from email spamming and phishing attempts. It provides a method for validating a domain name identity that is associated with a message through cryptographic authentication.

For a complete description of DKIM, see the link to recommended DKIM sites in the “External resources” section at the end of this article.

Note: The method described in this article differs from the way DKIM is set up for Rackspace Hosted Email and Exchange customers. If you are a Rackspace Email, Hosted Exchange, or Office 365 customer, contact the Rackspace Cloud Office team for help configuring the proper DKIM, DMARC, and SPF records.

The process of setting up DKIM involves the tasks that are detailed in the following steps:

  1. Choose a DKIM selector.

  2. Generate a public-private key pair.

  3. Publish the selector and public key by creating a DKIM TXT record.

  4. Attach the token to each outgoing email.

Create a DKIM TXT record

  1. Choose a simple, user-defined text string to be your DKIM selector. The selector is appended to the domain name to help identify the DKIM public key.

  2. Generate a public-private key pair by using a tool such as ssh-keygen on Linux or PuTTYgen on Windows. For help creating key pairs, see Generate RSA keys with SSH by using PuTTYgen.

  3. Log in to the Cloud Control Panel.

  4. In the top navigation bar, click Select a Product > Rackspace Cloud.

  5. Select Networking > Cloud DNS.

  6. Click the gear icon next to the name of an existing domain and select Add DNS Record.

  7. In the popup dialog box, select TXT Record as the record type.

  8. In the Hostname text box, enter the selector text string that you chose in Step 1 followed by the literal string ._domainkey. For example, if you use the default as the text string, you enter default._domainkey in the Hostname text box.

  9. Expand the Text box by dragging the corner, and then enter the following information, pasting the public key that you generated in Step 2 after the p= prompt:

    v=DKIM1; p=yourPublicKey
    

    When you’re finished, the TXT record looks similar to the following example:

    DKIM DNS TXT Record

  10. Click Add Record.

The DKIM TXT record is added to your domain.

For instructions about attaching the token to your outgoing email, see the Specification section at DKIMcore.org.

External resources