From f1b57cb8d87ae23222152d1ce824c9d7b95fe1fc Mon Sep 17 00:00:00 2001 From: Peter van Dijk Date: Thu, 18 Jul 2024 19:56:46 +0200 Subject: [PATCH] give ANY hint if there are no results --- pdns/pdnsutil.cc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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; } -- 2.47.2