gravity-sync icon indicating copy to clipboard operation
gravity-sync copied to clipboard

Feature Request? Can Gravity-Sync restart DNS resolver so domain whitelist/blocklist/adlist takes effect immediately?

Open northportio opened this issue 2 years ago • 1 comments
trafficstars

I've tested gravity sync by blocking example.com and it seems to take forever for the domain to stop resolving. For any change to take effect, you have to restart the dns resolver see here. Can gravity sync restart the dns resolver automatically after any push/pull/sync? Thanks.

northportio avatar Feb 20 '23 07:02 northportio

It should be reloading the list into the cache, but if your local system has already resolved it it might need to expire there?

I used to do a full restart but that flushed the cache and people complained that it would result in more outbound queries.

vmstan avatar Feb 20 '23 22:02 vmstan

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.

vmstan avatar Jul 26 '24 18:07 vmstan