- Define how to route traffic for a domain or subdomain.
Each record contains:
- Name – Domain or subdomain (e.g.,
example.com
).
- Type – DNS record type (
A
,AAAA
, etc.).
- Value – IP address or hostname the record points to.
- Routing Policy – How Route 53 responds to queries.
- TTL – Duration the record is cached by DNS resolvers.
Common DNS Record Types in Route 53
- A – Maps a hostname to an IPv4 address.
- AAAA – Maps a hostname to an IPv6 address.
- CNAME – Maps a hostname to another hostname.
- Target must resolve via an
A
orAAAA
record. - Not allowed for the Zone Apex (e.g.,
example.com
). Only subdomains likewww.example.com
.
- NS – Lists the name servers for the hosted zone and controls DNS routing for the domain.
Other supported types:
CAA
, DS
, MX
, NAPTR
, PTR
, SOA
, TXT
, SPF
, SRV
.