Personal DNS Server

Anybody have some insight on setting up a DNS server? I have a pfSense box with plenty of horsepower where I can setup bind. Or I also have the option of using my debian server.

My main objective is performance then prioritizing the service to fallback to openDNS or something.
I have never set one up before. I assume they have some predefined tables with the ip/hostname info?

I'll be jumping into this tomorrow afternoon while updating my machines. Let me know if you have any suggestions.

Thanks

Pfsense has unbound installed by default, it's called dns resolver under services. It's basically the same thing as bind but through the gui it's fairly limited. You can create A records in the gui quite easily and for anything else you can add the config lines to the advanced options box, it just has to be in the unbound format.

On my home network I use the built in pfsense dns server for everything with my mx records and dkim studf done manually using the advanced options box so it's totally doable. Or you can just run a DNS server on another machine.

By default the dns resolver will resolve queries itself and fall back on any other dns servers you configure in the system > General setup tab. But if you want it to forward all external lookups to opendns you just check the forward only box in the dns resolver settings. In this configuration it will still resolve local queries but anything that isn't part of your domain will go to opendns or whoever you configure. Leaving it to resolve it's own lookups is probably a better option and just have it fall back on opendns but either way works fine.

1 Like