/digg

Look up region and other information for any Google IP address

Primary LanguageGoGNU General Public License v3.0GPL-3.0

digg GoDoc Go Report Card goreleaser

Look-up region and other information for any Google-owned IP address:

$ digg $(dig king.com +short)
prefix: 34.64.0.0/10 scope: none service: none
prefix: 34.120.0.0/16 scope: global service: Google Cloud
$ digg 8.8.8.8 2a00:1450:4009:814::200e
prefix: 8.8.8.0/24 scope: none  service: none
prefix: 2a00:1450::/32 scope: none service: none

An online version of this tool can be found at runson.cloud.

Installation

Homebrew

brew tap sampointer/digg
brew install digg

Packages

Debian and RPM packages can be found on the releases page.

Docker

git clone https://github.com/sampointer/digg; cd digg
docker build -t digg .
docker run --rm -it digg $(dig king.com +short)

Similar tools

Company Tool
AWS digaws
Azure digaz
Google digg