gce-ips

fetch a list of Google Compute Engine IPs using DNS lookup

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
gce-ips
1.0.27 years ago8 years agoMinified + gzip package size for gce-ips in KB

Readme

gce-ips
Build Status Standard Version
fetch a list of Google Compute Engine IPs using DNS lookup
gce-ips list --format=json
gce-ips check 104.196.27.39

Installation

npm i gce-ips -g

Usage

  • list: return a list of GCE IPs in JSON or text format.
  • check: check whether an IP is GCE:
$? = 0 if IP is in range. $? = 1 if IP is out of range.

License

ISC