Skip to content
This repository has been archived by the owner on Oct 28, 2024. It is now read-only.

Latest commit

 

History

History
14 lines (9 loc) · 357 Bytes

ns.md

File metadata and controls

14 lines (9 loc) · 357 Bytes

Getting the value of your subdomain NS records in AWS

  • Note your hosted zone ID
HZC=$(aws route53 list-hosted-zones | jq -r '.HostedZones[] | select(.Name=="subdomain.example.com.") | .Id' | tee /dev/stderr)
  • Note your nameservers for the subdomain
aws route53 get-hosted-zone --id $HZC | jq .DelegationSet.NameServers