This repo was always experimental, even though it was used in production for a number of years. It is no longer maintained as other tools do a better job without the Python dependancy. https://github.com/0xERR0R/blocky is one option.
Blocking DNS Resolver inspired by Pi-hole® using CloudFlare 1.1.1.1 DNS over HTTPS