Bogon Ranges: Understand and Use the Results
Get all bogon IP ranges with RFC references
Bogon ranges: the IP allowlist nobody publishes but everyone uses
A bogon range is the underlying list of IP address blocks that any sensible network considers "never legitimate as a public source." Where the previous concept (a single bogon IP) is one address you check, the bogon ranges are the full reference list of every block that should be filtered. Network engineers, security teams, firewall vendors, and ISPs use this list as the foundation for edge filtering, abuse detection, and spam-source identification. The list itself is maintained by several authoritative groups: the Internet Assigned Numbers Authority (IANA) publishes the master list of unallocated address space; the Regional Internet Registries (RIRs) publish the lists of allocated-but-unused space; and community groups like Team Cymru publish a continuously-updated combined feed.
You should care because the bogon ranges shift over time as IANA allocates new address space, and a stale bogon list can do active harm. There have been multiple high-profile incidents where ISPs continued to filter address ranges that had been recently allocated to legitimate users — the result was that a chunk of the new internet was unreachable from the old. Knowing where to get the current list, and knowing how often to update it, is one of those small operational details that distinguishes a properly run network from one that has been on autopilot too long.
The five sources every bogon-ranges reference includes:
IANA's master assignment list. The authoritative source for which `/8` blocks have been delegated to which RIR.
The five RIR allocation databases. ARIN, RIPE NCC, APNIC, LACNIC, and AFRINIC each publish daily snapshots.
Special-use address registry. RFC 6890 defines all special-use IPv4 ranges (private, loopback, link-local, multicast, etc.).
The full bogon feed. Team Cymru and a few others combine all the above into a single rolling list, updated daily.
IPv6 bogons. The IPv6 bogon list is much shorter (because most of the address space is still unallocated) and is critical for IPv6-aware firewalls.
Three questions a bogon ranges check answers:
Is my firewall or BGP router using the current bogon list, or one from years ago?
Are any of my filter rules accidentally blocking legitimate traffic from newly-allocated address space?
For an audit, can I produce the exact bogon list I am filtering against?
The cost of using a stale bogon list is silently breaking connectivity to legitimate users on newly-allocated address space. The fix is to subscribe to a real-time feed from Team Cymru or to pull from the IANA registries directly. This is the kind of operational hygiene that pays compounding dividends and is invisible until it isn't.
The Bogon Ranges endpoint, in plain language
Get all bogon IP (Internet Protocol address) ranges with RFC (Request for Comments) references
Build or update local bogon filtering logic with authoritative, machine-readable range data. Essential for generating firewall ACLs, implementing client-side IP (Internet Protocol address) validation, and maintaining accurate ingress/egress filtering per BCP 38 (RFC (Request for Comments) 2827). Eliminates the need to manually track RFC updates to the IANA special-purpose registries.
What is actually happening when you call it
Returns all IANA-defined special-purpose address ranges for both IPv4 (Internet Protocol version 4) (16 ranges) and IPv6 (Internet Protocol version 6) (12 ranges). Each entry includes CIDR (Classless Inter-Domain Routing) notation, bogon type classification (private, loopback, link_local, multicast, documentation, carrier_grade_nat, benchmarking, reserved, broadcast, unspecified, unique_local), human-readable description, governing RFC (Request for Comments) reference, and IP (Internet Protocol address) version indicator. Data is sourced from RFC 6890 and RFC 8190.
Why this specific tool matters
Choose a task: Firewall Rule Generation. from your own code or AI assistant generate iptables, pf, or cloud security group rules to block all bogon ranges at the network edge, following BCP 38 (RFC (Request for Comments) 2827) ingress filtering recommendations.
Run the Bogon Ranges 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 Ranges reference to check the field definitions and supported options.
Available on the free plan. The technical details: `GET /v1/ip/bogon/ranges`.
When would I actually use this?
Firewall Rule Generation
from your own code or AI assistant generate iptables, pf, or cloud security group rules to block all bogon ranges at the network edge, following BCP 38 (RFC (Request for Comments) 2827) ingress filtering recommendations.
Use the finding: Comprehensive, up-to-date bogon blocking rules generated from authoritative IANA data.
Client-Side IP Validation Library
Cache the bogon range list locally to build high-performance IP (Internet Protocol address) validation in your application without per-request API (Application Programming Interface) calls, refreshing periodically.
Use the finding: Sub-millisecond local bogon validation with zero API (Application Programming Interface) latency, suitable for hot-path request processing.
Security Research & Documentation
Reference the complete, RFC-sourced bogon range list for security research papers, network architecture documentation, or compliance audit evidence.
Use the finding: Authoritative, structured reference data with full RFC (Request for Comments) provenance for documentation and research.
The easiest way: just ask your AI assistant
Connect the MCP server. Just ask in plain English:
Use ip_bogon_ranges with the documented inputs. 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 Ranges, use the response fields below to separate observations from recommendations.
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 Ranges 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.
curl --request GET 'https://api.edgedns.dev/v1/ip/bogon/ranges' \
--header "Authorization: Bearer YOUR_API_KEY"Prepare inputs for Bogon Ranges
This operation has no query inputs. Review the API reference for its authentication and request requirements.
Interpret Bogon Ranges findings
Read these fields alongside the full response from your Bogon Ranges 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.
| Field | Type | What you'll see in it |
|---|---|---|
ranges | array | Complete list of bogon ranges with metadata |
ranges[].cidr | string | CIDR (Classless Inter-Domain Routing) notation for the range (e.g., 10.0.0.0/8) |
ranges[].type | string | Bogon classification (private, loopback, multicast, etc.) |
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.
API Reference for This Guide
Need Programmatic Access?
Automate domain intelligence with 100+ API endpoints and a free MCP server for AI integration.