Team Cymru IP-to-ASN

Free

by Team Cymru IP-to-ASN

Provided by Team Cymru IP-to-ASN

Not yet rated
Platform
API
Pricing
Free
Account required
No
Ads
Light
Last verified
22 hours ago
Developer
Team Cymru IP-to-ASN
Official URL

Overview

Team Cymru's IP to ASN mapping is a free lookup service that tells you which network announces a given IP address. For each address it returns the origin AS number, the BGP prefix the address sits in, the registry that allocated it, a country code, the allocation date and the name of the network. Network engineers, security analysts and researchers use it to label logs and trace where traffic comes from.

It is not a web form. You query it with standard tools over two protocols. Over WHOIS you connect to Team Cymru's whois server and can send a whole list of addresses in one go, wrapped in begin and end lines, which the page recommends doing with netcat. Over DNS you look up a TXT record for the reversed address in one of several zones, with separate zones for IPv4 origin, IPv6 origin, upstream peers and AS descriptions. DNS is the suggested route for frequent or automated lookups.

The routing data comes from Team Cymru's BGP peers and is refreshed every few hours, while the registry details come from the five regional internet registries. The page is clear about the limits: the country code is registry data, not the location of the machine, and the feed is unfiltered, so leaked or bogus routes can appear.

Features

  • Maps an IP address to its origin ASN and BGP prefix
  • Returns registry, country code, allocation date and AS name
  • WHOIS interface with bulk mode for lists of addresses
  • DNS interface with zones for IPv4, IPv6, peers and AS details
  • Peer lookups showing likely upstream networks
  • IPv4 and IPv6 support
  • Data from live BGP peers, refreshed every four hours

Privacy

See the official privacy policy. Lookups are plain WHOIS or DNS queries with no account; the web page describing the service loads Google Tag Manager and HubSpot scripts.

Pros & Cons

Pros

  • Free to use, with no registration mentioned
  • Works with whois, netcat and dig, so it scripts easily
  • Bulk mode handles thousands of addresses in one connection
  • The documentation is frank about accuracy limits

Cons

  • Command-line only: there is no web lookup form
  • Many single WHOIS queries from one source get null routed
  • Country codes come from registries and are not a geolocation
  • Unfiltered data can include leaked or bogon routes

Community Reviews (0)

No written reviews yet — be the first to rate this tool.

Similar Tools