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,

질문됨 3달 전776회 조회
1개 답변
1
수락된 답변

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
전문가
답변함 3달 전
profile pictureAWS
전문가
검토됨 3달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