mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-04-07 07:07:37 +03:00
Add a new powerful plugin: DNS cloaking
This commit is contained in:
parent
e62dd27593
commit
033931a13a
5 changed files with 179 additions and 0 deletions
|
@ -51,6 +51,9 @@ func InitPluginsGlobals(pluginsGlobals *PluginsGlobals, proxy *Proxy) error {
|
|||
if proxy.pluginBlockIPv6 {
|
||||
*queryPlugins = append(*queryPlugins, Plugin(new(PluginBlockIPv6)))
|
||||
}
|
||||
if len(proxy.cloakFile) != 0 {
|
||||
*queryPlugins = append(*queryPlugins, Plugin(new(PluginCloak)))
|
||||
}
|
||||
*queryPlugins = append(*queryPlugins, Plugin(new(PluginGetSetPayloadSize)))
|
||||
if proxy.cache {
|
||||
*queryPlugins = append(*queryPlugins, Plugin(new(PluginCache)))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue