From: Peter van Dijk Date: Thu, 1 Jul 2021 20:33:48 +0000 (+0200) Subject: emit error when dot-to-auth-names is set without DoT support X-Git-Tag: dnsdist-1.7.0-alpha1~108^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b42f9eb31c7eae4059fa6a61fe56216c1409de93;p=thirdparty%2Fpdns.git emit error when dot-to-auth-names is set without DoT support --- diff --git a/pdns/pdns_recursor.cc b/pdns/pdns_recursor.cc index 457019077b..8ec44fff7e 100644 --- a/pdns/pdns_recursor.cc +++ b/pdns/pdns_recursor.cc @@ -5074,6 +5074,11 @@ static int serviceMain(int argc, char*argv[]) SuffixMatchNode dotauthNames; vector parts; stringtok(parts, ::arg()["dot-to-auth-names"], " ,"); +#ifndef HAVE_DNS_OVER_TLS + if (parts.size()) { + g_log << Logger::Error << "dot-to-auth-names setting contains names, but Recursor was built without DNS over TLS support. Setting will be ignored."<