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,

preguntada hace 3 meses776 visualizaciones
1 Respuesta
1
Respuesta aceptada

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
EXPERTO
respondido hace 3 meses
profile pictureAWS
EXPERTO
revisado hace 3 meses

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas