aws-ip-lookup

command module
v0.0.0-...-ed6114d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 15, 2020 License: MIT Imports: 8 Imported by: 0

README

aws-ip-lookup

Overview

This tool downloads and parses the list of AWS IP address ranges, and then searches through those ranges to find one that contains a given IPv4 or IPv6 address.

Install

go get github.com/MrGossett/aws-ip-lookup

Example

$ dig www.amazon.com A +short
tp.47cf2c8c9-frontier.amazon.com.
d3ag4hukkh62yn.cloudfront.net.
13.249.104.206

$ aws-ip-lookup -target 13.249.104.206
Target:  13.249.104.206
Prefix:  13.249.0.0/16
Region:  GLOBAL
NBG:     GLOBAL
Service: AMAZON

License

MIT.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL