Spamhaus' Blocklists
For over 25 years, we have been compiling DNS Blocklists (DNSBLs) to help email administrators filter emails and protect their users.How blocklists work (simplified)
The IPs, domains, or hashes associated with an email can be queried against a DNSBL to see if they're listed in the relevant blocklist. An email administrator can then choose to either:
a. Reject the email in real-time, with an appropriate delivery code, or
b. Accept the message and tag it for additional filtering.
Which blocklists should you use?
Each DNSBL Spamhaus produces has a different focus and purpose. They should be applied at different stages of the email transaction. From the initial connection, where you would query the Spamhaus Blocklist (SBL), Policy Blocklist (PBL), and Exploits Blocklist (XBL), through to the content filtering stage, where the Domain Blocklist (DBL) should be used.
Blocklists available from Spamhaus
How to access the blocklists
Initially, Spamhaus Project set up servers across the world to enable users to query our blocklists for free (subject to a fair use policy). This service still exists but is being deprecated. Today, Spamhaus Technology provides a free service on our behalf that provides users with a commercial-grade service with access to an increased number of DNSBLs - see the DNSBL usage criteria here.
Free Data Query ServiceHow to configure and query the blocklists
Spamhaus' DNSBLs can be easily queried via SpamAssassin, Rspamd, or most current Mail Transfer Agents.
Configuration Examples