That made smile. Glad you found help here and solved your issue!
So... You are going to set up a small DNS-Server next too? ;-)
No really, I can recommend PiHole for DNS-AdBlock and it allows to set DNS entries too. That's why I use for my 2 Raspberries and the few VMs + network equipment.