https://github.com/simonwhitaker/pihole-sync
A script for syncing whitelist and blacklist entries between multiple devices running Pi-hole (https://pi-hole.net)
https://github.com/simonwhitaker/pihole-sync
dns pihole pihole-blocklists raspberry-pi
Last synced: 5 months ago
JSON representation
A script for syncing whitelist and blacklist entries between multiple devices running Pi-hole (https://pi-hole.net)
- Host: GitHub
- URL: https://github.com/simonwhitaker/pihole-sync
- Owner: simonwhitaker
- License: unlicense
- Created: 2019-06-07T11:55:00.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-04-26T20:55:54.000Z (almost 6 years ago)
- Last Synced: 2025-04-06T21:42:49.321Z (10 months ago)
- Topics: dns, pihole, pihole-blocklists, raspberry-pi
- Language: Python
- Size: 10.7 KB
- Stars: 30
- Watchers: 5
- Forks: 4
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Introduction
If you have multiple devices running [Pi-hole](https://pi-hole.net), keeping whitelists and blacklists in sync across devices can be a chore.
pihole-sync helps keep those lists in sync across your devices.
Note: pihole-sync syncs whitelists and blacklists: the ones you see in the Whitelist and Blacklist tabs in the Pi-hole admin page. **It doesn't sync blocklists** (the URLs of lists of domains configured in Settings > Blocklists).
# Setup
```
cp settings.py.example settings.py
```
Now edit settings.py and add details for each of the devices on your network
that are running Pi-hole.
# Usage
```sh
python3 sync.py
```