dnsvi(1)

dnsvi1

Edit dynamic dns zones using vi

Usage

dnsvi [-igl] [-k keyfile] [-p port] [@nameserver] zone

Overview

dnsvi is a frontend for nsupdate. Given a DNS zone name, it uses dig -t AXFR to get all the records in a zone. It then spawns your favorite editor, and upon completion, builds a list of "update add" and "update delete" statements to feed to nsupdate.

Options

-i --noidnout

If you are updating a punycode domain and you are using bind9 >= 9.14.0, you need to specify -i to be able to update the zone, otherwise there will be a mix of punycode and non-punycode domains which nsupdate will refuse.

-l

Use localhost as nameserver and pass -l (local) to nsupdate.

-k keyfile

Use keyfile for AXFR and nsupdate.

-g

Use Kerberos credentials for nsupdate. See -g in nsupdate(1) for details.

-p port

Use port for AXFR and nsupdate (default: 53).

@nameserver

Query nameserver for zone data and send updates there.

Environment

EDITOR

Editor to use instead of sensible-editor.

Examples

 $ dnsvi -k dyn.df7cb.de.key @ns.df7cb.de dyn.df7cb.de
 [...vi...]
 nsupdate commands queued:
 server ns.df7cb.de
 zone dyn.df7cb.de
 update delete fermi.dyn.df7cb.de. IN A 127.0.0.1
 update add    lehmann.dyn.df7cb.de. 600 IN A 127.0.0.1
 update add    volta.dyn.df7cb.de. 2419200 IN SSHFP 3 1 DC66C1C5E9ED611FBDF0A9E1F701B1F8C38A6C1D
 send
 answer
 [S]end, [e]dit, send and edit [a]gain, [q]uit: [s]

Releases

5 releases since Debian 9 (Stretch); the text changed 4 times.

  1. 9
  2. 10
  3. 11
  4. 12
  5. 13

--noidnout since Debian 11 (Bullseye); -g since Debian 10 (Buster); -i since Debian 11 (Bullseye); -p since Debian 10 (Buster).

Author

Christoph Berg <[email protected]>

From dnsvi 1.5 in Debian 13 (Trixie). Parsed by carta from the page's man source.