Modify blocking page - Pihole V4

This is my first post, asking for help.

Expected Behaviour:

[I am using Pihole to block pornographic content. There are other DNS servers that perform this function, but I need to monitor this. The blocking does it and it does not show the page (XXX), but I require that it show some warning (modified page) that the Access is blocked (some advertisement).]

Actual Behaviour:

[It is currently blocking very well. But it does not redirect you to a page or personalized ad.]

Excuse me, I hope the translation is clean and understandable. Thanks for your help.

If the site is https then you will not be able to redirect clients to another server.

@DanSchaper Thanks for the quick response, but I have seen that for example in OpenDNS it redirects the HTTP and HTTPS pages to block.opendns.com, and shows an informative page.

I would like some solution in this regard, thanks.

You would have to generate a security certificate for the domain and then include that certificate to every client.

Possible but highly technical and requires abilities beyond Pi-hole.

Edit: That block.opendns.com redirects to http://718a144e06d64049b4090e303bec3dab6724.ccc2eda6.id.opendns.com/s/block.opendns.com/?X-OpenDNS-Session=aa51dc5c0ccc5aad4_718a144e06d64049b4090e303bec3dab6724_636a94f65ca2da97a3cb149d8a2fae40bc8605f8_.

Thanks for the info.
I thought it was simple.
Greetings.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.