IP Blacklist Check: DNSBL Results and Listing Scope
An IP blacklist check reports whether a particular source lists an address or a covering range. Interpret the list’s purpose, response code and published scope together. A policy entry is different from an abuse entry; a failed lookup leaves the state unknown.
| Source or finding | Meaning | What to record or check next |
|---|---|---|
| Spamhaus Blocklist (SBL) | Listings concerning abuse-associated addresses or networks | Listing identifier, stated reason and full published range |
| Spamhaus Exploits Blocklist (XBL) | Addresses associated with compromised systems or related exploits | Incident details and the system or shared egress responsible |
| Spamhaus Policy Blocklist (PBL) | Space not intended for direct unauthenticated delivery to recipient mail servers | Whether your intended mail path conflicts with the policy |
| Spamhaus ZEN | Combined IP datasets, distinguished by response codes | Every returned code; a single lookup can have multiple findings |
| Another operator’s DNSBL, such as Barracuda BRBL | That operator’s dataset and listing policy | Its own lookup rules, evidence and review procedure |
| Receiver’s private decision | A particular service rejects or limits the traffic | Exact response, receiving service and its support route |
A DNS blocklist (DNSBL) makes listing records available through the Domain Name System. The lookup method does not determine whether a finding concerns abuse or mail policy.
Source semantics checked on November 24, 2026 against the operators’ documentation. The table describes dataset purposes, not live results for any customer block or an exhaustive inventory of active lists.
Read the status before the listing code
For Spamhaus IPv4 queries, octets are reversed before the DNSBL zone. The command below is a syntax example using a reserved documentation address; substitute an authorized real address and its reversed octets. It is not a live reputation test or a measured result.
Use an access method allowed for your usage and query volume. A public DNS resolver is not automatically permitted to query a DNSBL, and a self-operated resolver does not itself establish subscription eligibility.
# Example for documentation address 203.0.113.7, not a real block assessment.
dig +time=3 +tries=1 +noall +comments +answer \
7.113.0.203.zen.spamhaus.org AKeep the status header and every A record. dig +short hides useful diagnostic context. A successful process exit alone does not tell you that the DNS query produced a valid negative answer.
| DNS observation | Classification | Next action |
|---|---|---|
NXDOMAIN through a verified, permitted query path | Not listed in this zone at query time | Save the negative result with source and timestamp |
NOERROR with documented listing codes | Listed in the indicated dataset or datasets | Read all codes and inspect the listing’s scope |
Spamhaus error code in 127.255.255.0/24 | Query failed at the service/access layer | Correct the query or access issue; do not score reputation |
Timeout, SERVFAIL or REFUSED | Inconclusive | Investigate DNS resolution and service access |
NOERROR without an expected A record, an unknown code or an unexpected address | Inconclusive | Check current operator documentation and the resolution path |
This classification applies to the requested lookup. Before trusting negative results, run both of Spamhaus’s documented controls through the same permitted resolver and access method as the target query. These examples use the public ZEN zone:
# Positive control: Spamhaus's deliberately listed test address 127.0.0.2.
dig +time=3 +tries=1 +noall +comments +answer \
2.0.0.127.zen.spamhaus.org A
# Negative control: Spamhaus's deliberately unlisted test address 127.0.0.1.
dig +time=3 +tries=1 +noall +comments +answer \
1.0.0.127.zen.spamhaus.org A| Control | Expected DNS result |
|---|---|
Positive: 2.0.0.127.zen.spamhaus.org | NOERROR with one or more documented listing codes, such as 127.0.0.2 |
Negative: 1.0.0.127.zen.spamhaus.org | NXDOMAIN |
These are documented expectations, not captured live output. A query-error code is not a successful positive control. If either control fails its expected result, investigate the query path before using target lookups for acceptance decisions. Do not convert an unavailable source into a green status.
Recognize selected Spamhaus response codes
These are selected IP dataset codes, not a complete list of all Spamhaus products. Consult the official zone and return-code reference when implementing a parser or investigating an unfamiliar answer.
| A record | Interpretation |
|---|---|
127.0.0.2 | SBL |
127.0.0.3 | Combined Spam Sources (CSS), included in SBL and ZEN query zones |
127.0.0.4 | XBL |
127.0.0.9 | Do Not Route Or Peer (DROP), returned with an SBL result |
127.0.0.10 / 127.0.0.11 | PBL, maintained by the ISP / Spamhaus respectively |
127.255.255.252 | Error: misspelled DNSBL name |
127.255.255.254 | Public-mirror error: query through a public/open resolver |
127.255.255.255 | Public-mirror error: excessive queries |
The last two errors describe the public-mirror access method; keyed Data Query Service access has its own error conditions. Do not reuse this table as a universal parser for every DNSBL or treat all addresses beginning with 127 as abuse findings.
An illustrative reply containing both 127.0.0.2 and 127.0.0.10 represents two different findings. Removing a policy entry would not resolve the SBL finding. Domain-oriented lists also require their documented domain-query format; do not send an IP lookup to a domain-only zone.
Establish the affected range
Record the exact IP you queried and the range published in the operator’s listing record. They may differ. A /24 can be covered by a broader listing even if no separate record names that /24.
For block acceptance, define the address set you actually intend to deploy. Check those addresses and inspect covering records using the operator’s supported lookup or data access. A few samples are useful for triage, but do not establish a result for every address. Arrange permitted bulk access if complete coverage is required.
Retain this compact evidence record:
| Field | Example content |
|---|---|
| Target | Exact IP and proposed deployment range |
| Observation | Dataset, UTC time, raw status and all response codes |
| Listing | Identifier, published range, reason and stated dates |
| Service impact | Receiver response or application failure, if observed |
| Coverage limitation | Sampled addresses, inaccessible records or unknown history |
| Next owner | Tenant, resource holder, responsible network or receiving service |
A listing that predates a lease is evidence for a handover investigation, not automatic proof that all current activity is unrelated. Likewise, a recent listing date does not by itself establish when the underlying activity began.
Choose the next investigation
For a confirmed listing, follow the delisting workflow. For a general interpretation of scores, service labels and history, use IP reputation basics. For acquisition checks beyond reputation, use the block verification checklist.
If public lookups are negative but a receiver still denies traffic, investigate that receiver’s stated reason. A routing-history tool, including ipv4.online’s /reputation/ tool, does not substitute for DNSBL data or prove mail acceptance.
When assessing an IPv4 supply offer, specify the relevant datasets, test scope and acceptance evidence. Avoid a bare requirement for “no listings anywhere” without defining which findings matter to the intended workload.