Pihole-Sync-Sender

Pihole-Sync-Sender

Docker app from ZappyZap's Repository

Overview

A Docker Container To Sync Two Piholes. This is the Sender/Master, you will need a receiver/secondary on the host who is running the receiver/secondary Pi-Hole. Note: after starting this container the first time please check the log for the public Key.

Runtime arguments

Network
bridge
Shell
sh
Privileged
false
Extra Params
--restart=unless-stopped

Template configuration

Node TypeVariable

This is where you should define if the container is the sender or the receiver

Target
NODE
Default
sender
Value
sender
Remote host IPVariable

This is the IP address (or FQDN/Hostname) of the remote Pi that we're syncting to.

Target
REM_HOST
Remote SSH portVariable

This is the non-standard SSH port that should be exposed on the container. Default of 22222 is probably fine. However, if you change this on the sender node, be sure to change the exposed port forward on the receiver node.

Target
REM_SSH_PORT
Default
22222
Value
22222
Root directoryPathrw

This is the directory in which the SSH key file and the known hosts file will be stored, so it needs to be persistent.

Target
/root
Etc-sshPathrw

This is the directory in which the SSH server key files and the SSH daemon config will be stored, so it needs to be persistent.

Target
/etc/ssh
Pi-Hole PathPathro

This is the /etc/pihole/ directory the Pi-Hole container writes to on the host filesystem. It is monitored and sychronized with the remote client directory. It should be set to the same as the /etc/pihole/ in the Pihole Docker container.

Target
/mnt/etc-pihole
Pi-Hole DNSmasq pathPathro

This is the /etc/dnsmasq.d/ directory the Pi-Hole container writes to on the host filesystem. It is monitored and sychronized with the remote client directory. It should be set to the same as the /etc/dnsmasq.d/ in the Pihole Docker container.

Target
/mnt/etc-dnsmasq.d

Categories

Download Statistics

138,453
Total Downloads
3,878
This Month
3,195
Avg / Month

Total Downloads Over Time

Loading chart...

Details

Repository
shirom/pihole-sync:latest
Last Updated2023-02-09
First Seen2022-10-03

Run Pihole-Sync-Sender on Unraid.

Pihole-Sync-Sender is listed in Community Apps for Unraid OS. Explore Unraid to build a flexible home server, NAS, or homelab.