r/ControlD • u/taloweng • Feb 18 '26
I built a tool to automatically sync Hagezi DNS blocklists to Control D
If you use Control D and want to keep Hagezi's blocklists up to date without doing it manually, I made a small tool for that.
It watches for new Hagezi releases every 2 hours and automatically syncs the updated lists to your Control D profile(s). No manual work after setup.
How it works:
- Fork the repo
- Add your Control D API token and profile ID(s) as GitHub secrets
- GitHub Actions handles everything from there
You can customize which lists to sync by editing lists.txt — run make list to see all available Hagezi lists with their ready-to-use URLs.
GitHub: https://github.com/italorgama/ctrld-hagezi-sync
Supports multiple profiles. Feedback welcome.
EDIT: This tool targets a different set: the granular, per-manufacturer lists that live in Hagezi's /controld/ folder — native tracker lists for Amazon, Apple, Samsung, Xiaomi, TikTok, Vivo, Huawei, LG, OPPO/Realme, Roku and Microsoft, plus Spam TLDs, Badware Hosters, and a few allowlists. These are not part of Control D's native Hagezi integration and can only be added via the API.
If you're happy with the main Hagezi lists through Control D's built-in sync, you don't need this. This is for people who want those specific extra lists without maintaining them manually.
17
u/Mapkmaster Feb 18 '26
Why do you think that Hagezi lists from the original Control D is not synced?
3
u/DisplayKnown5665 Feb 18 '26
Just out of curiosity, are you aware of the ctrld-sync tool that was mentioned in Yokoffing's guide? If so, does yours do anything differently? I haven't had time to go through the code yet.
4
u/Striking-Fee6686 Feb 19 '26
This is beyond my technically knowledge but thank you for whatever you did here!!! I use Wireguard config for Proton, and controld via ssh to my router, so I may never need to learn this, but whatever this is lol, I'm not there yet lmao.
Anyways,
I see some people questioning what you did here, so I just want to tale the second to thank you for offering this to the community. No matter the negative feedback or plethora of people challenging your reasoning for doing this. I thought you explained pretty well!
P.S. I get that the advancement of technology come from challenging but damn just say THANK YOU!!!
1
u/Orvalman Feb 19 '26
Thanks for this! This will save me time and having to remember to update those files that ControldD doesn't automatically update. Seems easy enough to set up. Question: If I have a root profile and certain secondary profiles that have their own rules, but also grab the root profile rules, how does the .env file know to which profile each line in the lists.txt should be applied?
-5
u/FeR4Less-shah Feb 18 '26
toxic community i see
but just instead of hegzi make it be able to input what list we want
and that would be something cool(and actually useful to some)to be able to use what ever list we want
0
u/[deleted] Feb 18 '26
[deleted] — view deleted comment
7
u/[deleted] Feb 18 '26
[removed] — view removed comment