Skip to content

IP

Is this IP on an email blacklist?

Query public DNS blocklists (DNSBL) for an IPv4 or IPv6 address and see which ones list it.

Try an example

How to read the result

The header reads Listed on: 1 / 5: one list out of five that answered says the address is listed. Below it, each list gets its own row, named by the DNS zone that was queried.

Field What it means What to do with it
Listed on The first number: how many lists returned a listing for the address. Zero is the goal. One listing deserves a look at that row; several point to an active problem.
Lists checked The second number: how many lists gave a definite answer, listed or not. Lists that failed, timed out or answered with an error code are left out. If it is lower than the number of rows, some results are Unknown. Run the check again later.
A list row: No The list has no entry for the address. Nothing to do for that list.
A list row: a reason or a code The address is listed. The value is the explanation the list publishes in a TXT record, or the 127.0.0.x code when it publishes none. Read the reason, fix the cause, then follow that list's removal process. Codes are decoded in the tables below.
A list row: Unknown The list gave no usable answer: a timeout, a failure, or a reply that is not a listing. Not a listing. Check again later.
Risk score Locked. The 0 to 100 score the API's IP endpoint gives the address. Needs a free account. See the risk score documentation.
Bulk CSV upload Locked. Runs the IP endpoint over a CSV of up to 2,000,000 addresses. DNSBL queries are not part of it. Needs a free account.
API access Locked. POST /ip returns location, network type, flags and risk score for 1 credit per address. It does not query blocklists. Needs a free account, which includes 100 credits every month.

How the check works

  1. The tool validates the address, IPv4 or IPv6.
  2. It builds one query name per list, as RFC 5782 specifies. For IPv4, the four octets are reversed and the list's zone is appended. For IPv6, the address is expanded to 32 hexadecimal nibbles, which are reversed the same way.
  3. Our own server runs every query in parallel, with its own resolver and a time limit per query. The queries do not go through a public resolver, because several lists refuse queries that arrive that way. Spamhaus, for example, documents that it answers queries made through public resolvers with the error code 127.255.255.254 instead of real data.
  4. Each answer is read the same way. No record for the name means not listed. An A record from 127.0.0.2 to 127.0.0.255 means listed, and the tool then fetches the list's TXT record for the reason. Any other answer, a failure or a timeout gives Unknown.
  5. The header counts the listings and the lists that answered definitely.

What the check cannot tell you:

  • Why you were listed, beyond what the list says in its reason.
  • Anything about lists that are not on the card. Each row is a list that was queried; there are many others.
  • Whether your recipients use any of these lists. Each mail server picks its own.
  • Whether a domain is blocklisted. Domain blocklists judge the links and domains inside messages, a separate system that takes a domain, not an IP address.
  • Whether the listing policy is fair. A listing is one operator's decision under its own rules, not a verdict on you.

How a DNSBL query works

Step IPv4 IPv6
The address 203.0.113.42 2001:db8::1
Reversed 42.113.0.203 1.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.8.b.d.0.1.0.0.2
The query, an A record 42.113.0.203.bl.spamcop.net The reversed nibbles, then the zone
Not listed No such name (NXDOMAIN) No such name
Listed An address in 127.0.0.0/8, conventionally 127.0.0.2, plus a TXT record with the reason The same

RFC 5782 also gives every list a built-in test. An IPv4 list must contain an entry for 127.0.0.2, queried as 2.0.0.127 plus the zone, and must not contain 127.0.0.1. An IPv6 list must contain ::FFFF:7F00:2 and must not contain ::FFFF:7F00:1. If the test entry is missing, the list is not answering normally.

How each answer is read

