pihole-dns-sync/README.md

516 B

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