]> git.ipfire.org Git - thirdparty/bind9.git/commit
fix: usr: Use the zone file's basename as origin in DNSSEC tools
authorEvan Hunt <each@isc.org>
Wed, 1 Apr 2026 20:47:44 +0000 (20:47 +0000)
committerEvan Hunt <each@isc.org>
Wed, 1 Apr 2026 20:47:44 +0000 (20:47 +0000)
commit08fa3440146ccf0508873e606f027f7b24ab680c
treec67e9f00a255a4164043e77bf7a47146680de563
parent22116110ffa6d5fdf54caaf77749f0dd3e2ab4a6
parent1251ae896c06c1a2e8c7953042f859847dacfa6b
fix: usr: Use the zone file's basename as origin in DNSSEC tools

In `dnssec-signzone` and `dnssec-verify`, when the zone origin is not specified using the `-o` parameter, the default behavior is to try to sign using the zone's file name as the origin. So, for example, `dnssec-signzone -S example.com` will work, so long as the file name matches the zone name.

This now also works if the zone is in a different directory. For example, `dnssec-signzone -S zones/example.com` will set the origin value to `example.com`.

Closes #5678

Merge branch '5678-signzone-basename' into 'main'

See merge request isc-projects/bind9!11360