What the list's DNS returns What the card shows Why
No such name, or no A record No The address is not on the list.
127.0.0.2 to 127.0.0.255 The TXT reason, or the code itself A listing, by the convention of RFC 5782.
127.0.0.1 Unknown RFC 5782 forbids lists from listing it, so it is not a valid listing.
An error code such as 127.255.255.254 Unknown Some lists use this range to refuse or reject a query, not to list.
An ordinary public address Unknown A resolver that replaces failures with its own answers. It is not the list speaking.
A failure or a timeout Unknown The list could not be reached within the time limit.

Return codes documented by the lists

Lists that use a single code are simple: 127.0.0.2 means listed. Others encode a category in the last octet. Here is what the lists themselves document.

List and zone What a listing means Removal
SpamCop, bl.spamcop.net 127.0.0.2: the address sent mail that was reported as spam to SpamCop. Automatic, 24 hours after the last report. SpamCop itself recommends filtering or tagging mail on this list rather than rejecting it.
PSBL, psbl.surriel.com The address sent mail to the list's spam traps, the mail was not recognized as legitimate, and the address is not a known mail server. Anyone can remove an address through the PSBL website. Addresses also expire after a few weeks without spam-trap hits.
DroneBL, dnsbl.dronebl.org The last octet gives the class of threat. See the table below. Request it on the DroneBL website once the device is cleaned.

DroneBL classes, from its own documentation:

Code Class Code Class
127.0.0.3 IRC spam drone 127.0.0.12 Open DNS resolver
127.0.0.5 Bottler 127.0.0.13 Automated dictionary attacks
127.0.0.6 Unknown worm or spambot 127.0.0.14 Open WINGATE proxy
127.0.0.7 DDoS drone 127.0.0.15 Compromised router or gateway
127.0.0.8 Open SOCKS proxy 127.0.0.16 Autorooting worms
127.0.0.9 Open HTTP proxy 127.0.0.17 Automatically determined botnet IPs
127.0.0.10 Proxychain 127.0.0.18 Possibly compromised DNS or MX type hostname detected on IRC
127.0.0.11 Web page proxy 127.0.0.19 Abused VPN service

DroneBL also uses 127.0.0.255 for an uncategorized threat class.

Decoding a Spamhaus code from a bounce

Spamhaus ZEN is not queried by this tool, but its codes appear in rejection messages. Its documentation lists them as follows.

Code Meaning
127.0.0.2 SBL: Spamhaus SBL data
127.0.0.3 SBL: Spamhaus CSS data
127.0.0.4 XBL: CBL data, addresses showing signs of infected or exploited machines
127.0.0.9 SBL: Spamhaus DROP data
127.0.0.10 PBL: ranges maintained by the internet provider
127.0.0.11 PBL: ranges maintained by Spamhaus
127.255.255.252 Error: typo in the list name
127.255.255.254 Error: query made through a public or open resolver
127.255.255.255 Error: excessive number of queries

The three error codes are not listings. Spamhaus warns that some mail servers mistakenly reject all mail because of them, which is a configuration problem on the receiving side.

Getting a mail server's address off a blocklist

  1. Confirm the address is yours and sends mail. If it is a shared address from your hosting provider or sending platform, open a ticket with them instead: only they can fix the source.
  2. Read the reason in each listed row. Spam-trap hits point to old or purchased addresses in your mailing list. Botnet, proxy or worm classes point to an infected device or an open service behind the address.
  3. Fix the cause. Clean or isolate infected machines, close open relays and proxies, reset compromised account passwords, add a CAPTCHA to abused web forms, and remove addresses that never engaged from your mailing list.
  4. Set reverse DNS. Check the address's PTR record with the DNS lookup tool and make sure the name it returns resolves back to the same address. Google's sender guidelines require valid forward and reverse DNS for sending addresses.
  5. Authenticate your mail with SPF, DKIM and DMARC, so receivers can tell your mail from forgeries. The SPF, DKIM and DMARC guide walks through the setup.
  6. Request removal through each list's own process, or wait for automatic expiry where the list works that way.
  7. Run this check again. Removal can take a while to reach every DNS server of a list, so a listing can linger briefly after the list's site shows you as clean.

