Skip to content

Instantly share code, notes, and snippets.

@eklingen88
Created July 8, 2020 13:57
Show Gist options
  • Save eklingen88/0475ca849e313c0bdc12c1e07a074270 to your computer and use it in GitHub Desktop.
Save eklingen88/0475ca849e313c0bdc12c1e07a074270 to your computer and use it in GitHub Desktop.
Look up nameservers for your Route53 Hosted Zones
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