-
-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c88811e
commit a133069
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# aws route53 | ||
|
||
> CLI for AWS Route53 - Route 53 is a highly available and scalable Domain Name System (DNS) web service. | ||
> More information: <https://awscli.amazonaws.com/v2/documentation/api/latest/reference/route53/index.html>. | ||
- List all hosted zones, private and public: | ||
|
||
`aws route53 list-hosted-zones` | ||
|
||
- Show all records in a zone: | ||
|
||
`aws route53 list-resource-record-sets --hosted-zone-id {{zone_id}}` | ||
|
||
- Create a new, public zone using a request identifier to retry the operation safely: | ||
|
||
`aws route53 create-hosted-zone --name {{name}} --caller-reference {{request_identifier}}` | ||
|
||
- Delete a zone (if the zone has non-defaults SOA and NS records the command will fail): | ||
|
||
`aws route53 delete-hosted-zone --id {{zone_id}}` | ||
|
||
- 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 {{type}}` |