Skip to content

Instantly share code, notes, and snippets.

@lyndell
Created March 6, 2017 04:28
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Embed
What would you like to do?
Breakdown IPv6 reverse DNS strings
IPv6=$1
host ${IPv6} | awk '{ip = substr($1,1,31); ptr = substr($1,33); printf("Search for zone:\n%s\n\nAdd Name:\n%s\nWith the requested value\n", ptr, ip);}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment