Expand description
Simple library to query Team Cymru’s IP-to-ASN mapping information via DNS.
Please, see Team Cymru’s documentation before using this library. Cymru also warns not to use their mapping as Geo-IP service.
For easiest IP-to-ASN mapping, see cymru_ip2asn
function. To query only information about AS Number, see
cymru_asn
.
Structs§
- CymruASN
- ASN information
- CymruI
P2ASN - IP-to-ASN mapping information
Enums§
Functions§
- cymru_
asn - Resolve information about AS number using DNS
- cymru_
ip2asn - Query Cymru’s IP-to-ASN mapping service using DNS
Type Aliases§
- AsNumber
AsNumber
type to abstract away the fact that AS Number is (currently) 32 bit unsigned integer.