A local dnsmasq[1] is the simplest solution for tech people, and decent odds you already have a local resolver anyway.
0. https://news.ycombinator.com/item?id=19828702
1. https://gist.github.com/ardislu/b2f2b4b439c5da2f7ccb6bb42e7a...