Cloudflare
To add and verify a sending domain in Mailtrap, you need access to your domain's DNS records and your domain provider account.
check it for more details on setting up your sending domain. Continue reading to learn how to add Mailtrap DNS records to Cloudflare.
Open the Cloudflare dashboard and select the domain you've added to Mailtrap.

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

Click on the Add Record button.

On the Domain Verification page in Mailtrap, you'll see the DNS records you need to add to Cloudflare. These are Domain Verification, DKIM, DMARC, and Domain Tracking. You'll need the values under Type, Name, and Value.

Pay attention to the Type next to each record in Mailtrap and choose a relevant one in Cloudflare. There are four CNAME type records (Domain Verification, DKIM (2), and Custom Tracking Domain) and one TXT type record (DMARC).


Copy the Name and Value for each record one by one. You can do this by hovering and clicking each record.

Paste the the values into Cloudflare. Remember that Cloudflare refers to the Value field as Target for CNAME records and Content for TXT records.

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

Use the default value for TTL.
Click Save and repeat the process for all the remaining DNS records.
Then, return to Mailtrap. 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 Re-check DNS Records button.

If you add all the required DNS records correctly, the Status of DNS records will change from Missing to Verified, and the red dots will turn green.

Last updated
Was this helpful?

