dnsbl
dnsbl copied to clipboard
Query DNS-based blackhole lists
This exports the `query` function so that users can use custom `resolver` options, e.g. 🍊 [Tangerine](https://github.com/forwardemail/tangerine) which supports DNS over HTTPS ("DoH").
Fixes #10 Code I used for dev purposes: https://gist.github.com/theel0ja/28f9b2c6fbe3d6d5fc4547680b211fcc `includeTxt` is broken, though. I guess it's this: https://github.com/silverwind/dnsbl/blob/5c340a54e89702c40cb067710003ca62cd64e6dd/index.js#L35-L37 It returns "false" even if the A record is returned, if no...
Caching
It would be great to have caching added somehow to reduce HTTP requests when bots spam servers.
Example lists: * https://telcodb.net/docs/dns-hsts-preloading/ * http://suomispam.net/ * http://uribl.com/ * http://www.surbl.org/ * https://www.sarbl.org/Main