From cd00142f8ba7a70a59095249b601eb64257e146c 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 --- 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 de6eba32f..e2dabebcc 100644 --- a/pdns/pdns_recursor.cc +++ b/pdns/pdns_recursor.cc @@ -764,9 +764,8 @@ static 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.setDoDNSSEC(true); -- 2.40.0