Radar231 912da5c22c | ||
---|---|---|
README.md | ||
pihole-dns-sync_local.sh | ||
pihole-dns-sync_via-ssh.sh |
README.md
pihole-dns-sync repo
Introduction
This repo contains simple scripts used to sync the dns and cname configuration files from a primary pihole server to a secondary pihole server.
-
pihole-dns-sync_via-ssh.sh
- runs on the secondary pihole and pulls from the primary via ssh
-
pihole-dns-sync_local.sh
- runs on a host mounting common storage between the two pihole instances (ie, for k8s deployment)
- copies the files from the primary pihole instance storage to the secondary pihole instance storage