Domain Verification with AWS Route 53

To add and verify a sending domain in Mailtrap, you need access to your domain’s DNS records and your domain 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 AWS Route 53. 

Note: This guide assumes that your domain is either registered and managed with AWS Route 53 or registered elsewhere but points to AWS Route 53. It also assumes that you’ve already created and configured a Hosted Zone for your domain. 

  1. Go to the AWS Management Console, type Route 53 in the search bar, and click on it. 

  1. Navigate to Hosted Zone settings for the domain you’ve added to Mailtrap. 

  1. Click the domain you’ve added to Mailtrap. 

  1. Click Create record button. 

  1. Return to Mailtrap. On the Domain Verification page, you’ll see the DNS records you need to add to AWS Route 53. These are Domain Verification, DKIM, SPF, DMARC, and Domain Tracking. You’ll need the values under Type, Name, and Value

    • Make sure you check the type next to each record in Mailtrap and choose a relevant one in AWS Route 53. 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 
    • Note that you should have only one SPF record. So, if you already have one for your domain, update its value to include Mailtrap. It’s okay to have multiple DMARC records.
  1. Copy the Name and Value for each record one by one. You can do this by hovering and clicking each record. 

  1. And paste them into AWS Route 53. The namings of the records are the same in AWS Route 53 as in Mailtrap. 

  1. Use the default value for TTL as indicated in Mailtrap.
  2. Click Add another record after adding each record in AWS Route 53. 
  3. Repeat the process of copying and pasting for each record until you’ve added all the Mailtrap DNS records to AWS Route 53. Click Create Records

  1. 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.

  1. 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. 

If you have additional questions, consult AWS documentation or contact us at support@mailtrap.io

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