I do the same with a raspberry pi and dnsmasq on my home network. I am not using pi-hole, since I am not a fan of these curl | bash installers + I do not need the web-interface.
I was thinking about Pi-hole for a time but I heard that it is not so clean that it looks like. Only install what you really need and it is better if you can exactly understand what it does.
It is a good advice, thank you for sharing.
Pretty nifty. Are automatic updates the main benefit of this over /etc/hosts?