AdguardTeam / dnsproxy

Simple DNS proxy with DoH, DoT, DoQ and DNSCrypt support
Apache License 2.0
2.38k stars 246 forks source link

Is it possible to block a list of hosts via a file? #392

Closed vukitoso closed 6 months ago

vukitoso commented 6 months ago

Hello. Is it possible to block a list of hosts via a file? I have my own list of hosts that need to be blocked, for example, give ip 127.0.0.2 or another for a given domain. Is it possible to do this? If not, then I suggest adding such functionality.

ameshkov commented 6 months ago

Hello, dnsproxy is supposed to be purely a proxy with minimum additional features. All the filtering functionality is available in AdGuard Home which uses dnsproxy as a library.