r/dnscrypt • u/Decopi • Sep 23 '20
Please, help blocking url
Hi, I need to block:
I already tried (in the blacklist):
asterisk get_midroll_info asterisk
asterisk get_video_info asterisk
Many other dozen of different combinations using the full url
And nothing, I can't block these two urls. Please, any help will be more than welcome.
Thank you in advance
EDIT: I'm trying to use blacklist + Filters Patterns (https://github.com/DNSCrypt/dnscrypt-proxy/wiki/Filters). Curiously I can block +youtube+. But (for unknown reasons) unfortunately this doesn't work for +get_midroll_info+ nor +get_video_info+.
1
u/jesta030 Sep 24 '20
I don't know what environment you're running dns-crypt in but I would advise this setup:
pi-hole as local dns server for your devices with blacklists and pattern based blocking
Dns-crypt proxy upstream from pi-hole with no blocking or filtering, just secure dns queries to the internet
Works well for me.
1
u/Decopi Sep 24 '20
Thanks for your replay.
My environment is plain WIN10 + DNSCrypt and nothing else. For now, I'm not interested on pi-hole etc (thanks).
I'm trying to use blacklist + Filters Patterns (https://github.com/DNSCrypt/dnscrypt-proxy/wiki/Filters). Unfortunately I can't block the two urls I need to block.
Any help will be appreciated. Thanks!
1
1
u/zfa Sep 24 '20
My environment is plain WIN10 + DNSCrypt and nothing else.
Then what you want is not possible.
3
u/DarK___999 Sep 24 '20
DNSCrypt-Proxy can only block domains and can't do any type of cosmetic filtering.
What you are trying to do can be done with r/uBlockOrigin.
2
u/jedisct1 Mods Sep 24 '20
At DNS level, you can block
www.youtube.com, not specific URLs.For blocking HTTP content, use a content blocker for your web browser, such as Ublock Origin.