From: Remi Gacogne Date: Wed, 21 Apr 2021 15:43:34 +0000 (+0200) Subject: dnsdist: Carry the exact protocol (Do53, DNSCrypt, DoT, DoH) in DQ X-Git-Tag: dnsdist-1.7.0-alpha1~45^2~42 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=868678d7d254f285c8842cd33820639e72654350;p=thirdparty%2Fpdns.git dnsdist: Carry the exact protocol (Do53, DNSCrypt, DoT, DoH) in DQ --- diff --git a/pdns/dnsdistdist/doh.cc b/pdns/dnsdistdist/doh.cc index ad94b9bb7f..e3807871ce 100644 --- a/pdns/dnsdistdist/doh.cc +++ b/pdns/dnsdistdist/doh.cc @@ -1095,6 +1095,7 @@ static void dnsdistclient(int qsock) auto dh = const_cast(reinterpret_cast(du->query.data())); if (!dh->arcount) { + cerr<<"adding OPT RR"<query, 4096, 4096, 0, false)) { dh = const_cast(reinterpret_cast(du->query.data())); // may have reallocated dh->arcount = htons(1); @@ -1102,6 +1103,7 @@ static void dnsdistclient(int qsock) } } else { + cerr<<"leaving existing EDNS in place"<