File: README.md

package info (click to toggle)
dnsvi 1.5
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 40 kB
  • sloc: perl: 228; makefile: 12
file content (46 lines) | stat: -rw-r--r-- 1,316 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
dnsvi - edit dynamic DNS zones in vi
====================================

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.

Usage:

    ./dnsvi [-igl] [-k keyfile] [-p port] [@nameserver] <zone>

Dependencies:

  * perl
  * Sort::Naturally (Debian: libsort-naturally-perl)
  * dig, nsupdate (Debian: dnsutils)
  * some $EDITOR (Default: sensible-editor)

Screenshot
----------

    $ 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]

IDN Support
-----------

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.

Author
------

Christoph Berg <myon@debian.org>