this post was submitted on 29 Oct 2023
1 points (100.0% liked)

Homelab

371 readers
3 users here now

Rules

founded 11 months ago
MODERATORS
 

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?

top 14 comments
sorted by: hot top controversial new old
[–] tv-12@alien.top 1 points 10 months ago

bind.

Also, get off my lawn.

[–] MaxKulik1@alien.top 1 points 10 months ago

I run pfSense with pfBlockerNG and love it. Basically accomplishing the same thing PiHole would do but just doing it inside my router.

[–] Dudefoxlive@alien.top 1 points 10 months ago

Pi-Home or Ad Guard Home. Those are my personal two choices.

[–] OfficialXstasy@alien.top 1 points 10 months ago

adguard home, runs in docker and can do ipv6/ipv4 dhcp as well

[–] pavelhr@alien.top 1 points 10 months ago

Client PC -> Synology DNS (local domain) -> pihole (blocking + external domains) + cloudflared (for DNS over SSL) -> Clouflare DNS

[–] randomcoww@alien.top 1 points 10 months ago

I use systemd-resolved or avahi mDNS for local hostname resolution.

I use Kubernetes DNS (on CoreDNS) with external-dns for service name resolution.

[–] Lucky_Foam@alien.top 1 points 10 months ago

I use Pi-hole as my home DNS server. It runs in a VM and takes up very little resources.

[–] a60v@alien.top 1 points 10 months ago

Umm...BIND?

[–] AppearanceAgile2575@alien.top 0 points 10 months ago (1 children)

What are the benefits of hosting a personal DNS server?

[–] zSprawl@alien.top 1 points 10 months ago

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.

[–] Geoffman05@alien.top 0 points 10 months ago (2 children)

Lookup pihole and unbound. You’ll get ad blocking along with your own dns resolver. There are several near-copy-paste tutorials out there.

[–] RedditNotFreeSpeech@alien.top 1 points 10 months ago (1 children)

How do I block YouTube ads on mobile?

[–] 1sh0t1b33r@alien.top 1 points 10 months ago

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.

[–] HoustonBOFH@alien.top 1 points 10 months ago

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.