Preventing the next listing

Most of the causes above can be closed for good. These habits keep an address off spam-trap and compromise lists:

  • Send only to people who asked. Confirmed opt-in, where a subscriber clicks a link before you send anything else, keeps mistyped and invented addresses out of your list.
  • Remove addresses that bounce. Some spam traps are old mailboxes that stopped accepting mail and were later reactivated to catch senders who never clean their lists. Verify a list before a campaign; the email verifier shows the check, and the list cleaning guide covers it at scale.
  • Split your streams. Send password resets and receipts from a different address or subdomain than newsletters, so a marketing problem cannot block account emails.
  • Limit outbound port 25. On an office network, let only your mail server connect to port 25 on the internet; an infected laptop then cannot send spam directly from your address.
  • Protect web forms. A contact form that emails its content to an address the visitor chooses can be found and abused to send spam. Fix the recipient on the server side and add a CAPTCHA.
  • Watch for changes. Run this check after every change to your mail setup, and read DMARC aggregate reports, which show any server sending as your domain.

Same check through the API

One HTTPS call, one credit. The response below is the real schema returned by the API.

cURL
curl https://api.qelka.com/v1/ip \
  -H "Authorization: Bearer sk_test_your_key" \
  -H "Content-Type: application/json" \
  -d '{"ip":"8.8.8.8"}'
JavaScript
const response = await fetch("https://api.qelka.com/v1/ip", {
  method: "POST",
  headers: {
    Authorization: "Bearer sk_test_your_key",
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    ip: "8.8.8.8",
  }),
});
const result = await response.json();
{
  "id": "lkp_01M84QZDZHEMMVZCGDFD9ZD53H",
  "object": "ip",
  "input": "8.8.8.8",
  "version": 4,
  "country": {
    "code": "US",
    "name": "United States"
  },
  "region": "California",
  "city": "Mountain View",
  "asn": {
    "number": 15169,
    "org": "Google LLC",
    "type": "hosting"
  },
  "flags": {
    "tor": false,
    "vpn": false,
    "proxy": false,
    "datacenter": true
  },
  "risk": {
    "score": 35,
    "level": "medium"
  },
  "credits_used": 1,
  "cached": false
}

Bulk and pricing

  • Upload a CSV of up to 2,000,000 rows from the dashboard or the API, pick the column, get the results back as a CSV.
  • Every check costs 1 credit, live phone lookups cost 3. Cached results are billed the same way; calls that fail upstream are not billed.
  • The free plan includes 100 credits every month. Paid plans start at $29 for 10,000 credits.

Frequently asked questions

