I have PiHole running on a Raspberry Pi 4, along with a couple of home automation services. PiHole acts as my DNS and DHCP servers, and works GREAT! Plus, I'm able to manually block sites on a per-client basis (such as when my kids are on YouTube a bit too much)