charlesabarnes / SPFtoolbox

SPFtoolbox is a Javascript and PHP app to look up DNS records such as SPF, MX, Whois, and more
http://spftoolbox.com/
MIT License
274 stars 61 forks source link

Feature Request #40

Open jpgpi250 opened 4 years ago

jpgpi250 commented 4 years ago

I'm using pihole (an adblocker), listening on port 53, addresses 127.0.0.1 and 192.168.2.57. pihole forwards all requests, not on the blacklist, to unbound port 5552, addresses 127.10.10.2 or fdaa:bbcc:ddee:2::5552 (local addresses, same host). The result is, when trying to resolve a domain on the blacklist, using pihole, the response will be 0.0.0.0 or :: When submitting the request to unbound, the response will be the real address of the domain.

Pihole, unbound and SPFtoolbox (hosted on lighttpd) are all running on the same machine.

It would be a great improvement if there was a configuration file, specifying the possible resolvers, something like: 127.0.0.1#53 192.168.2.57#53 127.10.10.2#5552 fdaa:bbcc:ddee:2::5552#5552 and a dropdown selection box in the web interface (php scripts) to select a resolver, used by SPFtoolbox to provide the requested DNS information.

Don't know if this is possible, would be a great improvement if it was (I would create a topic on the pihole forum to recommend this tool as a trouble shooting option).