CmdID

CmdID / Commands

aws-route53

CLI for AWS Route53 - Route 53 is a highly available and scalable Domain Name System (DNS) web service. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

List all hosted zones, private and public

aws route53 list-hosted-zonesIdentify

Show all records in a zone

aws route53 list-resource-record-sets --hosted-zone-id zone_idIdentify
--hosted-zone-idThe ID of the hosted zone that contains the resource record sets that you want to list. AWS CLI reference

Create a new, public zone using a request identifier to retry the operation safely

aws route53 create-hosted-zone --name name --caller-reference request_identifierIdentify
--nameThe name of the domain. AWS CLI reference
--caller-referenceA unique string that identifies the request and that allows failed CreateHostedZone requests to be retried without the risk of executing the operation twice. AWS CLI reference

Delete a zone (if the zone has non-defaults SOA and NS records the command will fail)

aws route53 delete-hosted-zone --id zone_idIdentify
--idThe ID of the hosted zone you want to delete. AWS CLI reference

Test DNS resolving by Amazon servers of a given zone

aws route53 test-dns-answer --hosted-zone-id zone_id --record-name name --record-type typeIdentify
--hosted-zone-idThe ID of the hosted zone that you want Amazon Route 53 to simulate a query for. AWS CLI reference
--record-nameThe name of the resource record set that you want Amazon Route 53 to simulate a query for. AWS CLI reference
--record-typeThe type of the resource record set. AWS CLI reference