AdguardTeam / AdGuardHome

Network-wide ads & trackers blocking DNS server
https://adguard.com/adguard-home.html
GNU General Public License v3.0
24.84k stars 1.79k forks source link

Reload ipset_file without restarting AdGuardHome #5676

Open user9931 opened 1 year ago

user9931 commented 1 year ago

Prerequisites

Description

adguardhome is not very fast thing to restart completely, especially on low-end devices (unlike dnsmasq) so please consider some way to reload options from ipset_file without restart (maybe on SIGHUP)

Freebase394 commented 1 year ago

Yes, Its completely true! On my Raspbery Pi 3b+ its take ~1 - 3 minutes to restart. 💯

On my Proxmox Server Only take 10-20 secons

odcold commented 6 months ago

this would be a great improvement, since there is already etc/hosts file update watcher also adding command e.g ipset flush (optionally) after updating the file will help to keep current sets up to date