Question

Is there is any other way instead of using checkdnsrr to make DNSBL lookup?

checkdnsrr is slow and can't set timeout for it.

Any idea please?

Was it helpful?

Solution

Most DNS blacklists have some DNS zone-interface, too. For example, if 44.33.22.11.this.dns.blacklist.com resolves to 127.0.0.2, that means this IP is blacklisted. This check is fast, mostly because it uses only a simple UDP send/receive, and because its result will be cached automatically by your local caching dns server. This feature is always well documented on the site of the blacklists.

It could be made more faster, if you find a way to make this blacklist lookup parallel, although it were not easy in php.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top