Sign in to follow this  
Followers 0
prabhjot

How to use spamcop API

3 posts in this topic

Hello all,

I am new to SpamCop. I read on this page http://www.spamcop.net/fom-serve/cache/351.html

that we can use a dns query to know if an IP is in a black list or not in our custom application/software.

The page says that if I want to check an IP like 1.2.3.4 then my dns query should be:

nslookup 4.3.2.1.bl.spamcop.net

But for me this returns the messsage that this is a non-existent domain.

I wanted to confirm my understanding. So, if I receive non-existent domain message it means that IP is not blacklisted else it is blacklisted?

Thanks and have a nice day!

Edited by prabhjot

Share this post


Link to post
Share on other sites

Hello all,

I am new to SpamCop. I read on this page http://www.spamcop.net/fom-serve/cache/351.html

that we can use a dns query to know if an IP is in a black list or not in our custom application/software.

The page says that if I want to check an IP like 1.2.3.4 then my dns query should be:

nslookup 4.3.2.1.bl.spamcop.net

But for me this returns the messsage that this is a non-existent domain.

I wanted to confirm my understanding. So, if I receive non-existent domain message it means that IP is not blacklisted else it is blacklisted?

Thanks and have a nice day!

just put IP in here and it will show if listed on the SpamCop Block List (SCBL)

http://www.spamcop.net/bl.shtml

Share this post


Link to post
Share on other sites

And yes, if using the DNS query "Non-existant domain" means unlisted, 127.0.0.2 means listed, like in

Non-authoritative answer:

Name: 226.212.189.177.bl.spamcop.net

Address: 127.0.0.2

(for IP address 177.189.212.226)

Oh, and the text value

Non-authoritative answer:

226.212.189.177.bl.spamcop.net text =

"Blocked - see http://www.spamcop.net/bl.shtml?177.189.212.226"

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0