]> git.ipfire.org Git - thirdparty/pdns.git/commit
pdnsutil {add-record,delete-rrset}: Require NAME to be absolute
authorUwe Kleine-König <uwe@kleine-koenig.org>
Wed, 18 Dec 2024 11:21:24 +0000 (12:21 +0100)
committerUwe Kleine-König <uwe@kleine-koenig.org>
Tue, 15 Jul 2025 11:12:03 +0000 (13:12 +0200)
commitf979a674c9bc4cb21e8400dd4a76418fc7d56d5e
tree590b06a4eccd9a15cd383202ba722c4d778e751e
parent95417da459b02c464b98a746dfc3b6dd405a04c4
pdnsutil {add-record,delete-rrset}: Require NAME to be absolute

Note this is an incompatible change because calls like

pdnsutil --config-dir=configs/auth add-record example.net . NS 1.2.3.4

which added the NS record to the zone's apex before and is an error now.

Note that also "@" isn't interpreted any more as "at the apex".

Adapt the test suite and docs accordingly to use absolute names.

Closes: https://github.com/PowerDNS/pdns/issues/8595
docs/guides/basic-database.rst
docs/manpages/pdnsutil.1.rst
pdns/pdnsutil.cc
regression-tests.auth-py/test_GSSTSIG.py
regression-tests/backends/lmdb-master
regression-tests/tests/pdnsutil-zone-handling/command
regression-tests/tests/zone-variants/command