From 66f894b7a139487274d6d2f3d037fe9033b2a418 Mon Sep 17 00:00:00 2001 From: bert hubert Date: Wed, 14 Jun 2017 00:41:27 +0200 Subject: [PATCH] also set d_requestor without Lua: the ECS logic needs it (cherry picked from commit cd00142f8ba7a70a59095249b601eb64257e146c) --- pdns/pdns_recursor.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pdns/pdns_recursor.cc b/pdns/pdns_recursor.cc index 0b7bbd44d..4890056ea 100644 --- a/pdns/pdns_recursor.cc +++ b/pdns/pdns_recursor.cc @@ -755,9 +755,8 @@ void startDoResolve(void *p) bool DNSSECOK=false; if(t_pdl) { sr.setLuaEngine(*t_pdl); - sr.d_requestor=dc->d_remote; } - + sr.d_requestor=dc->d_remote; // ECS needs this too if(g_dnssecmode != DNSSECMode::Off) { sr.d_doDNSSEC=true; -- 2.40.0