How to Export a Zone File in AWS CloudShell

0

Hello, I was wondering if anyone knows the command to export the zone file for a domain in my AWS Route 53 using the CloudShell shown below in the screenshot when I login via the web browser. Enter image description here Much appreciated,

posta 3 mesi fa777 visualizzazioni
1 Risposta
1
Risposta accettata

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!

profile picture
ESPERTO
con risposta 3 mesi fa
profile pictureAWS
ESPERTO
verificato 3 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande