knsupdate [options] [filename]
This utility sends Dynamic DNS update messages to a DNS server. Update content is read from a file (if the parameter filename is given) or from the standard input.
The format of updates is textual and is made up of commands. Every command is placed on the separate line of the input. Lines starting with a semicolon are comments and are not processed.
Options -k and -y can not be used simultaneously.
Missing features with regard to ISC nsupdate:
Authentication using GSS-TSIG or SIG(0).
Options -D, -g, -o, -l, -L, -R and -u.
Commands: gsstsig, oldgsstsig and realm.
Differences with regard to ISC nsupdate:
Zone name/server guessing, if the zone name/server is not specified.
Empty line doesn't send the update.
BIND-like key format (ddns-confgen output) is not supported.
Send one update of the zone example.com to the server 192.168.1.1. The update contains two new records:
$ knsupdate
> server 192.168.1.1
> zone example.com.
> origin example.com.
> ttl 3600
> add test1.example.com. 7200 A 192.168.2.2
> add test2 TXT "hello"
> show
> send
> answer
> quit
kdig(1), khost(1).