ASN Lookup: Inspect Autonomous System Holder, BGP Prefixes, and RPKI Status

Look up any Autonomous System Number (AS13335), IPv4 or IPv6 address (1.1.1.1), CIDR prefix, or domain name to inspect the network holder, Regional Internet Registry (RIR), announced BGP prefixes, and RPKI Route Origin Authorization (ROA) validity.

100% Free · No Sign Up ⚡ Instant Live Query 🛡️ Browser DoH · Nothing Stored by Us
DNS-over-HTTPS
Try:

What this result means: the 5 ASN lookup and BGP origin states

An ASN is a globally unique number registered with IANA and operated by a network that routes IP prefixes using BGP. The table below defines the five states this tool reports.

ASN Lookup StateObserved ConditionBGP Routing ImpactWhat It Means for Your Domain
Public routed ASN with RPKI valid originASN announces prefixes with a valid ROA on fileValidating resolvers and routers accept the route as cryptographically verifiedBest practice: the route is protected against origin hijacks.
Public ASN with RPKI not-foundASN announces prefixes but no ROA existsRoutes are accepted but unprotected against origin spoofingConsider creating ROAs in your RIR portal to secure the prefix.
RPKI invalid originAnnounced prefix violates an existing ROA (wrong ASN or prefix too long)Validating routers drop the route, potentially blackholing trafficUrgent: fix the ROA or the announcement to restore connectivity.
Private-use ASN (RFC 6996)AS64512-65534 (16-bit) or AS4200000000-4294967294 (32-bit)Not routable on the public internet; used for internal routing labsValid for private BGP topologies but invisible globally.
Reserved or documentation ASNAS0, AS23456 (AS_TRANS), or RFC 5398 documentation rangesReserved by IANA and never announced in production BGPValid only in documentation examples and test labs.

The state this tool reports most often in practice is the second row: a healthy public ASN whose prefixes carry no ROA. That is not an error - it means the network routes normally today but has not claimed the cryptographic protection RPKI offers. The two states worth immediate attention are the third (Invalid, where fixing the ROA or the announcement restores connectivity) and the fifth (reserved or private space, which should never appear as a public route origin at all).

How to find the ASN of an IP address and verify route ownership

  1. Map the domain to its IP address. Resolve the A record over DNS, either with this tool (enter the domain name) or with a forward DNS lookup.
  2. Map the IP to its BGP prefix. Query Team Cymru's DNS service or RIPEstat to find the most-specific BGP prefix containing the IP and its originating ASN.
  3. Verify route ownership. Cross-check the originating ASN against the RIR allocation database and confirm that a valid RPKI ROA binds the prefix to the expected origin ASN.
  4. Audit for hijacks and leaks. Compare the observed origin ASN against your expected ASN and check RPKI status: any invalid or unexpected origin indicates a potential BGP hijack or misconfiguration.

Look up ASN and BGP prefixes from the command line

# 1. IP to ASN via Team Cymru DNS
dig +short 1.1.1.1.origin.asn.cymru.com TXT

# 2. ASN to holder name
dig +short AS13335.asn.cymru.com TXT

# 3. Batch lookup with whois
whois -h whois.cymru.com " -v 1.1.1.1"

# 4. RDAP registration data for an ASN
curl -s https://rdap.arin.net/registry/autnum/13335 | jq .

# 5. Announced prefixes via RIPEstat
curl -s "https://stat.ripe.net/data/announced-prefixes/data.json?resource=AS13335" | jq .data.prefixes

Reference table: IANA ASN number space and major global ASNs

The table below defines the IANA allocation ranges, followed by well-known global infrastructure ASNs.

ASN RangeBitsStatus per IANAGoverning RFC
016-bitReserved (RFC 7607)RFC 7607
1 to 6449516-bitPublic: assigned by RIRsRFC 6996
64496 to 6451116-bitDocumentation (RFC 5398)RFC 5398
64512 to 6553416-bitPrivate use (RFC 6996)RFC 6996
6553516-bitReservedRFC 7300
65536 to 6555132-bitDocumentation (RFC 5398)RFC 5398
131072 to 419999999932-bitPublic: assigned by RIRsRFC 6793
4200000000 to 429496729432-bitPrivate use (RFC 6996)RFC 6996
429496729532-bitReservedRFC 7300

Two ranges account for most day-to-day confusion. The 64512 to 65534 block is RFC 6996 private space: networks that use these ASNs internally (lab topologies, corporate backbones, cloud VPCs) are invisible to this tool by design, because their announcements never reach the global table. The documentation ranges exist so tutorial authors can write realistic-looking ASNs without the risk of colliding with a real, routed network.

