AdguardTeam / AdGuardHome

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

Enhancement for block domains and services (Instant Block) #1145

Open ghost opened 4 years ago

ghost commented 4 years ago

Issue Details

Steps to Reproduce

Affected feature requests

(important for parental control as well)

Expected Behavior

block immediately include established connections.

copacetic82 commented 4 years ago

YouTube will stop working once Windows makes a new DNS request, and gets a reply from AGH. This usually only happens when the TTL of the DNS entry runs out (for youtube I get 5mins), if you manually do a "ipfconfig /flushdns" on Windows, reconnect the network. Even then the browser might still show cached content.

This DNS query "decision" is made by the client. To achieve immediate blocking, AGH would have to overwrite the TTL of "legitimate" DNS replies to e.g. 1sek, in case the user wants to block certain services.

ameshkov commented 4 years ago

@copacetic82 even if AG rewrites the TTL, it won't help with connections that are already open.

Unfortunately, it's impossible to implement this request on the DNS-level.

It is possible to do on a proxy-level once #391 is done, but we didn't plan to implement parental control features there so I'll mark this as a low-priority feature request.

JoeJenningsDMC commented 4 years ago

@ameshkov, I'd like to kindly request that this feature that multiple people have asked for (Including myself) is not considered as a low priority ticket.

ameshkov commented 4 years ago

@JoeJenningsDMC please add the upvote reaction to the image. This is how we sort issues when we look for the most demanded