diff --git a/dnscrypt-proxy/plugin_cache.go b/dnscrypt-proxy/plugin_cache.go index b3fa0778..dddb68d5 100644 --- a/dnscrypt-proxy/plugin_cache.go +++ b/dnscrypt-proxy/plugin_cache.go @@ -90,7 +90,7 @@ func (plugin *PluginCache) Eval(pluginsState *PluginsState, msg *dns.Msg) error return nil } - updateTTL(&cached.msg, cached.expiration) + updateTTL(synth, cached.expiration) pluginsState.synthResponse = synth pluginsState.action = PluginsActionSynth