The table below lists the well-known infrastructure ASNs you will encounter most often in lookups:

ASNOrganizationInfrastructure Type
AS13335Cloudflare, Inc.CDN and DNS (1.1.1.1)
AS15169Google LLCSearch, Cloud DNS (8.8.8.8), YouTube
AS16509Amazon.com, Inc. (AWS)CloudFront CDN, EC2, Route 53
AS8075Microsoft CorporationAzure, Bing, Microsoft 365
AS54113Fastly, Inc.Edge CDN
AS20940Akamai TechnologiesEdge CDN
AS14061DigitalOcean, LLCCloud VPS hosting
AS24940Hetzner Online GmbHDedicated hosting and cloud VPS

Recognizing these ASNs on sight is a genuine diagnostic shortcut: when an IP lookup resolves to one of the CDN or cloud rows, the address belongs to a proxy or hosting edge rather than a corporate network, and any reputation, geolocation, or abuse investigation should continue at that provider's layer.

What this tool does not check

  • BGP propagation delays: newly announced prefixes take minutes to hours to propagate through the global routing table, so a prefix that was just announced may not appear in RIPEstat data yet.
  • CDN and reverse-proxy origin masking: querying a Cloudflare-proxied domain shows AS13335 (Cloudflare) instead of the origin web host's ASN because the visitor connects to Cloudflare edge servers, not to the origin.
  • Multi-origin ASNs (MOAS): a prefix legitimately announced by two or more ASNs (for load balancing or anycast) returns multiple origin ASNs in the Team Cymru answer, which this tool reports as a single primary result.
  • RPKI NotFound is not the same as Invalid: NotFound means no ROA exists (the route is accepted but unprotected), whereas Invalid means a ROA exists but the announcement contradicts it (the route is dropped). Both are reported distinctly.

ASN patterns across the internet

Across the wider internet, cloud and CDN providers dominate the ASN landscape: a small set of hyperscale ASNs (Cloudflare, Google, Amazon, Akamai, Fastly) carries a disproportionate share of web traffic, while RPKI ROA signing rates remain uneven across regional registries and older allocations.

Frequently Asked Questions

How do I find the ASN of an IP address?+

Enter the IP address in this tool, or query Team Cymru from the command line with dig +short 1.1.1.1.origin.asn.cymru.com TXT. The response returns the originating ASN, BGP prefix, country, registry, and allocation date. Commercial tools and libraries (such as Python ipwhois) perform the same lookup against WHOIS or RDAP registries.

Who owns this ASN and how are ASNs assigned?+

ASNs are assigned by the five Regional Internet Registries (ARIN, RIPE NCC, APNIC, LACNIC, AFRINIC) to organizations that operate routing infrastructure such as ISPs, cloud providers, and enterprise networks. The holder name shown in this tool comes from the IANA registry data synced to Team Cymru and RIPEstat. To officially obtain an ASN, an organization must demonstrate multi-homing (connections to two or more upstream networks) or unique routing policy requirements.

Which IP prefixes does an ASN announce?+

The announced prefixes are listed in this tool from RIPEstat, which aggregates BGP routing data from global Route Collectors. An AS typically announces its own allocated CIDR blocks plus any customer prefixes it proxies. The prefix list changes in real time as networks announce or withdraw routes, so the output reflects the current BGP routing table snapshot.

Why does looking up my website's IP show Cloudflare (AS13335) or AWS (AS16509) instead of my company name?+

Your website sits behind a reverse proxy or CDN. When Cloudflare proxies your traffic, the public IP resolves to AS13335 (Cloudflare) because the visitor connects to Cloudflare edge servers, not to your origin web host. The same applies to AWS CloudFront (AS16509), Akamai (AS20940), and Fastly (AS54113). Your origin ASN appears only if you remove the proxy or query the origin IP directly.

Can a single IP prefix be announced by more than one ASN (Multi-Origin AS)?+

Yes, a single IP prefix can be announced by more than one ASN, which is called Multi-Origin AS (MOAS). This happens legitimately during transitions, load balancing across providers, or anycast deployments. However, MOAS also increases the risk of BGP route leaks and hijacks, because a malicious AS can announce the same prefix and attract traffic. RPKI ROAs help by cryptographically binding a prefix to only the authorized origin ASNs.

Next checks

Last verified: 2026-11-22