How to add DNS records to popular hosting providers

In This Article:

To add and verify a sending domain in Mailtrap, you need access to your domain’s DNS records and your hosting provider account. 

Read this article for more details on setting up your sending domain. Continue reading to learn how to add Mailtrap DNS records to popular hosting providers. 

GoDaddy

  1. Go to GoDaddy and locate the domain you’ve added to Mailtrap. 

  1. Open the DNS settings and click Add New Record. 

  1. Return to Mailtrap. You’ll need the values under Type, Name, and Value. The namings of these records in Mailtrap are the same as in GoDaddy.

  1. Copy the Name and Value for each record one by one.

  1. And paste them into GoDaddy. 

  1. Make sure you check the type next to each record in Mailtrap and choose a relevant one in your hosting provider. There are four CNAME type records (Domain Verification, DKIM (2), and Custom Tracking Domain) and two TXT type records (SPF and DMARC). Read this article for detailed information on each DNS record. 

DNS Types and Categories in Mailtrap 

DNS record types in GoDaddy 

  1. Click Save after adding each record in GoDaddy. 
  2. Repeat the process of copying and pasting for each record until you’ve added all the Mailtrap DNS records to GoDaddy. 

  1. Then, return to Mailtrap and click the Verify DNS Records button. 

  1. Some records may be verified immediately, while some may take more time. Mailtrap will check the DNS records automatically every hour, but you can force a check by clicking the Verify DNS Records button again. The Status will change from Missing to Verified, and the red dot will turn green. 

Cloudflare setup

  1. Open the Cloudflare dashboard and click the domain you’ve added to Mailtrap.

  1. Click DNS in the left navigation panel. This will open DNS records. 

  1. Click the Add Record button. 

  1. Return to Mailtrap and copy each record one by one. Once again, you’ll need Type, Name, and Value. For CNAME records, Cloudflare refers to the Value field as Target. For TXT records, the Value field is referred to as Content. Make sure you select the correct type from the dropdown menu. 

  1. If you’re not using proxy, make sure you disable it. By default, it will be enabled. 

  1. Click Save and repeat the process for all the remaining DNS records. 
  2. When you’re done, click Verify DNS Records in Mailtrap. 

Google Domains setup

  1. Open the Google Domains dashboard and choose the domain you added to Mailtrap. 
  2. Go to the DNS menu.
  3. Click the Custom Records tab and add all six records, keeping the following in mind:
    • Google’s Host name is the same as Mailtrap’s Name. Similarly, Google’s Data is equal to Mailtrap’s Value field.
    • Add SPF record as TXT type, ignoring Google’s SPF type. Records added this way won’t be verified correctly.
    • When adding the SPF record, don’t add anything in the Host name field.
  4. Save the records and click Verify DNS Records in Mailtrap. 
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us