diff --git a/dnscrypt-proxy/plugin_forward.go b/dnscrypt-proxy/plugin_forward.go index aa63bb8c..f2e56542 100644 --- a/dnscrypt-proxy/plugin_forward.go +++ b/dnscrypt-proxy/plugin_forward.go @@ -92,6 +92,7 @@ func (plugin *PluginForward) Eval(pluginsState *PluginsState, msg *dns.Msg) erro return nil } server := servers[rand.Intn(len(servers))] + pluginsState.serverName = server respMsg, err := dns.Exchange(msg, server) if err != nil { return err