logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

nsvi - transfer a zone, edit it, then upload the edits

Acknowledgments

       Thanks to Tristan Le Guern for the -n option and Mantas Mikulėnas for the  -g  option.  Thanks  to  David
       McBride and Petr Menšík for providing useful feedback.

Description

       The nsvi program makes an AXFR request for the zone, runs your editor so you can make whatever changes
       you require, then it runs nsdiff | nsupdate to push those changes to the server.

       Automatically-maintained DNSSEC records are stripped from the zone before it is passed to your editor,
       and you do not need to manually adjust the SOA serial number.

Environment

TMPDIR
           Location for temporary files.

       VISUALEDITOR
           Which editor to use. $VISUAL is used if it is set, otherwise $EDITOR, otherwise vi.

Name

       nsvi - transfer a zone, edit it, then upload the edits

Options

       Most nsvi options are passed to nsdiff and some to nsupdate.

       -h  Display this documentation.

       -V  Display version information.

       -v  Verbose mode.

       -n  Interactive confirmation.

           When you quit the editor, you will be shown the changes, then asked whether to make the update (press
           U or Y), edit again (press E or R), or quit (press another key).

       -01cCdD-Smode|num
           These options are passed to nsdiff.  For details see the nsdiff manual.

       -sserver[#port]
           Transfer  the  zone  from  the  server  given in this option, and send the update request to the same
           place. You can specify the server host name or IP address, optionally followed by a "#" and the  port
           number.

           If  you  do  not  use  the  -s option, the zone will be transferred from localhost, and nsvi will use
           nsupdate-l to update the zone.

       -g  Passed to nsupdate to use GSS-TSIG for UPDATE.

       -kkeyfile
           TSIG key file, passed to dig, nsdiff, and nsupdate.

       -y [hmac:]name:key
           Literal TSIG key, passed to dig, nsdiff, and nsupdate.

See Also

nsdiff(1), nsupdate(1), dig(1).

perl v5.38.2                                       2024-04-21                                           NSVI(1p)

Synopsis

       nsvi [-01cCdDghvV] [-kkeyfile] [-y [hmac:]name:key]
            [-Smode|num] [-sserver] <zone>

Version

         This is nsvi-1.85 <https://dotat.at/prog/nsdiff/>

         Written by Tony Finch <fanf2@cam.ac.uk> <dot@dotat.at>
         at Cambridge University Information Services.
         You may do anything with this. It has no warranty.

See Also