From: Chris Hofstaedtler Date: Mon, 5 Jun 2023 20:38:34 +0000 (+0200) Subject: auth: add startup warning about outgoing-axfr-expand-alias=ignore-errors X-Git-Tag: rec-5.0.0-alpha1~163^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d786e4d467ae591e14436d9a2d0f2be249a1dcd7;p=thirdparty%2Fpdns.git auth: add startup warning about outgoing-axfr-expand-alias=ignore-errors --- diff --git a/pdns/auth-main.cc b/pdns/auth-main.cc index 65170674b2..12722088bb 100644 --- a/pdns/auth-main.cc +++ b/pdns/auth-main.cc @@ -742,6 +742,9 @@ static void mainthread() if (!PC.enabled() && ::arg().mustDo("log-dns-queries")) { g_log << Logger::Warning << "Packet cache disabled, logging queries without HIT/MISS" << endl; } + if (::arg()["outgoing-axfr-expand-alias"] == "ignore-errors") { + g_log << Logger::Error << "Ignoring ALIAS resolve failures on outgoing AXFR transfers, see option \"outgoing-axfr-expand-alias\"" << endl; + } stubParseResolveConf();