Skip to content

Instantly share code, notes, and snippets.

@jayswan jayswan/googips.sh
Created Feb 25, 2016

Embed
What would you like to do?
Get a List of Google CIDR Blocks
dig @8.8.8.8 +short txt _netblocks.google.com | awk '{gsub("ip4:","");for (col=2; col<NF;++col) print $col}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.