What is an IP blacklist?
An IP blacklist, or DNS blocklist (DNSBL), is a list of addresses its operator considers a source of spam or abuse, published through DNS so that mail servers can query it while a message is being delivered (RFC 5782). Each list has its own criteria and its own removal process. Every mail server decides for itself which lists to consult and what a listing means for the message.
Why is my IP address blacklisted?
A listing reflects what that list observed from the address: mail sent to its spam traps, spam reports from recipients, or signs of a compromised machine, an open proxy or a botnet. The reason shown in the card, when the list provides one, points to the cause. Causes include an infected device, a hacked mail account or web form, and a shared address used by someone else.
How do I get my IP address removed from a blacklist?
Fix the cause first, or the address will be listed again. Then follow the list's own process, which differs from one list to another: SpamCop delists an address automatically 24 hours after the last spam report, while the PSBL lets anyone remove an address through its website. When the reason in the card includes a link, start there. Recheck here once the change has propagated.
Will a listing stop my email from being delivered?
It depends on which receivers use that list. A listing on a list that a recipient's mail server consults can lead to a rejection or to the spam folder. A listing on a list that none of your recipients use changes nothing for them. A rejection message can name the list that caused it, which tells you where to act first.
What does 127.0.0.2 mean in a blacklist result?
It is the conventional "listed" answer. A DNSBL answers a listed address with an A record in the 127.0.0.0/8 range, and RFC 5782 says the value must not be used as a real address. 127.0.0.2 is the generic code, and every IPv4 list must list 127.0.0.2 itself as a test entry. Some lists use other last digits for categories, such as the DroneBL class codes.
Why do some lists show Unknown?
The list gave no clear answer. The query may have timed out or failed, or the list answered with a value that is not a listing, such as an error code in 127.255.255.0/24 returned to refused queries. Unknown results are left out of the Lists checked count. Try again later. A list that stays Unknown can be down, or may have changed how it answers.
Why is my home IP address on a blocklist?
Some lists cover residential ranges by policy, because home connections are not expected to deliver mail straight to other servers. The Spamhaus PBL, for example, lists end-user ranges that should not send mail directly, flagged by the provider (127.0.0.10) or by Spamhaus (127.0.0.11). It is not an accusation. Send mail through your provider's or mail host's servers instead.
How long does a blacklist listing last?
Each list sets its own rule. SpamCop delists an address automatically after 24 hours without new spam reports. The PSBL expires an address once it has sent nothing to its spam traps for a few weeks, and anyone can remove it sooner. Lists built on detected compromise, such as botnet or proxy listings, can keep an address until the problem is fixed and removal is requested.
Does changing my IP address fix a listing?
It hides the symptom for a while. If the cause is an infected machine, a compromised account or a misconfigured server, the new address gets listed the same way, and the old one keeps its listing until it expires or is removed. Change addresses only when the old one carries someone else's history, such as a server you just rented.
Can IPv6 addresses be blacklisted?
Yes. RFC 5782 defines IPv6 queries: the 128-bit address is expanded to 32 hexadecimal nibbles, reversed and placed before the list's zone. A list that publishes no IPv6 data answers "not listed" for every IPv6 address, so a clean IPv6 result means less than a clean IPv4 one. Since one machine can use many addresses in its /64, a list can choose to list whole prefixes.
Why is a shared server's IP listed when I sent no spam?
On shared hosting or a shared sending platform, many customers send from the same address, and a listing applies to all of them. One compromised website or one careless sender is enough. Ask the provider to fix the source and request removal, or to move you to another address. If your volume justifies it, a dedicated sending address gives you a reputation of your own.
Why don't I see the list my bounce message mentioned?
The card shows every list this tool queried, and no others. If a bounce names a list that is not on the card, look the address up on that list's own website. Lists differ in who may query them and how they encode answers, so read that list's documentation to decode the code you were given, rather than assuming it means the same as elsewhere.
Do blocklists matter outside email?
Some do. DroneBL documents its use by IRC servers as well as mail servers, and lists open proxies, compromised routers and DDoS drones, which any service can use to screen connections. A listing there points to a device on your network that needs attention, even if you never run a mail server. Check every device behind that address, including the router.
Does the API include blacklist results?
No. The DNSBL check runs only in this free tool, with 10 checks a day without an account. The API's IP endpoint returns location, network type, the Tor, VPN, proxy and data center flags and a risk score for 1 credit per address. The risk score documentation explains what goes into that score.
What is a spam trap?
A spam trap is an email address that no person uses, kept by a list operator or mailbox provider to catch senders. Mail sent to it proves the sender did not get the address from a real subscriber: it was scraped, bought, guessed, or kept long after it stopped working. Lists such as the PSBL list the sending address after spam-trap hits, which is why cleaning old addresses matters.
How often should I check my mail server's IP address?
Check after any change to your mail setup, after a security incident and whenever bounces mention a blocklist. For a server that sends mail every day, a regular check, daily or weekly, catches a listing before your recipients notice. A listing that appears right after a campaign points to list quality or to a compromised sender, not to the list operator.

Put this check in your product

Get an API key in under a minute. 100 free credits every month, no card required.