From b42f9eb31c7eae4059fa6a61fe56216c1409de93 Mon Sep 17 00:00:00 2001 From: Peter van Dijk Date: Thu, 1 Jul 2021 22:33:48 +0200 Subject: [PATCH] emit error when dot-to-auth-names is set without DoT support --- pdns/pdns_recursor.cc | 5 +++++ 1 file changed, 5 insertions(+) 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."<