looterz / grimd

:zap: fast dns proxy that can run anywhere, built to black-hole internet advertisements and malware servers
MIT License
1.38k stars 108 forks source link

Block via http api does not persist #82

Closed quaintdev closed 3 years ago

quaintdev commented 3 years ago

If any website is blocked via http api, it remains blocked until grimd restarts. One has to block website again after restart.

Currently only way to block website permanently seems to be blacklist parameter in toml. Am I missing something? Any suggestions?

looterz commented 3 years ago

We should setup a custom blocklist managed by the HTTP API to solve this issue.

quaintdev commented 3 years ago

I have implemented this change and it is working for me as expected. Pull request https://github.com/looterz/grimd/pull/83

looterz commented 3 years ago

Added in #83