Skip to content

Instantly share code, notes, and snippets.

View dsiebel's full-sized avatar

Dominik Siebel dsiebel

View GitHub Profile
@dsiebel
dsiebel / list_gcp_ipranges.sh
Last active May 7, 2018 15:16 — forked from n0531m/list_gcp_iprange.sh
Google Cloud Platform : ip address range
#!/usr/bin/env bash
[[ -v VERBOSE ]] && set -x
set -eu
# This script lists all ip ranges currently used by
# the google cloud platform, according to ns-lookup / dig
# TXT _cloud-netblocks.googleusercontent.com
#
# https://cloud.google.com/compute/docs/faq#ipranges
#