From c2355864cf47cafe4bfebe91dbb929f725aea8b4 Mon Sep 17 00:00:00 2001 From: Miod Vallat Date: Wed, 28 May 2025 08:20:49 +0200 Subject: [PATCH] Suggest create-zone after view-add-zone of a nonexisting zone. --- pdns/pdnsutil.cc | 9 ++++++++- regression-tests/tests/views-management/command | 2 +- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/pdns/pdnsutil.cc b/pdns/pdnsutil.cc index 59bd7c3718..54a35f32bf 100644 --- a/pdns/pdnsutil.cc +++ b/pdns/pdnsutil.cc @@ -4624,7 +4624,14 @@ static int viewAddZone(vector& cmds, const std::string_view synopsis) if (!B.viewAddZone(view, zone)) { cerr<<"Operation failed."<&1 | (egrep -v 'destructor' || true) +$PDNSUTIL -q --config-dir=. --config-name=$backend $* 2>&1 | (egrep -v 'destructor' || true) } set -e # to make this first call exit us early for non-variant capable backends. -- 2.47.2