Skip to main content
Guides/Threat Intelligence

Bogon Check: Understand and Use the Results

Check if IP is private, reserved, or bogon

EdgeDNS Team·Updated ·5 min read

Bogon IPs: the addresses that shouldn't exist on the public internet

A bogon is an IP address that should never appear as the source of a packet on the public internet — because it belongs to a range that is reserved, private, unallocated, or otherwise illegitimate. The most familiar bogons are the private address ranges that everyone uses inside their home or office network: `10.0.0.0/8`, `172.16.0.0/12`, and `192.168.0.0/16`. These are explicitly defined in RFC 1918 for private use, and no router on the public internet should ever forward a packet with a private source IP. Other bogons are addresses in `0.0.0.0/8` (the "this network" range), the loopback range (`127.0.0.0/8`), the link-local range (`169.254.0.0/16`), and the documentation ranges reserved for examples (like `203.0.113.0/24`).

You should care because a packet from a bogon source on the public internet is almost always a sign of spoofing. There is no legitimate reason for a public-facing server to receive traffic claiming to come from `10.0.0.5` or `127.0.0.1`. When you see one in your logs, you are almost always looking at a misconfiguration upstream, a malicious actor trying to forge a source address, or a Denial-of-Service attack using spoofed sources to amplify traffic. Bogon detection is one of the simplest and oldest forms of network security, and it is still surprisingly effective at catching obviously broken or hostile traffic.

The five bogon categories every check looks at:

  • RFC 1918 private addresses. `10/8`, `172.16/12`, `192.168/16`.

  • Loopback. `127/8` — the entire range, not just `127.0.0.1`.

  • Link-local. `169.254/16` — used for auto-configuration when no DHCP server is present.

  • Documentation ranges. `192.0.2/24`, `198.51.100/24`, `203.0.113/24`, all reserved for use in examples and never routed.

  • Unallocated address space. Ranges that the IANA has not yet assigned to any regional internet registry.

Three questions a bogon check answers:

  • Is this incoming packet actually from a real public IP, or a forgery?

  • Are any of my logs filling up with bogon-source traffic that suggests an attack or a misconfiguration?

  • Should I configure my firewall or perimeter router to drop bogons at the edge?

The cost of accepting bogon traffic is the small but real risk of being part of an amplification attack, accepting forged log entries, or being fooled by spoofed source addresses. The fix is one firewall rule, and is the kind of "set it and forget it" hardening every network engineer learns early. The current bogon list is maintained at Team Cymru.

The Bogon Check endpoint, in plain language

Check if IP (Internet Protocol address) is private, reserved, or bogon

Bogon traffic on the public internet indicates either network misconfiguration or IP (Internet Protocol address) spoofing attacks. Filtering bogons is a fundamental network security practice recommended by NIST, SANS, and FIRST. This endpoint helps developers validate user-submitted IPs, network engineers audit firewall rules, and SOC analysts detect spoofed traffic in real-time.

What is actually happening when you call it

Checks if an IPv4 (Internet Protocol version 4) or IPv6 (Internet Protocol version 6) address falls within any IANA-defined special-purpose range. For IPv4, checks 16 ranges including: private networks (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16 per RFC (Request for Comments) 1918), CGNAT (100.64.0.0/10 per RFC 6598), loopback (127.0.0.0/8), link-local (169.254.0.0/16), documentation (192.0.2.0/24, 198.51.100.0/24, 203.0.113.0/24 per RFC 5737), benchmarking (198.18.0.0/15), multicast (224.0.0.0/4), and reserved (240.0.0.0/4). For IPv6, checks unique-local (fc00::/7 per RFC 4193), link-local (fe80::/10), loopback (::1), and more. Returns the bogon type, matching CIDR (Classless Inter-Domain Routing) range, RFC reference, and whether it is specifically a private address.

Why this specific tool matters

Choose a task: Firewall Rule Validation. Audit firewall allowlists and ACLs to ensure no bogon ranges are accidentally permitted, especially CGNAT (100.64.0.0/10) ranges that are commonly misconfigured.

