Get the glue records for a domain
#!/bin/bash | |
TGT=$1 | |
ROOT=${TGT##*.} | |
ROOT=${ROOT%.} | |
ROOT="${ROOT}." | |
RS=$(dig +short -t ns $ROOT|sed 1q) | |
dig +noall +additional +norec $TGT @$RS |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment