Skip to content
Snippets Groups Projects

Knsupdate cleanup

Merged Daniel Salzman requested to merge knsupdate_cleanup into master
+ 114
103
Compare changes
  • Side-by-side
  • Inline
Files
+ 18
14
@@ -105,10 +105,10 @@ class is IN.
Sets \fIvalue\fP as the default TTL (in seconds). If not used, the default value
is 0.
.TP
\fBkey\fP \fIname\fP \fIkey\fP
Specifies TSIG \fIkey\fP named \fIname\fP to authenticate the request. This command
has the same effect as the program option \fB\-y\fP, except that the MAC
algorithm cannot be set.
\fBkey\fP [\fIalg\fP:]\fIname\fP \fIkey\fP
Specifies TSIG \fIkey\fP named \fIname\fP to authenticate the request. An optional
\fIalg\fP algorithm can be specified. This command has the same effect as
the program option \fB\-y\fP\&.
.TP
[\fBprereq\fP] \fBnxdomain\fP \fIname\fP
Adds a prerequisite for a non\-existing record owned by \fIname\fP\&.
@@ -145,6 +145,9 @@ Displays the last answer from the server.
.TP
\fBdebug\fP
Enable debugging. This command has the same meaning as program option \fB\-d\fP\&.
.TP
\fBquit\fP
Quit the program.
.UNINDENT
.SH NOTES
.sp
@@ -174,7 +177,7 @@ Bind\-like key format (\fBddns\-confgen\fP output) is not supported.
.SH EXAMPLES
.INDENT 0.0
.IP 1. 3
Send one update of zone example.com to server 192.168.1.1. The update
Send one update of the zone example.com to the server 192.168.1.1. The update
contains two new records:
.INDENT 3.0
.INDENT 3.5
@@ -182,15 +185,16 @@ contains two new records:
.nf
.ft C
$ 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
> 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
.ft P
.fi
.UNINDENT
Loading