Run the Bogon Check request below and retain the input and observed result. Before changing configuration, compare the relevant fields with the value or policy you expected. Use the Bogon Check reference to check the field definitions and supported options.

Info:

Available on the free plan. The technical details: `GET /v1/ip/bogon`.

When would I actually use this?

Firewall Rule Validation

Audit firewall allowlists and ACLs to ensure no bogon ranges are accidentally permitted, especially CGNAT (100.64.0.0/10) ranges that are commonly misconfigured.

Use the finding: Eliminate security holes from misconfigured firewall rules that allow reserved address space.

Spoofed Traffic Detection

Flag incoming traffic from bogon IP (Internet Protocol address) addresses at the network edge as definitively spoofed, since these addresses cannot exist on the public internet.

Use the finding: Instant, zero-false-positive detection of IP (Internet Protocol address) spoofing attacks in traffic analysis.

API Input Validation

Validate user-submitted IP (Internet Protocol address) addresses in registration forms and API (Application Programming Interface) requests to reject private or reserved ranges that indicate test data, misconfiguration, or abuse.

Use the finding: Ensure data quality and prevent SSRF-like attacks by rejecting non-routable addresses at the application layer.

The easiest way: just ask your AI assistant

Connect the MCP server. Just ask in plain English:

Use ip_bogon with ip=192.168.1.1. Show the returned findings, identify unavailable evidence, and explain a useful next check.

Confirm the tool and inputs in the client before accepting its summary. For Bogon Check, use the response fields below to separate observations from recommendations.

Tip:

The dedicated MCP server is available on every plan. Individual tool access and request limits depend on your plan. Management categories and endpoints disabled for the tool catalog are not exposed through MCP.

The technical way: call it from code

This Bogon Check request uses the example inputs from its API contract. Replace YOUR_API_KEY with a key on the free plan or higher; adapt the target to your task.

bash
curl --request GET 'https://api.edgedns.dev/v1/ip/bogon?ip=192.168.1.1' \
  --header "Authorization: Bearer YOUR_API_KEY"

Prepare inputs for Bogon Check

Start with the inputs below. Keep the same hostname, path, and options when comparing Bogon Check observations. The API reference contains the complete parameter contract, optional settings, and access requirements.

FieldTypeRequired?What it meansExample

ip

string

Yes

The IPv4 (Internet Protocol version 4) or IPv6 (Internet Protocol version 6) address to check

192.168.1.1

Interpret Bogon Check findings

Read these fields alongside the full response from your Bogon Check check. A missing value or failed lookup is different from a passing result. Keep returned errors and confidence or cache metadata when available; do not replace missing evidence with a successful default. See the complete response reference for additional fields.

FieldTypeWhat you'll see in it

ip

string

The queried IP (Internet Protocol address) address

is_bogon

boolean

Whether IP (Internet Protocol address) is a bogon (non-routable) address

bogon_type

string

Classification: private, loopback, link_local, multicast, carrier_grade_nat, documentation, benchmarking, reserved, broadcast, unspecified, unique_local

Words you might be wondering about

IP (Internet Protocol address) — A unique number that identifies a computer on the internet, like a phone number for a server.

API (Application Programming Interface) — A way for one program to ask another program for something — like a waiter taking your order to the kitchen.

CIDR (Classless Inter-Domain Routing) — A shorthand way of describing a range of IP addresses, like 192.168.1.0/24. The number after the slash says how many addresses are in the range.

IPv4 (Internet Protocol version 4) — The original kind of internet address — four numbers separated by dots, like 203.0.113.10. The internet has run out of new ones, which is why IPv6 exists.

IPv6 (Internet Protocol version 6) — The newer, longer kind of internet address. Looks like 2001:0db8:85a3::8a2e:0370:7334. Designed because the world ran out of IPv4 addresses.

RFC (Request for Comments) — The official internet standards documents. When someone says 'RFC 8484' they mean a specific numbered standards document — in that case, the one defining DNS over HTTPS.

Need Programmatic Access?

Automate domain intelligence with 100+ API endpoints and a free MCP server for AI integration.

Bogon Check: Results Guide | EdgeDNS