CoreDNS as resolver for a home network

First, a disclaimer. While I believe that I understand DNS reasonably well I am by no way an expert. I apologize in advance if anything I ask is insane or moronic.

Would it be possible to use CoreDNS as a caching and/or forwarding server for a typical home network? I realize that this is generally done by dnsmasq and that it’s typically also responsible for DHCP; I’m just thinking out loud. If it is possible do you have any thoughts on the performance difference between the two implementations?

1 Like

Yes, your use-case should work, a Corefile:

.:53 {
   proxy . 8.8.8.8:53 8.8.8.4.4:53
   cache
}

Should do what you want.

Note CoreDNS does not do DHCP.

If you run into something (documentation unclear or bugs), don’t hesitate to open a issue.

3 Likes

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.