Feature request: Pi-Hole should handle redirects when it can

Pi-Hole, configured as recommended, makes it hard to use some google results, or to click on links in emails that are tracked.

For certain hosts, Pi-Hole should return itself as the IP address instead of, and the built-in web server should make a best effort to extract the redirect URL and redirect the request. While this wouldn’t solve all such situations, it could solve a lot of them.

The recipes for extracting URLs (as well as the domains that can be processed in this way) can be kept in a community-updated DB, just like the blacklists.

This will not work for HTTPS, which the majority of these redirects will use.

Ah, yeah, you’re right. Damn.