Hey there, im looking into setting up a DNS Server in my Homelab, i would like something like this:

  1. Server in Docker on my Proxmox Server
  2. Server in Docker on my NAS and
  3. Server in my “Cloud” Network

Do you guys have any recommendations on how i could accomplish this? Otherwise i will just use PiHole with sync again or something like it :)

10 points

Adguard home

permalink
report
reply
6 points

Two PiHole servers. One is hosted via docker on my primary file server and the other is hosted in a Hyper-V VM on my sole windows box. The VM one is also my DHCP server.

permalink
report
reply
1 point

I had this setup a couple of months ago, worked great with gravity-sync :)

permalink
report
parent
reply
6 points

Unbound on my OPNsense firewall. I don’t have advice for you, do you have some specific goals besides just having a DNS?

permalink
report
reply
1 point

Not really, just fed up with remembering IP-Adresses :)

permalink
report
parent
reply
2 points

Look at reverse proxy instead. While you can do what you’re after with DNS, a bunch of the reverse proxy systems will automatically deal with SSL certificate, and there are even a couple that eliminate essentially all configuration outside of your docker file. Like, add a new docker and it automatically configures appName.domain.tld with SSL assigned. And if you ever decide to expose that address to the Internet, reverse proxy makes that simple and provides some security options as well.

I use Caddy for my reverse proxy running from my OPNsense firewall, but if you want the automation with docker there are better options.

permalink
report
parent
reply
5 points

I use pihole for its good filtering, selective filtering, statistics and logging capabilities, and technitium dns as its upstream for it’s superior capability in defining dns records, and because I can use a DoH dns provider with it

permalink
report
reply
3 points
*
Deleted by creator
permalink
report
parent
reply
2 points

you don’t need to. but then for the sake of easier maintenance you want to containerize it (docker/podman), and be careful to not overload your pihole device, because then DNS service will go away or get large delays (especially if the device is overloaded with ram usage, and swaps a lot)

besides, my experience has been that swapping to USB storage on a raspberry pi is unstable enough to cause a kernel panic every few months

permalink
report
parent
reply
5 points
permalink
report
reply
3 points

I will give this one a try, had a eye on it before asking already :D

permalink
report
parent
reply
3 points

Solid choice. It’s been my go-to DNS+DHCP solution for over 5 years and has never let me down. Also a fan of DNSDist+PowerDNS, but for most environments (especially home/lab), Technitium wins by a mile.

permalink
report
parent
reply

Community stats

  • 161

    Monthly active users

  • 129

    Posts

  • 428

    Comments

Community moderators