This commit is contained in:
Frank Denis 2018-02-09 22:40:29 +01:00
parent f7630ad8fd
commit ebe41535ba
2 changed files with 6 additions and 6 deletions

View File

@ -70,8 +70,8 @@ func (plugin *PluginCacheResponse) Eval(pluginsState *PluginsState, msg *dns.Msg
}
}
plugin.cachedResponses.cache.Add(cacheKey, cachedResponse)
updateTTL(msg, cachedResponse.expiration)
return nil
}