]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Update pdns/pdns_recursor.cc
authorOtto Moerbeek <otto.moerbeek@open-xchange.com>
Wed, 17 Aug 2022 15:15:33 +0000 (17:15 +0200)
committerGitHub <noreply@github.com>
Wed, 17 Aug 2022 15:15:33 +0000 (17:15 +0200)
Co-authored-by: Remi Gacogne <github@coredump.fr>
pdns/pdns_recursor.cc

index 5e4bcd7fc7fac5983aab1950e43142c52269adbd..c54e5bdbb88368dbef5ac3ce9e3c49ec916b2343 100644 (file)
@@ -1199,7 +1199,7 @@ void startDoResolve(void* p)
         }
       } // dc->d_luaContext
 
-      if (!luaHookHandled && g_dns64Prefix && dc->d_mdp.d_qtype == QType::AAAA && (!shouldNotValidate || !sr.isDNSSECValidationRequested() || !vStateIsBogus(dq.validationState)) && dns64Candidate(dc->d_mdp.d_qtype, res, ret)) {
+      if (!luaHookHandled && g_dns64Prefix && dc->d_mdp.d_qtype == QType::AAAA && (shouldNotValidate || !sr.isDNSSECValidationRequested() || !vStateIsBogus(dq.validationState)) && dns64Candidate(dc->d_mdp.d_qtype, res, ret)) {
         res = getFakeAAAARecords(dq.qname, *g_dns64Prefix, ret);
         shouldNotValidate = true;
       }