No description
Find a file
Meriel Luna Mittelbach 4207ed7483
fix local mode being enabled when no keys in ~/.dnsvi/default (#9)
If no key files are found in `~/.dnsvi/default/`, dnsvi forcibly enabled local mode, but this is undesirable when a key is specified via the `-k` option.

Instead enable local mode only if no keys were found, **and** no key is specified.

Co-authored-by: Heiko Schlittermann (HS12-RIPE) <hs@schlittermann.de>
Reviewed-on: #9
Reviewed-by: Heiko Schlittermann <hs@schlittermann.de>
Co-authored-by: Meriel Luna Mittelbach <lunarlambda@gmail.com>
Co-committed-by: Meriel Luna Mittelbach <lunarlambda@gmail.com>
2025-11-26 13:26:31 +01:00
bin fix local mode being enabled when no keys in ~/.dnsvi/default (#9) 2025-11-26 13:26:31 +01:00
lib/DNS fmt: perltidy 2025-11-03 16:32:22 +01:00
t SKIP net tests conditionally 2021-01-29 22:16:41 +01:00
.gitignore Fix debian build 2016-11-10 19:37:03 +01:00
debian Do not include the debian/ in the "upstream master" 2021-01-30 09:56:24 +01:00
INSTALL Migrate to ExtUtils::MakeMaker 2016-09-30 23:00:02 +02:00
Makefile.PL Check the perl version only if ExtUtils::MakeMaker is recent enough 2017-04-27 23:17:46 +02:00
MANIFEST Remove Build.PL from manifest 2016-11-10 09:08:23 +01:00
MANIFEST.SKIP skip the CHANGES file 2015-01-28 23:54:13 +01:00
README.md Add Readme 2022-10-20 10:19:46 +02:00

DNSvi

If you do not have access to the zone files but need to modify a given DNS zone, DNSvi is your friend.

It downloads the zone via AXFR, removes RRSIG and NSEC records, lets you edit the zone content using your favourite editor and sends the changes back via the NSUPDATE protocol.

Unfortunately there is an alternative project using the same name. I do not know anything about this, whether it provides matching functionality or does something completely different.

DNSvi can modify the zone locally on the DNS server, and even remotely.

Build

DNSvi uses the standard Perl tool chain (Extutils::MakeMaker).

perl Makefile.PL
make all test install

Configuration

Please read the manual page, once DNSvi is installed. Basically you need to:

  • make sure that you're allowed to transfer the zone via AXFR
  • make sure that you can update the zone via nsupdate

If you want to use DNSvi remotely you likely need to create a TSIG key and configure your DNS server accordingly.

Usage

Just start DNSvi locally on the DNS server:

dnsvi -l example.com

Or if you configured remote access:

dnsvi example.com