Domain host

How to add MX, TXT and CNAME records in Amazon Route 53

AWS's DNS service. Records live in a hosted zone; several values for one name share a single record.

Find the DNS editor

  1. Open the Route 53 console and select Registered domains, then your domain.
  2. Select Manage DNS, then the hosted zone for your domain. If no hosted zone exists, create one first.
Open Amazon Route 53

What goes in each field

Record Host field Value field
MX Record name Value (priority first, then the server)
TXT Record name Value
CNAME Record name Value
  • For your bare domain, leave Record name empty.
  • Wrap TXT values in double quotes.
  • For other names, type only the part before your domain (for example _dmarc). Amazon Route 53 adds your domain automatically.

Adding a record at Amazon Route 53

MX record

  1. In the hosted zone, select Create record.
  2. Leave Record name empty, choose MX as Record type, and keep Simple routing.
  3. In Value, enter the priority, a space, then the mail server (for example 10 mail.example.com). Put each mail server on its own line in the same record.
  4. Select Create records, then delete any older MX records.

TXT record

  1. Select Create record.
  2. Enter the Record name (leave it empty for your bare domain) and choose TXT.
  3. In Value, enter the text inside double quotes. If you already have a TXT record on that name, add the new value as another line in the same record.
  4. Select Create records.

CNAME record

  1. Select Create record.
  2. Enter the Record name (for example autodiscover) and choose CNAME.
  3. Enter the target in Value.
  4. Select Create records.

Amazon Route 53 gotchas

Amazon Route 53 DNS: questions

How do I add an MX record in Amazon Route 53?

Open the Route 53 console and select Registered domains, then your domain. Select Manage DNS, then the hosted zone for your domain. If no hosted zone exists, create one first. In the hosted zone, select Create record. Leave Record name empty, choose MX as Record type, and keep Simple routing. In Value, enter the priority, a space, then the mail server (for example 10 mail.example.com). Put each mail server on its own line in the same record. Select Create records, then delete any older MX records.

How do I add a TXT record in Amazon Route 53?

Open the Route 53 console and select Registered domains, then your domain. Select Manage DNS, then the hosted zone for your domain. If no hosted zone exists, create one first. Select Create record. Enter the Record name (leave it empty for your bare domain) and choose TXT. In Value, enter the text inside double quotes. If you already have a TXT record on that name, add the new value as another line in the same record. Select Create records.

What goes in the Record name field at Amazon Route 53?

Leave it empty for records on your bare domain, such as MX and SPF. For the others, enter only the part before your domain, for example _dmarc. Amazon Route 53 adds your domain automatically.