Installation of Pi Hole fails

Just wondering why do you need pi-hole when knot resolver does exactly the same thing.
Take a look below. For me it works fine.
https://forum.test.turris.cz/t/knot-resolver-and-rpz/2023/37