r/Ubiquiti•
SomeJoe2346

Sync Unifi Local DNS between 2 gateways?

Question

Is it possible to sync the local DNS records between 2 gateways?

Here is my setup, I have a UDM Pro at my house and a UCG Ultra at my parents' house. They are configured with site-magic so I can access their LAN and vice-versa. I have a PC running proxmox at their house to run a few services for me in addition to the server I have at my house. I've added some entries for services on my network to my local DNS on my UDM Pro. I'd like to be able to sync those to the UCG Ultra at my parents' house so when I'm using something on their network, I can use the same host names without having to manually replicate the entries.

I can't find anything in the GUI and I know very little about how to use the APIs, but I struggled with ChatGPT and Perplex1ty for a while this weekend and couldn't get anything functional, basically coming to the conclusion the current network API doesn't support this. Am I wrong? If so, could somebody point me to somewhere I can get started?

I then decided to setup pihole since I saw a mention somewhere that you can sync between pihole servers. Well, apparently v6 doesn't natively support it and the current suggested solution of nebula-sync, isn't working properly. There is an open issue on github that has been there for a little over a week, but no resolution.

Does anybody know of a somewhat easy way to get the local DNS records sync'd from one Unifi gateway to another? If not, do you have another solution that isn't too convoluted? In my searching, some suggestions included running my own BIND servers, but that's more complex than I want to deal with. I just want something I can enter some DNS entries for my services that translate to their LAN IPs.

Thanks in advance for any help.

Posted Sep 2, 2025, 3:31 PM UTC

01
Loading comments…