From: Peter van Dijk Date: Thu, 18 Jul 2024 17:56:46 +0000 (+0200) Subject: give ANY hint if there are no results X-Git-Tag: rec-5.2.0-alpha1~156^2~2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f1b57cb8d87ae23222152d1ce824c9d7b95fe1fc;p=thirdparty%2Fpdns.git give ANY hint if there are no results --- diff --git a/pdns/pdnsutil.cc b/pdns/pdnsutil.cc index 346a47362b..1f1460d038 100644 --- a/pdns/pdnsutil.cc +++ b/pdns/pdnsutil.cc @@ -4277,7 +4277,11 @@ try found = true; } if (!found) { - cerr << "Backend found 0 zone record results" << endl; + cerr << "Backend found 0 zone record results"; + if (type != QType::ANY) { + cerr << "- maybe retry with type ANY?"; + } + cerr << endl; return 1; }