mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2024-11-10 11:44:54 +03:00
dns64: check the original question, not the returned one
This commit is contained in:
parent
26505ab560
commit
c74b993cbb
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user