Access ASN data with the opr asn
command:
- ASN lookup:
opr asn AS3
- ASN lookup by IP:
opr asn 1.1.1.1
- ASN lookup by domain:
opr asn example.com
- ASN lookup by email domain:
opr asn @orange.com
- Your IP's ASN:
opr asn me
# Batch queries possible:
opr asn AS5,8.8.8.8 @google.com
# Return results in JSON:
opr asn --json example.com
## Return all IPs under an ASN:
opr asn --ip AS5
## Return all CIDR under an ASN:
opr asn --cidr AS5
## Read from stdin:
echo tesla.com | opr asn
Changelog
- 708b3e0 chore: fix typo
- d629c3a chore: update doc and error msg
- b5317c9 feat: add asn command
- 6e2a253 fix: handle nil querystring
- ded0b93 fix: pass linter check
Full Changelog: v0.0.1...v0.0.3