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 State | Observed Condition | BGP Routing Impact | What It Means for Your Domain |
|---|---|---|---|
| Public routed ASN with RPKI valid origin | ASN announces prefixes with a valid ROA on file | Validating resolvers and routers accept the route as cryptographically verified | Best practice: the route is protected against origin hijacks. |
| Public ASN with RPKI not-found | ASN announces prefixes but no ROA exists | Routes are accepted but unprotected against origin spoofing | Consider creating ROAs in your RIR portal to secure the prefix. |
| RPKI invalid origin | Announced prefix violates an existing ROA (wrong ASN or prefix too long) | Validating routers drop the route, potentially blackholing traffic | Urgent: 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 labs | Valid for private BGP topologies but invisible globally. |
| Reserved or documentation ASN | AS0, AS23456 (AS_TRANS), or RFC 5398 documentation ranges | Reserved by IANA and never announced in production BGP | Valid 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
- 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.
- 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.
- 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.
- 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 Range | Bits | Status per IANA | Governing RFC |
|---|---|---|---|
| 0 | 16-bit | Reserved (RFC 7607) | RFC 7607 |
| 1 to 64495 | 16-bit | Public: assigned by RIRs | RFC 6996 |
| 64496 to 64511 | 16-bit | Documentation (RFC 5398) | RFC 5398 |
| 64512 to 65534 | 16-bit | Private use (RFC 6996) | RFC 6996 |
| 65535 | 16-bit | Reserved | RFC 7300 |
| 65536 to 65551 | 32-bit | Documentation (RFC 5398) | RFC 5398 |
| 131072 to 4199999999 | 32-bit | Public: assigned by RIRs | RFC 6793 |
| 4200000000 to 4294967294 | 32-bit | Private use (RFC 6996) | RFC 6996 |
| 4294967295 | 32-bit | Reserved | RFC 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:
| ASN | Organization | Infrastructure Type |
|---|---|---|
| AS13335 | Cloudflare, Inc. | CDN and DNS (1.1.1.1) |
| AS15169 | Google LLC | Search, Cloud DNS (8.8.8.8), YouTube |
| AS16509 | Amazon.com, Inc. (AWS) | CloudFront CDN, EC2, Route 53 |
| AS8075 | Microsoft Corporation | Azure, Bing, Microsoft 365 |
| AS54113 | Fastly, Inc. | Edge CDN |
| AS20940 | Akamai Technologies | Edge CDN |
| AS14061 | DigitalOcean, LLC | Cloud VPS hosting |
| AS24940 | Hetzner Online GmbH | Dedicated 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
- Inspect any IP with the IP lookup.
- Check blocklist status with the blocklist checker.
- Calculate prefix sizes with the CIDR calculator.
- Inspect the reverse DNS hostname for any IP with the reverse IP lookup.
- Understand the BGP protocol that routes between ASNs in the BGP explained guide.
- Secure your routes with RPKI and ROAs.
- Read the Autonomous System Number guide.