From: Peter van Dijk Date: Tue, 9 Jan 2024 12:37:56 +0000 (+0100) Subject: add testECSNone X-Git-Tag: auth-4.9.0-alpha1^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=68c2608e9372cc0fd4f50ae88cf210e70a766546;p=thirdparty%2Fpdns.git add testECSNone --- diff --git a/pdns/dnsproxy.cc b/pdns/dnsproxy.cc index fde68ce3a7..d3b8e03e15 100644 --- a/pdns/dnsproxy.cc +++ b/pdns/dnsproxy.cc @@ -270,6 +270,7 @@ void DNSProxy::mainloop() MOADNSParser mdp(false, p.getString()); if (p.d_eso.scope.isValid()){ // update the EDNS options with info from the resolver - issue #5469 + // note that this relies on the ECS string encoder to use the source network, and only take the prefix length from scope i->second.complete->d_eso.scope = p.d_eso.scope; DLOG(g_log<<"from dnsproxy::mainLoop: updated EDNS options from resolver EDNS source: "<second.complete->d_eso.source.toString()<<" EDNS scope: "<second.complete->d_eso.scope.toString()<