8
Local DNS on Pihole (lemmy.world)

How are folks syncing local DNS records across multiple Piholes?

top 9 comments
sorted by: hot top controversial new old
[-] ilillilillilillililli@lemmy.world 2 points 6 months ago

I just run teleporter on my primary and manually upload that backup to my secondary. My blocklists and local DNS dont change much, so its not a big concern of mine.

Nebula-Sync and Orbital-Sync may be of interest to you. It seems like you want to automate the syncing.

[-] modus@lemmy.world 1 points 6 months ago

Why do you have more than one? Is this for an enterprise-level situation?

[-] 4am@lemmy.zip 1 points 6 months ago

So the whole house doesn’t go down and/or need to be reconfigured to do an update

[-] talentedkiwi@sh.itjust.works 0 points 6 months ago

I've found that if I set primary as pihole and secondary as, say 1.1.1.1. then, my android phone will pick either one seemingly randomly. So my local DNS doesn't work.

My workaround was to do two pihole. I forget how I sync them though.

[-] modus@lemmy.world 2 points 6 months ago

I see. I set my router's DNSs to pihole for the first and then one of adguard's public IPs for the second.

[-] stratself@lemdro.id 1 points 6 months ago

Pihole runs on dnsmasq right? Maybe you could create a cronjob to copy the underlying dnsmasq.conf to other Piholes

[-] oxfordcoma@lemmy.world 1 points 6 months ago

I run unbound alongside pihole for extra privacy and I keep my unbound config in git. I have gitea set up to push out new unbound configs every time there’s a git push.

[-] etchinghillside@reddthat.com 0 points 6 months ago
[-] GeekyOnion@lemmy.world 1 points 6 months ago

I have a "main" Pihole on a Raspberry Pi, and I set up another instance in a VM for secondary functions.

this post was submitted on 11 Nov 2025
8 points (100.0% liked)

Selfhosted

59651 readers
240 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

  7. No low-effort posts. This is subjective and will largely be determined by the community member reports.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 3 years ago
MODERATORS