diff --git a/docs/ns.md b/docs/ns.md index 0de79d2247..9931a6a350 100644 --- a/docs/ns.md +++ b/docs/ns.md @@ -3,7 +3,7 @@ - Note your hosted zone ID ```bash -aws route53 list-hosted-zones | jq '.HostedZones[] | select(.Name=="subdomain.example.com.") | .Id' +HZC=$(aws route53 list-hosted-zones | jq -r '.HostedZones[] | select(.Name=="subdomain.example.com.") | .Id' | tee /dev/stderr) ``` @@ -11,4 +11,4 @@ aws route53 list-hosted-zones | jq '.HostedZones[] | select(.Name=="subdomain.ex ```bash aws route53 get-hosted-zone --id $HZC | jq .DelegationSet.NameServers -``` \ No newline at end of file +```