View previous topic :: View next topic |
Author |
Message |
Kris
Joined: 12 May 2010 Posts: 375
|
Posted: Wed Sep 27, 2023 8:43 am Post subject: DNS Blacklist query |
|
|
Hi!
Do you think it is possible to use the DNS test to query DNS blacklists?
And if so, could you please point me in the right direction for settings?
Thaaaaanks! |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12806 Location: USA
|
Posted: Wed Sep 27, 2023 9:00 am Post subject: |
|
|
I think there are many DNSBL providers, most of them support DNS protocol but you should check documentation published by specific provider, the one you are using.
Regards
Alex |
|
Back to top |
|
|
Kris
Joined: 12 May 2010 Posts: 375
|
Posted: Wed Sep 27, 2023 9:12 am Post subject: |
|
|
Hi Alex,
The DNS blacklists return an IP address based on a reverse query.
If you wanted to know if 11.22.33.44 was blacklisted with Spamcop, the nslookup query would be:
NSLOOKUP 44.33.22.11.bl.spamcop.net
I can't seem to translate that to the DNS test in HM
Must be missing something (again.. ) |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12806 Location: USA
|
Posted: Wed Sep 27, 2023 9:57 am Post subject: |
|
|
I cannot get any reply from bl.spamcop.net. Tried TCP and UDP.
May be they use non standard port, may be different server should be used...
Could you contact spamcop.net support team?
Regards
Alex |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12806 Location: USA
|
Posted: Wed Sep 27, 2023 3:11 pm Post subject: |
|
|
If you will not find correct DNS server, you may use 8.8.8.8 or 1.1.1.1
Set "Reverse alert" test option so "no record" will set Ok test status
Regards
Alex |
|
Back to top |
|
|
Kris
Joined: 12 May 2010 Posts: 375
|
Posted: Thu Sep 28, 2023 12:16 am Post subject: |
|
|
Hi Alex,
You beat me to it!
Fresh start in the morning, got it to work.
To do a DNS blacklist check, create a DNS test with the following settings:
- Server: any working DNS server (I used 8.8.8.8 )
- Query (for spamcop): <reversed IP to check>.bl.spamcop.net
- In 'Optional Status Processing', set 'Reverse Alert'
The DNS blacklists will return a value if an IP address is listed.
Most return a value in the range from 127.0.0.2 to 127.0.0.12 or something, depending of why an IP address is listed. You can look these up per DNS blacklist.
If the IP address to check is not listed, the DNS blacklist will return nothing, hence the 'Reverse Alert' setting.
Thanks! |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12806 Location: USA
|
Posted: Thu Sep 28, 2023 4:14 am Post subject: |
|
|
You are welcome
Regards
Alex |
|
Back to top |
|
|
|