Go to file
2020-12-31 02:49:54 +00:00
.github/ISSUE_TEMPLATE Ping Test on configure input 2020-06-02 09:43:58 -05:00
.nova 3.0.2 (#104) 2020-10-10 11:30:40 -05:00
backup Make logging path user adjustable 2020-05-27 10:00:30 -05:00
docs 3.1.1 (#112) 2020-10-21 09:37:23 -05:00
includes cleanup indentions 2020-12-31 02:49:54 +00:00
prep cleanup indentions 2020-12-31 02:49:54 +00:00
templates 3.0.0 (#100) 2020-10-07 17:45:39 -05:00
.gitignore Update .gitignore 2020-10-21 14:39:54 -05:00
CHANGELOG.md indention change 2020-12-31 02:45:47 +00:00
gravity-sync.conf.example 3.1.0 (#105) 2020-10-19 13:48:23 -05:00
gravity-sync.sh cleanup indentions 2020-12-31 02:49:54 +00:00
LICENSE Initial commit 2020-05-21 12:57:19 -05:00
README.md indention change 2020-12-31 02:45:47 +00:00
VERSION Start 3.1.2 2020-10-23 14:21:59 +00:00

Gravity Sync

What is better than a Pi-hole blocking ads via DNS on your network? That's right, two Pi-hole blocking ads on your network!

But if you have more than one Pi-hole in your network you'll want a simple way to keep the list configurations and local DNS settings identical between the two. That's Gravity Sync. With proper preparation it should only take a few minutes to install. Ideally you set up Gravity Sync and forget about it -- and in the long term, it would be awesome if the Pi-hole team made this entire script unnecessary.

Features

Gravity Sync the gravity.db database which includes:

  • Blocklist settings with status and comments.
  • Domain whitelist and blacklist along with status with comments.
  • Custom RegEx whitelist and blacklists.
  • Clients and groups along with any list assignments.
  • The Local DNS Settings feature in Pi-hole (These are stored in a separate custom.list file and this can optionally be disabled.)

Limitations

Gravity Sync will not:

  • Overwrite or sync device specific Pi-hole settings such as the local network configuration.
  • Overwrite or sync the Pi-hole admin/API passwords, nor does not leverage these at all.
  • Overwrite or sync the upstream DNS resolvers, etc.
  • Overwrite or sync DHCP settings or device leases synchronized.
  • Overwrite or sync long term data, query logs, or statistics.

Disclaimer

Gravity Sync is not developed by or affiliated with the Pi-hole project. This is an effort that seeks to implement replication, which is currently not a part of the core Pi-hole product. The code has been tested across multiple user environments but there always is an element of risk involved with running any arbitrary software you find on the Internet.

Setup Steps

  1. Review System Requirements
  2. Prepare Your Pi-hole
  3. Install Gravity Sync
  4. Configure Gravity Sync
  5. Execute Gravity Sync
  6. Automate Gravity Sync
  7. Profit

Additional Documentation

Please refer to the Wiki for more information: