From c74b993cbbb2abc163935f2cbd3c95888674d9e1 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Thu, 17 Sep 2020 00:10:11 +0200 Subject: [PATCH] dns64: check the original question, not the returned one --- dnscrypt-proxy/plugin_dns64.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dnscrypt-proxy/plugin_dns64.go b/dnscrypt-proxy/plugin_dns64.go index efad5cd9..332e61c4 100644 --- a/dnscrypt-proxy/plugin_dns64.go +++ b/dnscrypt-proxy/plugin_dns64.go @@ -65,7 +65,7 @@ func (plugin *PluginDNS64) Reload() error { } func (plugin *PluginDNS64) Eval(pluginsState *PluginsState, msg *dns.Msg) error { - if !hasAAAAQuestion(msg) || hasAAAAAnswer(msg) { + if !hasAAAAQuestion(pluginsState.questionMsg) || hasAAAAAnswer(msg) { return nil }