Skip to content

Instantly share code, notes, and snippets.

@AmIJesse
Last active March 13, 2019 01:52
Show Gist options
  • Save AmIJesse/9e43580fef27e8bfa39ef75c48f0aae5 to your computer and use it in GitHub Desktop.
Save AmIJesse/9e43580fef27e8bfa39ef75c48f0aae5 to your computer and use it in GitHub Desktop.
dig @8.8.8.8 +short txt _cloud-netblocks.googleusercontent.com | sed 's/"//g; s/ip4://g; s/ip6://g;' | tr ' ' '\n' | grep include | cut -d ':' -f2 | xargs dig @8.8.8.8 +short txt | sed 's/"//g; s/ip4://g; s/ip6://g;' | tr ' ' '\n' | grep '/'
8.34.208.0/20
8.35.192.0/21
8.35.200.0/23
108.59.80.0/20
108.170.192.0/20
108.170.208.0/21
162.216.148.0/22
162.222.176.0/21
173.255.112.0/20
192.158.28.0/22
199.192.112.0/22
199.223.232.0/22
199.223.236.0/23
23.236.48.0/20
23.251.128.0/19
35.204.0.0/14
35.208.0.0/13
107.167.160.0/19
107.178.192.0/18
146.148.2.0/23
146.148.4.0/22
146.148.8.0/21
146.148.16.0/20
146.148.32.0/19
146.148.64.0/18
35.203.0.0/17
35.203.128.0/18
35.203.192.0/19
35.203.240.0/20
130.211.8.0/21
130.211.16.0/20
130.211.32.0/19
130.211.64.0/18
130.211.128.0/17
104.154.0.0/15
104.196.0.0/14
208.68.108.0/23
35.184.0.0/14
35.188.0.0/15
35.216.128.0/17
35.217.128.0/17
35.190.0.0/17
35.190.128.0/18
35.190.192.0/19
35.235.224.0/20
35.192.0.0/14
35.196.0.0/15
35.198.0.0/16
35.199.0.0/17
35.199.128.0/18
35.200.0.0/15
35.235.216.0/21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment