5/1/2023 0 Comments Pihole backup scheduler![]() ![]() ![]() Your domain lists: "exact match" and "regex" versions of your white and black lists (queried from Pi-hole's database at /etc/pihole/gravity.db).Your adlists/blocklists (queried from Pi-hole's database at /etc/pihole/gravity.db).The Primary Pi-hole then uses pihole-cloudsync in Push mode to upload four files to a private Git repository that you control (such as GitHub) that contain: Pihole-cloudsync allows you to designate any Pi-hole on any network to act as your "Master" or "Primary." This is the only Pi-hole whose list settings you will need to manage using Pi-hole's built-in web UI. Pihole-cloudsync is lightweight enough to use if you're only syncing 2 Pi-holes on a home network, but powerful enough to synchronize virtually unlimited Pi-holes on an unlimited number of networks.įeedback, suggestions, bug fixes, and code contributions are welcome. I couldn't find an existing script that did exactly what I wanted. I wanted to use Pi-hole's built-in web UI to manage only one set of lists on one Pi-hole - and then securely synchronize an unlimited number of additional Pi-holes. I also wanted the ability to share custom DNS hostnames between multiple Pi-holes so that the Pi-hole UI stats display the proper local hostnames instead of IP addresses. I wanted all six Pi-holes to share the same adlists, blacklists, whitelists, and regex files, but it was time-consuming to manually synchronize all of them (modify the local Pi-holes, VPN into the second network and modify those, then VPN into the third network and modify those). I was running six Pi-holes on three different networks at three different physical locations. A script to help synchronize Pi-hole adlist/blocklist, blacklist, whitelist, regex, custom DNS hostnames, and custom CNAME hostnames across multiple Pi-holes using a Git repository. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |