mattwebbio / orbital-sync

Synchronize multiple Pi-hole instances
http://orbitalsync.com
MIT License
550 stars 21 forks source link

Sync etc-dnsmasq.d folder contents #358

Open kanjieater opened 2 months ago

kanjieater commented 2 months ago

What feature would you like added?

I recently ran into the very confusing bug where my 02-my-wildcard-dns.conf was misconfigured to an old IP, and so services could connect as usual to my second pihole (which had no config). The wildcard dns thing allows you to do local loopback, so internally you resolve the domain locally and externally, you wouldn't be going through the pihole, so my second pihole was still able to resolve the dns by not resolving it locally, making it look like services were working, while my first pihole was redirecting to the wrong ip.

This sort of confusion could be avoided if etc folders were able to be synced when orbital-sync does it's thing

Version

v1.8.1

Log output

No response

Ga22be commented 1 month ago

See this old issue on the now archived gravity-sync: https://github.com/vmstan/gravity-sync/issues/211

Since there are DNS configuration not available within PiHole the syncing of folders such as /etc/dnsmasq.d/ are the final piece to make PiHole HA work really well.

I realize this project does syncing differently and that this configuration isn't made available in the UI sadly. If there is no plans on including stuff not in the UI I don't see how this would be included in this project unless PiHole actually starts allowing users to do such config from the UI.

I just figured that I'd add the context since the feature makes sense but hasn't made it into any solution that I know of thus far.