From: Otto Moerbeek Date: Wed, 17 Aug 2022 15:15:33 +0000 (+0200) Subject: Update pdns/pdns_recursor.cc X-Git-Tag: rec-4.8.0-alpha1~53^2~1 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=bebf8b7c6cd3b7b3cbd2cc7c39758f1c49f376b9;p=thirdparty%2Fpdns.git Update pdns/pdns_recursor.cc Co-authored-by: Remi Gacogne --- diff --git a/pdns/pdns_recursor.cc b/pdns/pdns_recursor.cc index 5e4bcd7fc7..c54e5bdbb8 100644 --- a/pdns/pdns_recursor.cc +++ b/pdns/pdns_recursor.cc @@ -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; }