Multi-RBL lookup

Check an IP address or a domain against dozens of DNS blocklists, whitelists and reputation lists at once.

Check by hand with dig or nslookup

The same lookup this page does, for three well-known lists. Type an IP address or a domain above and the commands update.

Linux / macOS (dig)

Windows (nslookup)

Let our server read the answers for you

The last box in each column runs all three commands and sends the output here. The answer comes back inside your own terminal, coloured.

  • CLEAN not listed
  • LISTED the list returned an address
  • FAILED try another DNS server

Nothing is stored. If your terminal shows odd characters instead of colours, add ?plain=1 to the end of the address.

How to read the commands, and why not to use a public DNS server

What the command does

A DNS blocklist is a DNS zone. To ask whether 203.0.113.5 is listed, reverse its four numbers (5.113.0.203), put the list name after them (5.113.0.203.zen.spamhaus.org) and ask for its A record. An answer such as 127.0.0.2 means "listed"; "NXDOMAIN" or no answer means "not listed". For a domain you do not reverse anything: example.com.dbl.spamhaus.org.

Reading the answer: "status: NOERROR" with an address like 127.0.0.2 means listed; "status: NXDOMAIN" (nslookup: "Non-existent domain") means not listed. If you add +short, a clean address prints nothing at all, which looks like a failure but is not. An answer like 127.255.255.254, "REFUSED" or a timeout means the list did not accept the question, so nothing was checked.

The part that starts with @ (dig) or comes last (nslookup) is the DNS server that is asked. Here it is 9.9.9.9, only so you can see the idea; the answer comes from that server.

Why a public DNS server is a bad idea for this

  • Blocklists such as Spamhaus refuse queries that come through big shared resolvers (Google, Cloudflare, Quad9 and others). You get an error answer like 127.255.255.254, or nothing, and it looks like "not listed" when it was not checked.
  • Those shared resolvers send a huge number of queries from a few addresses, which is the volume the free lists forbid. Using them for your mail server pushes the lists to block those resolvers for everyone, and it weakens spam protection for the whole internet.
  • A mail server that checks blocklists through a public resolver may skip real listings, so spam gets in, or may be rejected by the list owner. Run your own caching resolver (for example Unbound) on the server and let it talk to the list servers directly.

For a quick manual test from your own computer use your ISP or office resolver, or your own server, instead of 9.9.9.9.