Created
July 8, 2020 13:57
-
-
Save eklingen88/0475ca849e313c0bdc12c1e07a074270 to your computer and use it in GitHub Desktop.
Look up nameservers for your Route53 Hosted Zones
This file contains hidden or 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
aws route53 list-hosted-zones | jq -r '.HostedZones[].Name' | while read -r line; do echo "$line"; echo; echo; dig @8.8.8.8 +short ns "$line"; echo "-------------"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment