ASN Lookup

Map a literal IPv4 or IPv6 address to the BGP origin network announcing its most-specific visible prefix, or inspect one ASN directly. Results preserve multi-origin answers and separate routing observations from registry metadata.

  • IPv4, IPv6, ASPLAIN, and ASDOT input
  • All observed origin ASNs preserved
  • IANA special-use interpretation
  • Authority, TTL, DNSSEC, and raw evidence

Run an ASN lookup

Enter one bare IPv4/IPv6 literal or ASN in ASPLAIN or ASDOT form. CIDR prefixes, hostnames, URLs, ports, zone IDs, and shortened IPv4 forms are rejected.

Used for zone discovery and validation controls. TXT evidence is queried from authoritative DNS by Octetify’s same-origin analyzer.

Normalized query preview

Canonical input
8.8.8.8
Input type
IPv4 address
DNS TXT query
8.8.8.8.origin.asn.cymru.com.
Local interpretation
No IANA special-purpose match detected; routability is not inferred from syntax.
Live examples:

The lookup sends only the constructed Team Cymru DNS name to Octetify’s DNS analyzer. Team Cymru states that its routing feed is refreshed every four hours. Resolver and DNS caches can add lag; a result is a point-in-time observation, not proof of ownership, reachability, location, or reputation.

Read the fields correctly

  • Origin ASN is an AS observed announcing the matching BGP prefix.
  • Prefix registry fields describe the address allocation; ASN fields describe the number registration.
  • Team Cymru says country, registry, and allocation fields come from the RIRs; AS descriptions come from cidr-report.
  • Allocation dates are registry dates, not route first-seen dates or freshness timestamps.
  • Country codes are registry data, not device or user geolocation.

Multi-origin and no-answer cases

A prefix may legitimately have several origin ASNs because of multihoming, anycast, migration, or routing policy. This tool shows all origins reported. NXDOMAIN means the Cymru zone has no held mapping for the constructed name; NODATA, SERVFAIL, timeout, and partial evidence are reported separately and never converted into a fabricated “unrouted” verdict.

How the DNS mapping works

IPv4 octets are reversed into origin.asn.cymru.com. IPv6 is expanded to 32 hexadecimal nibbles and reversed into origin6.asn.cymru.com. ASN metadata uses AS<number>.asn.cymru.com. All are TXT queries.

Primary references: Team Cymru IP-to-ASN Mapping Service; IANA IPv4 Special-Purpose Registry; IANA IPv6 Special-Purpose Registry; IANA Special-Purpose ASN Registry; RFC 6890; RFC 5396 AS notation; and RFC 6996 private ASNs. Embedded classifications were reviewed against the registries on 2026-09-27; consult the live registries for later changes.