Created
December 6, 2019 04:36
-
-
Save emanuelet/f173f09bf301944406573e76d9529d63 to your computer and use it in GitHub Desktop.
Fetch all the Google App Engine IP Ranges
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dig +short -t TXT _cloud-netblocks1.googleusercontent.com | grep -Po 'ip4:\K\S+' >> ips.txt | |
dig +short -t TXT _cloud-netblocks2.googleusercontent.com | grep -Po 'ip4:\K\S+' >> ips.txt | |
dig +short -t TXT _cloud-netblocks3.googleusercontent.com | grep -Po 'ip4:\K\S+' >> ips.txt | |
dig +short -t TXT _cloud-netblocks4.googleusercontent.com | grep -Po 'ip4:\K\S+' >> ips.txt | |
dig +short -t TXT _cloud-netblocks5.googleusercontent.com | grep -Po 'ip4:\K\S+' >> ips.txt |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment