Skip to content

Help center

How to check if an IP address is blacklisted

Check an IP address against public DNS blocklists with a free tool or dig, read the 127.0.0.x answer, and get delisted by fixing the cause first.

Updated 2026-11-23

Run the address through the free IP blacklist check, or query a blocklist yourself with dig by reversing the address and adding the list's zone. A reply in 127.0.0.x means listed. Then read the reason, fix the cause and follow that list's removal process. The API does not include this check.

What a blocklist is

A DNSBL is a list of addresses its operator considers a source of spam or abuse, published through DNS so mail servers can query it during delivery (RFC 5782). Each list has its own rules and its own removal process, and each receiving server decides which lists to use. A listing matters only to the receivers that consult that list.

Free way

  1. Open the IP blacklist check and enter the address.
  2. Read Listed on and the row for each list: No, a reason or code, or Unknown.
  3. Or do it by hand. Reverse the four parts of an IPv4 address and add the zone. For 203.0.113.7 and SpamCop's list:
bash
dig +short 7.113.0.203.bl.spamcop.net

An answer such as 127.0.0.2 means listed. No answer means not listed. Add TXT to the command to see the reason when the list publishes one.

Some large lists refuse queries from public resolvers and answer with an error code in 127.255.255.0/24. That is not a listing. Use the list's own lookup page in that case.

With the API

The API does not query blocklists. What it gives is a view of the network:

bash
curl https://api.qelka.com/v1/ip \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"ip": "8.8.8.8"}'

It costs 1 credit. Read:

json
{
  "asn": { "number": 15169, "org": "Google LLC", "type": "hosting" },
  "flags": { "tor": false, "vpn": false, "proxy": false, "datacenter": true },
  "risk": { "score": 35, "level": "medium" }
}

Values are illustrative. This describes the network and its flags, not the lists. Use it next to the free check, not instead of it. See the IP reference.

If you are listed

  1. Read the reason. It points to the cause: an infected machine, a hacked mail account or web form, an open proxy, or a shared address someone else abused.
  2. Fix the cause. Otherwise you will be listed again.
  3. Follow the list's process. Some lists remove an address automatically after a period without new reports, others let you remove it through a form.
  4. Recheck after the change has had time to spread.
  5. Review your sending. See Reduce email bounce rate.

A listing from a list your recipients do not use changes nothing for them. A bounce message often names the list that caused the rejection, so start there.

Special cases

  • Residential addresses. Some lists cover home ranges by policy, because they are not expected to send mail directly. Send through your provider's servers instead.
  • Shared servers. One bad customer lists everyone on the address. Ask the host to fix it or move you.
  • IPv6. Lists that publish no IPv6 data answer not listed for everything, so a clean result means less.
  • Reverse DNS. A missing or mismatched reverse DNS entry hurts mail from a clean address too.

Common mistakes

  • Changing the address and calling it fixed. The cause moves with you.
  • Reading Unknown as listed. It means no usable answer.
  • Checking only one list. Listings differ by list.
  • Reversing the address wrongly. 203.0.113.7 becomes 7.113.0.203.
  • Skipping the reason. It names the fix.

Frequently asked questions

How do I know if my IP address is blacklisted?
Query public DNS blocklists for it. The free IP blacklist check does this against several lists and shows which ones list the address and why. Or reverse the address, add a list's zone and query with dig: an answer in the 127.0.0.0/8 range means listed, and no answer means not listed on that list.
What does 127.0.0.2 mean?
It is the conventional listed answer from a DNS blocklist. RFC 5782 reserves the 127.0.0.0/8 range for these answers, so they cannot be real addresses. 127.0.0.2 is the generic code, and some lists use other last digits for categories. Read the list's documentation to decode them.
Does the API check blacklists?
No. The DNS blocklist check exists only in the free tool. The API's IP endpoint returns location, network type, Tor, VPN, proxy and data center flags and a risk score. Those describe the network, and a blocklist listing describes what a list operator saw from the address.

Put this check in your product

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

  • 100 free credits a month
  • No card
  • Test keys spend nothing
  • Cancel any time