

A place to share, discuss, discover, assist with, gain assistance for, and critique self-hosted alternatives to our favorite web apps, web services, and online tools.
Proper way to run two Adguard Home instances
I'm curious if people are running dual instances of adguard home or pihole or even one of each, also if you are what's the proper set up if the first instance takes up port 53 what would be the best port to us for the 2nd instance. I have two unread servers. My first one is running adguard home just fine. But I can use the 2nd one for a second instance or even use my freenas server.
ideally a second physical machine, otherwise a VM with a separate IP
I run two instances for my house and same at my parents, one on my router and one on another proxmox host as an lxc. I use this docker setup to sync the two, so I just have to make changes to one instance and everything is replicated over.
You don't want to run a DNS server on anything other than port 53. So 2 separate machines, with 2 IPs
One VM is in my proxmox cluster the other is on a NAS. Separate private IPs, DHCP assigns DNS to the gateway, gateway uses both private IPs for DNS. Running a docker container to sync settings between the two.
Thanks to everyone for the info. I appreciate how quick y'all were.
I have two AdGuard containers on two different servers. I have an additional container that watches the AdGuardHome.yaml file. If it changes, it will be synced to the second node within 60s and the second AdGuard instance is reset. To have a unified metering both AdGuard export all their data via Telegraf to an InfluxDB instance. The first AdGuard instance can be accessed via FQDN and reverse proxy. Both AdGuard use the same resolver, a pair off on-prem bind servers (I don’t use any cloud DNS, it’s also faster). There is a keepalived/traefik load balancer pair that will use a VIP to proxy to both instances, but just for the fun of it, so in theory I have 3 DNS IPs I can use, but most clients only accept two.
I’m a bit weird about core services like DNS, so my DNS IPs are always on the last subnet possible and use the port number or close to it, DNS IPs are .51, .52 and .53 (VIP).
Disclaimer: I handle DNS for a few thousand clients that way. I use split DNS for internal and external resolution. I don’t use cloud DNS, only on-prem resolvers.
What is the purpose of having two adguard instances running?
I use AdGuardHome as my only DNS servers for everyone on my home network. So I run two instances (sync'd by AdGuardHomeSync) so that I can reboot a server (or something can go wrong when I'm away) and things still keep working for everyone.
I was thinking the same...
I'm running 2 adguard home instances in 2 separate docker containers on 2 separate machines. Also running adguard home sync, to sync the two databases. Everything works fine in that regard, however when one instance is down, some machines lose internet. They don't find the other instance.
I have a ubiquity udm pro router where I have both DNS addresses listed in the network settings. It seems like certain machines on my network are tied to just one of those adguard instances and don't automatically search. Does anybody have any ideas?