{"id":13495865,"url":"https://github.com/vmstan/gravity-sync","last_synced_at":"2025-09-29T17:31:38.912Z","repository":{"id":37274418,"uuid":"265916655","full_name":"vmstan/gravity-sync","owner":"vmstan","description":"💫 The easy way to synchronize the DNS configuration of two Pi-hole 5.x instances.","archived":true,"fork":false,"pushed_at":"2024-07-26T18:45:33.000Z","size":567,"stargazers_count":2282,"open_issues_count":0,"forks_count":125,"subscribers_count":40,"default_branch":"master","last_synced_at":"2024-09-22T19:32:47.162Z","etag":null,"topics":["dns","pi-hole","raspberry-pi","replication"],"latest_commit_sha":null,"homepage":"https://vmstan.com/gravity-sync/","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/vmstan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":null,"patreon":"vmstan","open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2020-05-21T17:57:18.000Z","updated_at":"2024-09-22T16:47:30.000Z","dependencies_parsed_at":"2023-10-15T04:37:29.147Z","dependency_job_id":"ba01f9a8-3e02-45f3-8194-e80ca55fdc0d","html_url":"https://github.com/vmstan/gravity-sync","commit_stats":null,"previous_names":[],"tags_count":86,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmstan%2Fgravity-sync","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmstan%2Fgravity-sync/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmstan%2Fgravity-sync/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/vmstan%2Fgravity-sync/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/vmstan","download_url":"https://codeload.github.com/vmstan/gravity-sync/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219874649,"owners_count":16554606,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dns","pi-hole","raspberry-pi","replication"],"created_at":"2024-07-31T19:01:39.043Z","updated_at":"2025-09-29T17:31:38.551Z","avatar_url":"https://github.com/vmstan.png","language":"Shell","funding_links":["https://patreon.com/vmstan"],"categories":["Shell","raspberry-pi"],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n\u003cimg src=\"images/gs-logo.svg\" width=\"300\" alt=\"Gravity Sync\"\u003e\n\u003c/p\u003e\n\n\u003cspan align=\"center\"\u003e\n\n# Gravity Sync\n\n\u003c/span\u003e\n\n### Effective July 26, 2024, this project has been retired. Thank you for your use and enthusiasm for a project that began as a few lines of bash in a Slack channel and envolved into something far more complex, and used by many thousands of Pi-hole enthusiasts over the last four years. \n\n### The last released version of Gravity Sync (4.0.7) should continue to work with Pi-hole 5.x, but not with Pi-hole 6+ due to architecture changes.\n\nWhat is better than a [Pi-hole](https://github.com/pi-hole/pi-hole) blocking trackers, advertisements, and other malicious domains on your network? That's right, **two** Pi-hole blocking all that junk on your network!\n\n- [Seriously. Why two Pi-hole?](https://github.com/vmstan/gravity-sync/wiki/Frequent-Questions#why-do-i-need-more-than-one-pi-hole)\n\nBut if you have redundant 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 where Gravity Sync comes in. Setup should only take a few minutes.\n\n## Features\n\nGravity Sync replicates the core of Pi-hole's ad/telemetry blocking settings, which includes:\n\n- Adlist settings with status and comments.\n- Domain/RegEx whitelists and blacklist along with status and comments.\n- Clients and group assignments, along with status and descriptions.\n\nGravity Sync also replicates local network DNS/DHCP settings, which includes:\n\n- Local DNS Records.\n- Local CNAME Records.\n- Static DHCP Assignments.\n\n### Limitations\n\nGravity Sync will **not**:\n\n- Modify or sync the individual Pi-hole's upstream DNS resolvers.\n- Merge query logs, statistics, long-term data, caches, or other resolution information.\n- Sync individual Pi-hole DHCP scoping information or leases.\n\n## Setup Steps\n\n1. [Review System Requirements](https://github.com/vmstan/gravity-sync/wiki/System-Requirements)\n2. [Install Gravity Sync](https://github.com/vmstan/gravity-sync/wiki/Installing)\n3. [Configure Gravity Sync](https://github.com/vmstan/gravity-sync/wiki/Installing#configuration)\n4. [Execute Gravity Sync](https://github.com/vmstan/gravity-sync/wiki/Engaging)\n5. [Automate Gravity Sync](https://github.com/vmstan/gravity-sync/wiki/Automation)\n\n## Disclaimer\n\nGravity Sync is not developed by or affiliated with the Pi-hole project. This is project an unofficial, community effort, that seeks to implement replication (which is currently not a part of the core Pi-hole product) in a way that provides stability and value to Pi-hole users. 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.\n\nPi-hole is and the Pi-hole logo are [registered trademarks](https://pi-hole.net/trademark-rules-and-brand-guidelines/) of Pi-hole LLC.\n\n## Additional Documentation\n\nPlease refer to the [Wiki](https://github.com/vmstan/gravity-sync/wiki) for more information:\n\n- [Frequently Asked Questions](https://github.com/vmstan/gravity-sync/wiki/Frequent-Questions)\n- [Changelog](https://github.com/vmstan/gravity-sync/wiki/Changelog)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvmstan%2Fgravity-sync","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fvmstan%2Fgravity-sync","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fvmstan%2Fgravity-sync/lists"}