AdguardTeam / AdGuardHome

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

option like ipset but execute external command #5655

Open user9931 opened 1 year ago

user9931 commented 1 year ago

Prerequisites

Description

completely understand that maybe that feature not very popular.. for some reason, my adguardhome instance and router (which using ipset list) is different devices. so using ipset (or ipset_file) are not works for me in that case

option to call external script/program/http request on every new ip address resolved for specified domains will be great (so it will be possible on router side to add it into ipset somehow, not a problem)

as alternative is take output of ipset list and somehow sync it with router with cron...


or _as another way (and maybe preferred one, instead of adding completely new functionality that may be useful for couple of users) is iplist available throught api so if someone need it, can get it with simple http call

lexbritvin commented 3 months ago

I have started discussing a similar idea here https://github.com/AdguardTeam/AdGuardHome/issues/5136#issuecomment-2310149050 in scope of nftables and webhooks