Opens in a new tab

How to add DNS records in Amazon Route 53

In Route 53, records live in a hosted zone. Leave the record name blank for the root — not @ — quote TXT values, and split anything longer than 255 characters yourself: Route 53 does not, and rejects a 2048-bit DKIM key pasted in one piece.

Name fieldBlank for the root; the subdomain part otherwise
TXT valuesIn double quotes; split over 255 characters by hand
Alias at the rootAlias records (to AWS resources)
ChangesOn all Route 53 nameservers within about 60 seconds
Nameserversns-NNNN.awsdns-NN .com/.net/.org/.co.uk

Where the DNS records are

In the Route 53 console, open Hosted zones, choose the zone, then Create record. DNSSEC is on the zone’s DNSSEC signing tab. Make sure the registrar lists the four nameservers of this hosted zone — every zone gets its own four.

What to type in the name field

In the console, enter only the part before your domain, and leave the name blank for the root — Route 53’s documentation says not to type @. The API and CLI take the full name instead.

You were given a record forType in the name field
The domain itself — SPF, verification codes, MX(leave blank)
DMARC_dmarc
A DKIM key (selector s1, for example)s1._domainkey
A subdomain such as www or mailwww

Adding a record

  1. Open Hosted zones and choose the zone.
  2. Select Create record.
  3. Enter the record name as in the table above and choose the type.
  4. Enter the value — for TXT, in double quotes; several values for the same name go on separate lines of the same record.
  5. Set a TTL (Route 53 recommends 60 to 172,800 seconds) and select Create records.

Check the record you just added

Enter the full name — _dmarc.yourdomain.com, s1._domainkey.yourdomain.com — and the type. If it answers, it is published; if it is not there yet, try again after a few minutes.

TXT records and long DKIM keys

Route 53 does not split long values. A TXT string can be at most 255 characters, so a 2048-bit DKIM key must be entered as several quoted strings on one line — “first part” “second part” — or Route 53 rejects it (CharacterStringTooLong). Receivers join the parts back together.

Pointing the root domain at a service

Alias records can sit at the root, but only point to AWS resources — CloudFront, a load balancer, an S3 website, API Gateway — or another record in the same zone, not to an outside host name. Queries for aliases to AWS resources are free.

DNSSEC

Choose Enable DNSSEC signing on the zone; Route 53 uses a customer-managed KMS key, which AWS bills separately. Then view the DS information and, if the domain is registered elsewhere, add the DS record at that registrar. AWS advises lowering the zone’s TTLs to an hour first.

Common mistakes

  • Typing @ for the root — leave the name blank.
  • Pasting a 2048-bit DKIM key as one string: Route 53 rejects it; split it into quoted parts.
  • TXT values without quotes.
  • The registrar pointing at another hosted zone’s nameservers.

Setting up email? The exact records for each service are in our email setup guides; to watch a change reach resolvers worldwide, use the propagation checker.

Questions

How long do Route 53 changes take?

AWS says changes usually reach all Route 53 nameservers within 60 seconds; resolvers then follow the TTL of the record they cached.

Sources

Checked against Amazon Route 53’s own documentation on 25 September 2026:

Know the record is right, and stays right

Add your domain and we check its DNS on a schedule, tell you when a record changes, and watch a new record reach resolvers worldwide. Free for your first domain.

Create a free account