Skip to content

Instantly share code, notes, and snippets.

@sderosiaux
Created November 8, 2017 13:11
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 sderosiaux/3d52a6b6b1ba0b6303f2950aa3923cfc to your computer and use it in GitHub Desktop.
Save sderosiaux/3d52a6b6b1ba0b6303f2950aa3923cfc to your computer and use it in GitHub Desktop.
Google Cloud IPs
for i in 1 2 3 4 5; do nslookup -q=TXT "_cloud-netblocks$i.googleusercontent.com" 8.8.8.8 | tr ' ' '\n' | grep ip4 | cut -d':' -f2 ; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment