I’m looking into (finally) hosting a DNS server on my home network, but I am unsure on what software to use. I’m probably going to be running it on an Raspberry Pi 4 for starters. What are your experiences and recommendations for DNS services?
bind.
Also, get off my lawn.
Client PC -> Synology DNS (local domain) -> pihole (blocking + external domains) + cloudflared (for DNS over SSL) -> Clouflare DNS
I use systemd-resolved or avahi mDNS for local hostname resolution.
I use Kubernetes DNS (on CoreDNS) with external-dns for service name resolution.
I use Pi-hole as my home DNS server. It runs in a VM and takes up very little resources.
Umm…BIND?
I run pfSense with pfBlockerNG and love it. Basically accomplishing the same thing PiHole would do but just doing it inside my router.
Pi-Home or Ad Guard Home. Those are my personal two choices.
adguard home, runs in docker and can do ipv6/ipv4 dhcp as well
What are the benefits of hosting a personal DNS server?
If run your own root servers, it keeps your ISP from “snooping” at your otherwise encrypted https surfing and lets you cache things “locally”, not that you’ll entirely notice. You can also block known malicious domains using a tool like PiHole as your dns.
A lot of it is because this is homelab though. Your average user is fine pointing to a popular dns server like OpenDNS.
Lookup pihole and unbound. You’ll get ad blocking along with your own dns resolver. There are several near-copy-paste tutorials out there.
I had a client that needed a caching DNS, and I put in pi hole. Did everything they needed, plus diagnostics, and ad filtering. And all with a very easy GUI.
How do I block YouTube ads on mobile?
It’s very hit or miss with YouTube these days, mostly miss, because the ads are embedded. But as long as your phone is on the same network that has a Pihole as DNS, then your phone is getting the same blocking as anything else.