Here is a basic command structure you can use in AWS CloudShell:
aws route53 list-resource-record-sets --hosted-zone-id ZONE_ID --output json > mydomain.zone.json
You'll need to replace ZONE_ID with your actual hosted zone ID. This command will export the records into a JSON file named mydomain.zone.json.
If this has answered your question or was helpful, accepting the answer would be greatly appreciated. Thank you!
- Is there a way to redirect DNS request to the DNS public zone if a record was not found in the DNS private zone?Accepted Answerasked 8 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- How do I check if resource record sets in my Route 53 public hosted zone are accessible from the internet?AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 5 months ago
- EXPERTpublished 5 days ago
- EXPERTpublished 5 months ago