mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-01-16 02:40:37 +01:00
parent
a389067d29
commit
8b608403b1
@ -52,6 +52,9 @@ func (plugin *PluginCacheResponse) Eval(pluginsState *PluginsState, msg *dns.Msg
|
||||
if msg.Rcode != dns.RcodeSuccess && msg.Rcode != dns.RcodeNameError && msg.Rcode != dns.RcodeNotAuth {
|
||||
return nil
|
||||
}
|
||||
if msg.Truncated {
|
||||
return nil
|
||||
}
|
||||
cacheKey, err := computeCacheKey(pluginsState, msg)
|
||||
if err != nil {
|
||||
return err
|
||||
|
Loading…
Reference in New Issue
Block a user