The link I provided is for adapting a PiHole which does in fact provide those features.
Yes, there is added latency because of the tor network (a feature, not a bug), but I have been running this setup for about 5 years now behind an OPNsense router with little to no issue.