Skip to content

Instantly share code, notes, and snippets.

@jordanpotti
Created July 18, 2017 16:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jordanpotti/387beab3e8371021aebc4a97f4c705d3 to your computer and use it in GitHub Desktop.
Save jordanpotti/387beab3e8371021aebc4a97f4c705d3 to your computer and use it in GitHub Desktop.
CNAME Records
while read i; do dig CNAME "$i" @8.8.8.8; done < ./<HOST LIST> > cname_domainname
cat cname_domainname|grep "IN CNAME"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment