What a DNSBL is
A DNSBL, or DNS-based blocklist, lists IP addresses, and sometimes domains, linked to spam or other abuse. Mail servers query it through DNS and reject or score mail from listed addresses. RFC 5782 (2010) documents how these lists work. Three operators describe their lists like this:
- Spamhaus: the SBL for spam sources, the XBL for compromised devices, the CSS for low-reputation senders and the PBL for end-user ranges, combined in its ZEN zone.
- SpamCop: the SpamCop Blocking List (SCBL), which lists IP addresses that sent mail reported as spam.
- Barracuda: the Barracuda Reputation System, which records IP addresses with a poor reputation for sending email.
How a DNSBL lookup works
To check an IPv4 address, the server reverses its four numbers and adds the list's zone: in RFC 5782's example, 192.0.2.99 is checked against bad.example.com by looking up 99.2.0.192.bad.example.com.
- An A record means the address is listed. Its value is conventionally 127.0.0.2; lists with sublists use other values in 127.0.0.0/8 to show which one matched.
- No record means it is not listed.
- A TXT record, if present, gives the reason, often with a web address.
- IPv6 addresses are written as 32 hexadecimal digits in reverse order; the far less common domain lists put the domain itself before the zone.
Why an address gets listed
Each operator sets its own criteria, which RFC 6471 asks it to publish and follow. Reasons they name include:
- Spam sent from the address, reported by users or caught by spam traps.
- A compromised device or account, such as malware, a hacked mail account or a “free VPN” app using the device as a proxy.
- An insecure host such as an open relay or open proxy; SpamCop lists these only when they send reported mail.
- Missing or mismatched reverse DNS, one of the most common reasons Spamhaus considers an address for listing.
- Policy: the Spamhaus PBL lists end-user ranges that should not send email directly, which Spamhaus says are not necessarily “bad”.
- A shared or reassigned address: IP addresses change hands, so you can inherit a listing history, and some lists cover whole ranges or weigh an address's neighborhood.
How to check an IP address or domain
DNSBL Check queries many DNS-based blocklists about an IP address, a domain, a full host name or a URL of up to 2,048 characters; for a URL, its host is checked. It shows:
- Host, Listed and Lists Found: what was checked, whether at least one checked list includes it and how many do.
- Checked Lists: a row per list with Status (✓ not listed, ⚠ listed), List Name, List Host (the DNS zone queried), Rating, TXT Record, Return Code (usually an address such as 127.0.0.2 when listed) and Response Time in milliseconds.
- Rating: the data provider's rating of the list, from 1 to 3, which describes the list, not your host. Spamhaus, SpamCop and Barracuda lists have rating 1; choosing 1 checks only rating 1 lists, 2 adds rating 2 lists and 3, the default, checks all three ratings.
Then confirm with each operator: Spamhaus's IP and Domain Reputation Checker, which also explains the listing and what to do before removal, SpamCop's “Am I listed?” lookup and Barracuda Central's reputation lookup.
For a suspected compromised device, IP Blacklist Check adds threat lists that record addresses seen sending spam, running bots, scanning for security holes or spreading malware.
How to get delisted
Fix the cause first: Spamhaus requires it for CSS removals and lists an address again while the problem continues.
- Spamhaus: use the IP and Domain Reputation Checker, the only place where XBL, CSS and PBL removals are handled; Spamhaus says only single addresses assigned to mail servers should be removed from the PBL. SBL removals go through the network or hosting company responsible for the address, so ask your provider. If a PBL listing stops your mail program from sending, turn on SMTP authentication.
- SpamCop: no request is needed. Its FAQ says: “IPs are automatically delisted after 24 hours with no new spam reports.”
- Barracuda: send one removal request with the mail server's IP address, an email address, a phone number and the reason for removal; requests with a valid explanation are typically processed within 12 hours.
RFC 6471 describes a well-run list: it publishes its listing and delisting criteria, offers a removal request page, charges no fee for delisting and replies within 2 days, or 7 at the latest. Spamhaus says its removals are free and calls paid removal offers a scam.
How to stay off the lists
Spamhaus publishes minimum requirements for avoiding a listing; from November 2026 it is gradually requiring each sending IP address to have a valid HELO, a reverse DNS (PTR) record and a matching A record. In short:
- Send bulk email only to confirmed opt-in subscribers; purchased, rented and harvested lists are the most common source of spam trap hits.
- Set up forward-confirmed reverse DNS and a HELO name that resolves to the sending IP address; authenticate mail with SPF, DKIM and DMARC.
- Warm up new IP addresses slowly and allow outbound port 25 only from your mail server; use two-factor authentication and keep software up to date.
- Check your addresses regularly, for example with DNSBL Check before a new server sends email.
Terms in this guide: DNSBL (DNS-based blocklist), VPN (virtual private network), Proxy
Sources
- DNS Blacklists and Whitelists, RFC 5782 (IRTF, February 2010)
- Spamhaus Blocklist (SBL) (The Spamhaus Project)
- Exploits Blocklist (XBL) (The Spamhaus Project)
- Combined Spam Sources (CSS) (The Spamhaus Project)
- Policy Blocklist (PBL) (The Spamhaus Project)
- SpamCop Blocking List (SpamCop)
- SpamCop FAQ: What is the SpamCop Blocking List (SCBL)? (SpamCop)
- IP / Domain Lookups (Barracuda Central, Barracuda Networks)
- Overview of Best Email DNS-Based List (DNSBL) Operational Practices, RFC 6471 (IRTF, January 2012)
- SpamCop FAQ: Dispute Resolution: ISPs and administrators (SpamCop)
- Spamhaus Sender Guidelines (The Spamhaus Project)
- SpamCop FAQ: If my IP is listed, does it mean I am a spammer or my ISP hosts spammers? (SpamCop)
- Good-bye, Blocklist Removal Center. Hello, IP and Domain Reputation Checker. (The Spamhaus Project, March 2021)
- Barracuda Central Reputation System – Removal Request (Barracuda Networks)