Set Up Custom DNS

Certain Mailchimp accounts with dedicated IP addresses can send campaigns that appear to come directly from their domain, instead of from Mailchimp servers.

This is an advanced feature for experienced marketers and developers that allows you more control over your sending reputation, while still providing the same level of reputation monitoring that Mailchimp offers for all accounts.

Before You Start

To set up custom DNS, you must edit three files, known as "records," through your hosting provider, domain registrar, or DNS provider.

  • A record
  • TXT record
  • CNAME record Your Mailchimp account provides the information you need for each of these records, but an experienced user should implement the changes. If you need assistance editing your domain records, contact your administrator or hosting service.

Note

  • Add multiple SPF records by separating them with a space.
  • Depending on your provider, you may need to add a period at the end of your CNAME records. Some providers add this period automatically, in which case adding an additional period will result in an error.

Recommendations

Editing the existing A record for your root domain can cause issues with your website. Consider creating a dedicated subdomain for your custom DNS, such as mail1.yourdomain.com, instead.

To cut down on testing and configuration time, set a low value for the TTL (time to live), for example, 300 (seconds). When you're certain that everything is set up properly, set the TTL to a longer interval.

Set Up Custom DNS in Mailchimp

When your sending domain is ready, you can set up custom DNS in your Mailchimp account. Follow the steps below.

  1. Click your profile name to expand the Account Panel, and click Account.
  2. Click the Extras option and choose Custom DNS.
  3. On the Custom DNS configuration page, you'll see an eligible IP address below the Domains heading. We'll automatically populate eligible IPs on this page. Click the Configure button.
  4. Enter your custom domain name and click Save.
  5. The next page provides information to update in the A, TXT, and CNAME records of your domain. After you've saved the new records, click the Ok, I'm Finished button. If you see an error alert, correct any issues and click Recheck.
  6. When all the records are verified, click the Done button to go back to the Custom DNS configuration page.
  7. To enable the custom DNS feature, click the toggle from off (red) to on (gray).

After custom DNS is enabled for your account, we'll display the Your new domains are ready to go! Configuration Status.

account dns configurationstatusgood

Note

  • DKIM requires underscores in the CNAME file. However, in the past, DNS didn’t allow for underscores and some registrars still do not allow them to appear in the CNAME file. If you receive an error to this effect when you attempt to set up your custom DKIM, the issue is on the registrar's side.

    We recommend that you set up a secondary custom domain specifically for email, switch DNS providers, or reach out directly to your current DNS provider about this issue.

  • If you want to turn off custom DNS after the domain has been validated, contact our Support Team.

Was this article helpful?

Anything else we can do to improve our site?