Email

What is DNSBL?

Also known as: DNS Blocklist, RBL

Definition

A DNSBL is a real-time IP reputation database published via DNS, used by mail servers at SMTP time to reject or flag senders known for spam or abuse.

A DNS-based Blocklist (DNSBL), also called a Real-time Blackhole List (RBL), is a mechanism that publishes lists of IP addresses associated with spam, open relays, malware, or other abusive email behavior. The data is stored as DNS zone records so that any mail server can query it using standard DNS lookups, typically during the SMTP transaction. Instead of downloading a large static file, the receiving server checks the connecting IP against one or more blocklist domains using a simple A record query.

When a mail server receives an incoming SMTP connection, it performs a reverse-octet lookup. For example, to check IP 192.0.2.33 against the DNSBL 'zen.spamhaus.org', the server queries '33.2.0.192.zen.spamhaus.org'. If the query returns an A record (usually 127.0.0.2 or similar), the IP is listed. The server can then reject the message with a 5xx error, quarantine it, or assign a higher spam score. Most operators combine multiple DNSBLs to balance aggressiveness and false-positive risk.

DNSBLs serve as a lightweight, distributed reputation layer in the email infrastructure. They do not inspect message content; they rely entirely on sender IP history. Maintaining a DNSBL requires a DNS server configured with wildcard zones and a constantly updated database of addresses. The concept originated in the mid-1990s (the MAPS RBL in 1997 was an early example) and remains widely used alongside SPF, DKIM, and DMARC to defend against unwanted mail.

Key facts

  • First widely used RBL was the Mail Abuse Prevention System (MAPS) RBL, launched in 1997.
  • Standard DNS query format: reverse-octets of IP plus the blocklist domain name.
  • Return code 127.0.0.2 typically indicates a general listing; other codes specify categories (e.g., dialup, relay).
  • DNSBL lookups add only a few milliseconds to SMTP transactions if the resolver is nearby.
  • Operators must manage timeouts and fallbacks to avoid rejecting mail due to transient DNS failures.

How it works in practice

A small business runs a Postfix mail server. They enable the Spamhaus ZEN and SpamCop DNSBLs by adding lines to main.cf. A spam bot on IP 203.0.113.55 connects and sends MAIL FROM. Postfix immediately queries 55.113.0.203.zen.spamhaus.org. Because it returns 127.0.0.2, Postfix issues '554 5.7.1 Service unavailable; Client host blocked' before the message body is transferred. The mail is rejected in under 100 milliseconds.

Related terms

SMTP Spamhaus SPF DKIM DMARC Reverse DNS Mail Transfer Agent

References

More in Email

BIMI

BIMI (Brand Indicators for Message Identification) is a DMARC-aligned standard that lets email senders publish a verified logo for display in supporting mail clients.

Bounce Message

A bounce message, or non-delivery report (NDR), is an automated email sent to the originator when delivery cannot be completed, including a status code and failure reason.

Catch-All Email

A catch-all email account receives all messages sent to invalid or nonexistent addresses at a domain, preventing bounce-backs but attracting spam.

DKIM

DKIM is an email authentication method that lets a domain claim responsibility for a message by attaching a cryptographic signature validated against a DNS public key.

DMARC

DMARC is an email authentication policy protocol that builds on SPF and DKIM to tell receiving mail servers how to handle messages that fail authentication checks.

Greylisting

Greylisting is a spam-filtering technique that temporarily rejects email from unknown senders, forcing legitimate mail servers to retry delivery while filtering out spammers that do not retry.

IMAP

IMAP is an email protocol that lets clients access and manage messages stored on a mail server, keeping the server as the authoritative copy and synchronizing folder state across multiple devices.

Mailbox Quota

A mailbox quota is a storage limit placed on a user's email account. Once the total size of stored messages exceeds this limit, the server may reject new incoming emails or warn the user.

MDA

An MDA (Mail Delivery Agent) is a software component that transfers an email from a Mail Transfer Agent (MTA) into a recipient's local mailbox, typically on a mail server or a user's machine.

MTA

An MTA (Mail Transfer Agent) is server software that routes email between domains using the SMTP protocol, acting as the core delivery engine for internet email.

Who Is Online

In total there are 60 users online: 0 registered, 53 guests and 7 bots.

Most users ever online was 5,555 on 17 Jul 2026, 3:23 am.

Bots: AhrefsBot Applebot Baiduspider Other Bot Other Crawler PetalBot SemrushBot

Users active in the past 15 minutes. Total registered members: 369