Skip to content

Bogon

published · September 12, 2026

A bogon is an IP address that should not appear on the public Internet: private, reserved or documentation space, or a block no registry has allocated to anyone.

A bogon is an IP address that should not appear as the source of traffic on the public Internet: private space (10/8, 172.16/12, 192.168/16), loopback, link-local, the carrier-grade NAT block, the documentation ranges, multicast and class E, and, more interestingly, unallocated space — blocks that exist on the map but that no regional Internet registry has handed to any operator. A packet claiming to come from one is forged or misrouted, and a request from one deserves no benefit of the doubt.

What Spaw answers

Two fields cover the two halves. Private, reserved and documentation space answers reason: reserved_range: every other field is null and the lookup is free, because there is nothing to say about it. Unallocated space answers is_unallocated: true, evaluated against the five registries' daily delegated statistics, and it is the heaviest feed signal in the score at +100 — such an address has no legitimate owner to be behaving on behalf of. The flag is null rather than false until every registry file covering that address family is installed, so a partial set of registries never fabricates a negative.

What it does not mean

Unallocated is not the same as unused. Space can be allocated and dark, or reserved by a registry for a future purpose; the flag says only that the registries recorded no allocation or assignment on the day the files were read.

Related

markdown version: /glossary/bogon.md

Verify addresses the same way

The Spaw API runs every check described here on each lookup, with an SMTP handshake that never sends mail. 10 free lookups a month, no card required.

Get your API key

More glossary

  • Area-code overlay

    An area-code overlay is a new area code added over the same area as an existing one, instead of splitting it, so neighbours can hold different codes and local calls need ten digits.

  • Calling window

    A calling window is the span of local hours a sender contacts people in. Spaw answers in_call_window from the number's time zones: clock arithmetic, not compliance advice.

  • Fictional number

    A fictional number sits in a range kept out of service for films, TV and other fiction: 555-0100 to 555-0199 in North America, and ranges Ofcom, ARCEP, ACMA and ComReg reserve elsewhere.

  • International (exit) prefix

    An international prefix is what is dialled to leave a country before the calling code: 00 in most of the world, 011 in North America. Spaw reads it and suggests a fix in did_you_mean.

  • International network number

    An international network number sits under a calling code the ITU gives a global service rather than a country, such as +870, +881, +882 or +883, so its country is null.

  • Live carrier check (HLR lookup)

    A live carrier check asks the mobile networks, at the moment of the lookup, whether a number is in service, which network serves it and whether it is roaming. On Spaw it is not enabled.

  • Number pooling (thousands-blocks)

    Number pooling splits a North American central office code into ten blocks of a thousand numbers, each assigned to a carrier separately, so one code can hold several carriers' numbers.

  • Number portability

    Number portability lets a subscriber keep a phone number when changing carrier. The number's block stays listed under the carrier it was issued to, so block data names the original holder.