Menu
Amazon Route 53
Developer Guide (API Version 2013-04-01)

Working with Resource Record Sets

After you create a hosted zone for your domain, such as example.com, you create resource record sets to tell the Domain Name System (DNS) how you want traffic to be routed for that domain.

For example, you might create resource record sets that cause DNS to do the following:

  • Route Internet traffic for example.com to the IP address of a host in your data center.

  • Route email for that domain (ichiro@example.com) to a mail server (mail.example.com).

  • Route traffic for a subdomain called operations.tokyo.example.com to the IP address of a different host.

Each resource record set includes the name of a domain or a subdomain, a record type (for example, a resource record set with a type of MX routes email), and other information applicable to the record type (for MX records, the host name of one or more mail servers and a priority for each server). For information about the different types of resource records, see DNS Domain Name Format.

The name of each resource record set in a hosted zone must end with the name of the hosted zone. For example, the example.com hosted zone can contain resource record sets for www.example.com and accounting.tokyo.example.com subdomains, but cannot contain resource record sets for a www.example.ca subdomain.

Note

To create resource record sets for complex routing configurations, you can also use the traffic flow visual editor and save the configuration as a traffic policy. You can then associate the traffic policy with one or more domain names (such as example.com) or subdomain names (such as www.example.com), in the same hosted zone or in multiple hosted zones. In addition, you can roll back the updates if the new configuration isn't performing as you expected it to. For more information, see Using Traffic Flow to Route DNS Traffic.

Amazon Route 53 doesn't charge for the resource record sets that you add to a hosted zone. For information about limits on the number of resource record sets that you can create in a hosted zone, see Limits.