
A Spamhaus blocklist listing means your sending IP address or your domain is on one of several lists that mail servers consult before they accept a message. The fix has three steps in a fixed order: find which list you are on, repair the cause that list names, then request removal through the Spamhaus checker. Removal is free, and each list has its own rules about who may ask.
Skipping the middle step is the common mistake. Spamhaus relists an address when the problem is still detected, and the number of self-service removals is limited.
What is the Spamhaus blocklist?
The Spamhaus blocklist is a set of separate lists of IP addresses and domains, published over DNS by The Spamhaus Project, and each one records a different kind of problem. People also call it the Spamhaus blacklist, and the two names mean the same thing.
The technical term is DNSBL, a DNS-based blocklist. RFC 5782 describes how one works: a mail server looks up the connecting IP address in the list's DNS zone, and an answer means the address is listed.
Spamhaus does not refuse your mail. The receiving server's operator chose to query the list and to reject on a match, and the Spamhaus DNSBL usage FAQ notes that many networks also keep private lists of their own.
As of November 27, 2026, these are the lists a sender is likely to meet, in the words of the Spamhaus FAQ pages:
| List | What it holds | Type |
|---|---|---|
| SBL | IP addresses of spam sources, including known spammers and spam gangs | IP |
| CSS | An automatically produced set of IP addresses involved in sending low-reputation email | IP |
| XBL | IP addresses used by hijacked devices compromised by third-party exploits | IP |
| PBL | IP space that should not be sending email directly to the Internet, often ISP ranges for broadband customers | IP |
| DBL | Domain names with poor reputation. No IP addresses | Domain |
| DROP | A tiny subset of the SBL, built for firewalls and routers | IP range |
Spamhaus ZEN is not a seventh list. The ZEN page describes it as the combination of all the free IP-based lists in one zone, zen.spamhaus.org, which is why most bounce messages name ZEN and not the list behind it.
How do you find out which list you are on?
Read the bounce message for the zone name, then look up the IP address or domain to get the return code. The return code is a 127.x.x.x address, and it names the exact list.
A Postfix server that rejects on ZEN writes a bounce like this:
554 5.7.1 Service unavailable; Client host [203.0.113.25] blocked using zen.spamhaus.org
The fastest Spamhaus check is the checker at check.spamhaus.org, which takes an IP address or a domain and shows every list it is on with the reason.
You can also ask DNS directly. Reverse the four parts of the IP address, add the zone, and query for an A record. For 203.0.113.25 the command is dig +short 25.113.0.203.zen.spamhaus.org. For a domain, the form is dig +short example.com.dbl.spamhaus.org.
No answer means the address is not listed. An answer is one or more of these codes, taken from the Spamhaus zone documentation:
| Return code | Zone | List |
|---|---|---|
| 127.0.0.2 | ZEN | SBL |
| 127.0.0.3 | ZEN | CSS |
| 127.0.0.4 | ZEN | XBL |
| 127.0.0.9 | ZEN | DROP, always in addition to SBL |
| 127.0.0.10 | ZEN | PBL, entry maintained by the ISP |
| 127.0.0.11 | ZEN | PBL, entry maintained by Spamhaus |
| 127.0.1.2 | DBL | Spam domain |
| 127.0.1.4 | DBL | Phishing domain |
| 127.0.1.5 | DBL | Malware domain |
| 127.0.1.6 | DBL | Botnet command and control domain |
| 127.0.1.102 to 127.0.1.106 | DBL | A legitimate domain that has been abused |
Why does a lookup return 127.255.255.254?
That answer is an error code, not a listing. Spamhaus returns codes in the 127.255.255.x range when it refuses the query itself, and they say nothing about your reputation.
| Code | Meaning in the Spamhaus FAQ |
|---|---|
| 127.255.255.252 | Typing error in the DNSBL name |
| 127.255.255.254 | Query via a public or open resolver |
| 127.255.255.255 | Excessive number of queries |
This catches people who test from a laptop that uses a public DNS service. The query is refused, the tool prints an answer, and the answer gets read as a listing. A Spamhaus article from February 11, 2021 states that none of these codes relate to the reputation of the address queried.
The same article warns mail server operators to check that no application uses these codes to reject email. If a receiver bounces your mail and its own lookups are being refused, the fault is on the receiving side, and its administrator has to repair it.
A related case: the DBL answers 127.0.1.255 when someone queries it with an IP address. It lists domains only.
How do you fix the cause on each list?
Each list names a different fault, so the repair depends on the return code. Fix the cause before you ask for removal, because Spamhaus says a CSS entry is relisted immediately if the problem continues to be detected.
CSS, code 127.0.0.3
CSS is produced automatically, with no person reviewing each entry. The CSS FAQ says listings are influenced by email that shows signs of being unsolicited, by poor list hygiene, and by bad email sent through a compromise, an insecure installation or a misconfigured server.
Check the server's identity first. The FAQ says SMTP servers should be configured with correct forward and reverse DNS and HELO values, and it names localhost.localdomain and mail as common misconfigured HELO strings. A correct pair of records looks like this, with the server announcing itself as mail.example.com:
mail.example.com. A 203.0.113.25
25.113.0.203.in-addr.arpa. PTR mail.example.com.
Then check the list. Stop sending to addresses that bounce, remove contacts who never agreed to hear from you, and look for a web form or an account that someone else is sending through.
XBL, code 127.0.0.4
An XBL entry means a device behind that IP address has been compromised. The XBL FAQ states that there is no way for third parties to add IP addresses to the list, so a competitor did not put you there.
Find the device. Scan every machine that shares the public IP address, and check the router and any server software for a compromise. Block outbound port 25 at the firewall for everything except the real mail server.
PBL, codes 127.0.0.10 and 127.0.0.11
A PBL entry is not an accusation. The DNSBL usage FAQ says the PBL is not a list of spamming IP addresses, and Spamhaus's own notes on its checker say that inclusion on the PBL is normal.
Home and office broadband addresses are on it by design. Send your mail through your mailbox provider's servers with a login and nothing changes for you. Request removal only if you run a mail server on that IP address.
SBL, code 127.0.0.2
An SBL entry is the one you cannot ask to have removed yourself. Read the reason the checker shows for the listing, then contact your ISP or hosting company with it, because the request has to come from them.
DBL, codes 127.0.1.x
A DBL entry follows the domain, so changing the IP address or the sending platform does not help. The DBL FAQ says a listing is often the result of a compromise, usually of software on a website or of the credentials for the hosting account.
New domains are a second cause. The same FAQ says unknown reputations begin as poor by default. Check the website for injected pages, change the hosting passwords, and confirm that the domain's mail is authenticated with the SPF checker and the DMARC checker.
How does Spamhaus removal work?
Every removal starts at the checker, and what happens next depends on the list. A Spamhaus guide dated December 17, 2025 says that if an automatic removal is allowed, no further action is needed, and otherwise the checker raises a ticket.
As of November 27, 2026, the rules per list are:
| List | Who can request removal | What Spamhaus publishes about timing |
|---|---|---|
| SBL | Only the ISP in charge of the IP address. The decision is Spamhaus's alone | The list is rebuilt every 5 minutes |
| CSS | Whoever is authoritative for the IP address, through the checker | Entries generally expire 3 days after the last detection |
| XBL | Requested through the checker, and one request can cover XBL and CSS | Allow 24 hours before opening a new ticket |
| PBL | Only someone who runs a mail server on that IP address | Not published on the pages we read |
| DBL | The domain owner, through the checker | Processed immediately once approved. Some users lag up to 24 hours |
Four points from those pages matter in practice:
- The SBL goes first. A Spamhaus article from March 4, 2021 says you cannot remove an IP from any other list until your ISP has had it removed from the SBL.
- Self-removal from CSS is limited. The CSS FAQ says self-removals are limited and that the cause must be identified and corrected first.
- The removal form is not a promise. The DBL FAQ says using the form does not guarantee removal, and that people who abuse it may be blocked.
- Mail standards come first. The December 2025 guide says a sender must meet the practices in RFC 5321 and RFC 5322 before requesting removal.
Removal never costs money. The SBL FAQ puts it in one sentence: "There is never any charge or fee associated with removing any Spamhaus listing." The DBL FAQ adds that any offer from anyone to remove a listing for a fee is a scam.
After removal, wait before you judge the result. Receivers cache DNS answers, and the DBL FAQ says to contact Spamhaus only if a listing is still active 24 hours after the removal was approved.
How do we handle a listing for a client?
We start by proving the listing is the reason mail is failing, because many senders are on a list that none of their recipients use. The Spamhaus FAQ asks the same question of any listing: is it affecting delivery?
The order we work in:
- We pull the bounce lines from the sending platform and count how many name a Spamhaus zone.
- We check the IP address and the domain in the checker and note the list, the reason and the date.
- We ask whose IP address it is. On a shared IP at an email platform, the platform's team owns the fix. On a dedicated IP or your own server, you do.
- We check the server identity: reverse DNS, forward DNS and the HELO name.
- We pull the sending records for the days before the listing: which lists were mailed, where the addresses came from, and the bounce rate.
- We repair the cause, then request removal once.
Step 5 is where CSS cases are usually decided. On one engagement in our case studies, the hard bounce rate measured 4.7% before the work and 0.6% after it. That work identified problem lists and reduced invalid addresses, which is the list hygiene the CSS FAQ names.
Authentication does not remove a listing, and a listing does not always explain a spam folder problem. Our guide to why emails go to spam covers the other causes, and the free email deliverability test reads your SPF, DKIM and DMARC records in one pass.
When is a listing not yours to fix?
Four cases need no removal request from you: a shared IP address, a PBL entry on an address that does not run a mail server, an error code, and a listing nobody you write to consults.
If you send through Google Workspace, Microsoft 365 or an email marketing platform, the sending IP addresses belong to the provider. Report the bounce to its support team with the full bounce line. Only the provider can deal with Spamhaus for its own address space.
A PBL entry on your office connection changes nothing as long as your mail leaves through your mailbox provider. An error code in the 127.255.255.x range is a fault in the lookup.
The last case is a listing with no bounces behind it. If your logs show no rejections that name the list, repair the cause anyway, because the fault is real. Our guide on how to stop emails going to spam puts the remaining checks in order.
Can you query the Spamhaus lists for free?
Yes, within limits that Spamhaus sets in its fair use policy. The public mirrors are free of charge for non-commercial use by small and medium sized organizations, and commercial use needs a paid subscription.
The policy says query volume must not exceed what is reasonably expected in non-commercial use. Spamhaus does not publish a number on the pages we read, so we do not quote one.
For a sender, this matters in one way. A single manual lookup of your own IP address is ordinary use. If you want to monitor many addresses on a schedule, read the policy first.
Drafted with AI assistance from our own records and client work, then reviewed and approved by Kunal Arora. See our editorial policy.