diff --git a/bin/rndc/rndc.8 b/bin/rndc/rndc.8 index a1c6a68436..3064a431c0 100644 --- a/bin/rndc/rndc.8 +++ b/bin/rndc/rndc.8 @@ -13,14 +13,14 @@ .\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR .\" PERFORMANCE OF THIS SOFTWARE. .\" -.\" $Id: rndc.8,v 1.29 2004/06/03 04:12:38 marka Exp $ +.\" $Id: rndc.8,v 1.30 2004/07/23 06:09:33 marka Exp $ .\" .TH "RNDC" "8" "June 30, 2000" "BIND9" "" .SH NAME rndc \- name server control utility .SH SYNOPSIS .sp -\fBrndc\fR [ \fB-c \fIconfig-file\fB\fR ] [ \fB-k \fIkey-file\fB\fR ] [ \fB-s \fIserver\fB\fR ] [ \fB-p \fIport\fB\fR ] [ \fB-V\fR ] [ \fB-y \fIkey_id\fB\fR ] \fBcommand\fR +\fBrndc\fR [ \fB-b \fIsource-address\fB\fR ] [ \fB-c \fIconfig-file\fB\fR ] [ \fB-k \fIkey-file\fB\fR ] [ \fB-s \fIserver\fB\fR ] [ \fB-p \fIport\fB\fR ] [ \fB-V\fR ] [ \fB-y \fIkey_id\fB\fR ] \fBcommand\fR .SH "DESCRIPTION" .PP \fBrndc\fR controls the operation of a name @@ -47,6 +47,12 @@ determine how to contact the name server and decide what algorithm and key it should use. .SH "OPTIONS" .TP +\fB-b \fIsource-address\fB\fR +Use \fIsource-address\fR +as the source address for the connection to the server. +Multiple instances are permitted to allow setting of both +the IPv4 and IPv6 source addresses. +.TP \fB-c \fIconfig-file\fB\fR Use \fIconfig-file\fR as the configuration file instead of the default, diff --git a/bin/rndc/rndc.conf.5 b/bin/rndc/rndc.conf.5 index 06451541c6..e1daf55e2f 100644 --- a/bin/rndc/rndc.conf.5 +++ b/bin/rndc/rndc.conf.5 @@ -13,7 +13,7 @@ .\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR .\" PERFORMANCE OF THIS SOFTWARE. .\" -.\" $Id: rndc.conf.5,v 1.27 2004/06/18 06:00:41 marka Exp $ +.\" $Id: rndc.conf.5,v 1.28 2004/07/23 06:09:33 marka Exp $ .\" .TH "RNDC.CONF" "5" "June 30, 2000" "BIND9" "" .SH NAME @@ -42,7 +42,7 @@ Unix style: # to end of line statements: an options statement, a server statement and a key statement. .PP -The \fBoptions\fR statement contains three clauses. +The \fBoptions\fR statement contains five clauses. The \fBdefault-server\fR clause is followed by the name or address of a name server. This host will be used when no name server is given as an argument to @@ -59,6 +59,10 @@ to connect to on the remote name server. If no line, and no \fBport\fR clause is found in a matching \fBserver\fR statement, this default port will be used to connect. +The \fBdefault-source-address\fR and +\fBdefault-source-address-v6\fR clauses which +can be used to set the IPv4 and IPv6 source addresses +respectively. .PP After the \fBserver\fR keyword, the server statement includes a string which is the hostname or address @@ -69,6 +73,9 @@ name of a key statement in the file. The port number specifies the port to connect to. If an \fBaddresses\fR clause is supplied these addresses will be used instead of the server name. Each address can take a optional port. +If an \fBsource-address\fR or \fBsource-address-v6\fR +of supplied then these will be used to specify the IPv4 and IPv6 +source addresses respectively. .PP The \fBkey\fR statement begins with an identifying string, the name of the key. The statement has two clauses. diff --git a/bin/rndc/rndc.conf.html b/bin/rndc/rndc.conf.html index 358371a939..51ca28d379 100644 --- a/bin/rndc/rndc.conf.html +++ b/bin/rndc/rndc.conf.html @@ -15,7 +15,7 @@ - PERFORMANCE OF THIS SOFTWARE. --> - +
The options statement contains three clauses. +> statement contains five clauses. The default-serverserver statement, this default port will be used to connect. + The default-source-address and + default-source-address-v6 clauses which + can be used to set the IPv4 and IPv6 source addresses + respectively.After the clause is supplied these addresses will be used instead of the server name. Each address can take a optional port. + If an source-address or source-address-v6 + of supplied then these will be used to specify the IPv4 and IPv6 + source addresses respectively.
The