Skip to content
/ asq Public

Command line command asq that queries AS of an IP using bgpview.io

License

Notifications You must be signed in to change notification settings

e-t-u/asq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

asq [-v] IP-ADDRESS

Command line command to tell AS of an IP address. AS, Autonomous System is the top level of the IP routing in the Internet. AS usually means the international operator of the IP address.

Program uses REST API of bgpview.io to retrieve the information.

Example

(at command shell)

$ host -4 -t A ibm.com
ibm.com has address 129.42.38.10
$ asq 129.42.38.10
IBM-EI
$ asq -v 129.42.38.10
IBM-EI - IBM - Events Infrastructure - US
IBMCCH-RTP - IBM - US
ISSC-AS - IBM Corporation - US
$ host -4 -t A www.ibm.com
...
... has address 59.151.164.181
$ asq 59.151.164.181
AKAMAI-AS
$ asq -v 59.151.164.181
AKAMAI-AS - Akamai Technologies, Inc. - US
AKAMAI-TYO-AP - Akamai Technologies Tokyo ASN - SG

Installation

cargo install --path .

installs the asq command to ~/.cargo/bin

About

Command line command asq that queries AS of an IP using bgpview.io

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages