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?

  • Geoffman05@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    11 months ago

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

    • HoustonBOFH@alien.topB
      link
      fedilink
      English
      arrow-up
      1
      ·
      11 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.

      • 1sh0t1b33r@alien.topB
        link
        fedilink
        English
        arrow-up
        1
        ·
        11 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.

    • zSprawl@alien.topB
      link
      fedilink
      English
      arrow-up
      1
      ·
      11 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.

  • randomcoww@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    11 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.

  • MaxKulik1@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    11 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.

  • Lucky_Foam@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    11 months ago

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

  • pavelhr@alien.topB
    link
    fedilink
    English
    arrow-up
    1
    ·
    11 months ago

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