Hey there, im looking into setting up a DNS Server in my Homelab, i would like something like this:
- Server in Docker on my Proxmox Server
- Server in Docker on my NAS and
- 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 :)
I use PiHole+Unbound in a podman quadlet, and give it its own macvlan. Works great for me.
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
Do you need dedicated hardware for pihole?
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
I use Blocky as my DNS server.
CoreDNS in Docker to mix things up here a little.
Just run it as systemd service on my server.
Adguard home
My home lab is small so I just run BIND ony server
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.
I had this setup a couple of months ago, worked great with gravity-sync :)
Unbound on my OPNsense firewall. I don’t have advice for you, do you have some specific goals besides just having a DNS?
Not really, just fed up with remembering IP-Adresses :)
Two pihole servers, one n VM vlan, one on device VLAN with OpnSense delivering them both via DHCP options. I sometimes update lists, like yearly… At best. They’ve been there over 7 years. Calling them robust is correct. The hypervisors are 3 proxmox servers in cluster using ceph. Intrl NUC 3rd Gen. Less than 80w combined with all vms. Also 8 years old no failures but tolerant for it.
I sometimes update lists, like yearly… At best
Don’t they get updated automatically?
I think you can configure them to do so :)
Technitium
I will give this one a try, had a eye on it before asking already :D
I run Unbound on my opnsense firewall.
I think i will try unbound too :) Thank you!
The default Unbound server on Opnsense.
I have a philosophy of sticking close to reference implementations and upstream in the homelab because it forces me to learn principles rather than implementations. I use bind9, but that upstreams to pihole on a different port. It is hard to configure for sure, editing zone files in vi, but I learn a lot analyzing the reference syntax to understand features. I also use isc-dhcp-server for DHCP, again manually populating dhcpd.conf.
Bind can peer with other instances; right now it is it’s own ipam vm on my proxmox with bind/isc-dhcp/pihole docker, but I’m looking at dropping some hardware at a family member’s for a site 2.