mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-03 16:15:27 +00:00
Update the generated files after the source manpages update
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
.. highlight: console
|
.. highlight: console
|
||||||
|
|
||||||
named.conf - configuration file for ``named``
|
named.conf - configuration file for **named**
|
||||||
---------------------------------------------
|
---------------------------------------------
|
||||||
|
|
||||||
Synopsis
|
Synopsis
|
||||||
@@ -12,13 +12,13 @@ Description
|
|||||||
~~~~~~~~~~~
|
~~~~~~~~~~~
|
||||||
|
|
||||||
``named.conf`` is the configuration file for ``named``. Statements are
|
``named.conf`` is the configuration file for ``named``. Statements are
|
||||||
enclosed in braces (``[ ]``) and terminated with a semi-colon (``;``). Clauses in the
|
enclosed in braces and terminated with a semi-colon. Clauses in the
|
||||||
statements are also semi-colon terminated. The usual comment styles are
|
statements are also semi-colon terminated. The usual comment styles are
|
||||||
supported:
|
supported:
|
||||||
|
|
||||||
C style: /\* \*/
|
C style: /\* \*/
|
||||||
|
|
||||||
C++ style: // to end of line
|
C++ style: // to end of line
|
||||||
|
|
||||||
Unix style: # to end of line
|
Unix style: # to end of line
|
||||||
|
|
||||||
|
@@ -43,57 +43,57 @@ can be used, for example, to secure dynamic DNS updates to a zone or for
|
|||||||
the \fBrndc\fP command channel.
|
the \fBrndc\fP command channel.
|
||||||
.sp
|
.sp
|
||||||
When run as \fBtsig\-keygen\fP, a domain name can be specified on the
|
When run as \fBtsig\-keygen\fP, a domain name can be specified on the
|
||||||
command line which will be used as the name of the generated key. If no
|
command line to be used as the name of the generated key. If no
|
||||||
name is specified, the default is \fBtsig\-key\fP\&.
|
name is specified, the default is \fBtsig\-key\fP\&.
|
||||||
.sp
|
.sp
|
||||||
When run as \fBddns\-confgen\fP, the generated key is accompanied by
|
When run as \fBddns\-confgen\fP, the generated key is accompanied by
|
||||||
configuration text and instructions that can be used with \fBnsupdate\fP
|
configuration text and instructions that can be used with \fBnsupdate\fP
|
||||||
and \fBnamed\fP when setting up dynamic DNS, including an example
|
and \fBnamed\fP when setting up dynamic DNS, including an example
|
||||||
\fBupdate\-policy\fP statement. (This usage similar to the \fBrndc\-confgen\fP
|
\fBupdate\-policy\fP statement. (This usage is similar to the \fBrndc\-confgen\fP
|
||||||
command for setting up command channel security.)
|
command for setting up command\-channel security.)
|
||||||
.sp
|
.sp
|
||||||
Note that \fBnamed\fP itself can configure a local DDNS key for use with
|
Note that \fBnamed\fP itself can configure a local DDNS key for use with
|
||||||
\fBnsupdate \-l\fP: it does this when a zone is configured with
|
\fBnsupdate \-l\fP; it does this when a zone is configured with
|
||||||
\fBupdate\-policy local;\fP\&. \fBddns\-confgen\fP is only needed when a more
|
\fBupdate\-policy local;\fP\&. \fBddns\-confgen\fP is only needed when a more
|
||||||
elaborate configuration is required: for instance, if \fBnsupdate\fP is to
|
elaborate configuration is required: for instance, if \fBnsupdate\fP is to
|
||||||
be used from a remote system.
|
be used from a remote system.
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.INDENT 0.0
|
.INDENT 0.0
|
||||||
.TP
|
.TP
|
||||||
\fB\-a\fP algorithm
|
.B \fB\-a algorithm\fP
|
||||||
Specifies the algorithm to use for the TSIG key. Available choices
|
This option specifies the algorithm to use for the TSIG key. Available choices
|
||||||
are: hmac\-md5, hmac\-sha1, hmac\-sha224, hmac\-sha256, hmac\-sha384 and
|
are: hmac\-md5, hmac\-sha1, hmac\-sha224, hmac\-sha256, hmac\-sha384, and
|
||||||
hmac\-sha512. The default is hmac\-sha256. Options are
|
hmac\-sha512. The default is hmac\-sha256. Options are
|
||||||
case\-insensitive, and the "hmac\-" prefix may be omitted.
|
case\-insensitive, and the "hmac\-" prefix may be omitted.
|
||||||
.TP
|
.TP
|
||||||
\fB\-h\fP
|
.B \fB\-h\fP
|
||||||
Prints a short summary of options and arguments.
|
This option prints a short summary of options and arguments.
|
||||||
.TP
|
.TP
|
||||||
\fB\-k\fP keyname
|
.B \fB\-k keyname\fP
|
||||||
Specifies the key name of the DDNS authentication key. The default is
|
This option specifies the key name of the DDNS authentication key. The default is
|
||||||
\fBddns\-key\fP when neither the \fB\-s\fP nor \fB\-z\fP option is specified;
|
\fBddns\-key\fP when neither the \fB\-s\fP nor \fB\-z\fP option is specified;
|
||||||
otherwise, the default is \fBddns\-key\fP as a separate label followed
|
otherwise, the default is \fBddns\-key\fP as a separate label followed
|
||||||
by the argument of the option, e.g., \fBddns\-key.example.com.\fP The
|
by the argument of the option, e.g., \fBddns\-key.example.com.\fP The
|
||||||
key name must have the format of a valid domain name, consisting of
|
key name must have the format of a valid domain name, consisting of
|
||||||
letters, digits, hyphens and periods.
|
letters, digits, hyphens, and periods.
|
||||||
.TP
|
.TP
|
||||||
\fB\-q\fP
|
.B \fB\-q\fP (\fBddns\-confgen\fP only)
|
||||||
(\fBddns\-confgen\fP only.) Quiet mode: Print only the key, with no
|
This option enables quiet mode, which prints only the key, with no
|
||||||
explanatory text or usage examples; This is essentially identical to
|
explanatory text or usage examples. This is essentially identical to
|
||||||
\fBtsig\-keygen\fP\&.
|
\fBtsig\-keygen\fP\&.
|
||||||
.TP
|
.TP
|
||||||
\fB\-s\fP name
|
.B \fB\-s name\fP (\fBddns\-confgen\fP only)
|
||||||
(\fBddns\-confgen\fP only.) Generate configuration example to allow
|
This option generates a configuration example to allow
|
||||||
dynamic updates of a single hostname. The example \fBnamed.conf\fP text
|
dynamic updates of a single hostname. The example \fBnamed.conf\fP text
|
||||||
shows how to set an update policy for the specified name using the
|
shows how to set an update policy for the specified name using the
|
||||||
"name" nametype. The default key name is ddns\-key.name. Note that the
|
"name" nametype. The default key name is \fBddns\-key.name\fP\&. Note that the
|
||||||
"self" nametype cannot be used, since the name to be updated may
|
"self" nametype cannot be used, since the name to be updated may
|
||||||
differ from the key name. This option cannot be used with the \fB\-z\fP
|
differ from the key name. This option cannot be used with the \fB\-z\fP
|
||||||
option.
|
option.
|
||||||
.TP
|
.TP
|
||||||
\fB\-z\fP zone
|
.B \fB\-z zone\fP (\fBddns\-confgen\fP only)
|
||||||
(\fBddns\-confgen\fP only.) Generate configuration example to allow
|
This option generates a configuration example to allow
|
||||||
dynamic updates of a zone: The example \fBnamed.conf\fP text shows how
|
dynamic updates of a zone. The example \fBnamed.conf\fP text shows how
|
||||||
to set an update policy for the specified zone using the "zonesub"
|
to set an update policy for the specified zone using the "zonesub"
|
||||||
nametype, allowing updates to all subdomain names within that zone.
|
nametype, allowing updates to all subdomain names within that zone.
|
||||||
This option cannot be used with the \fB\-s\fP option.
|
This option cannot be used with the \fB\-s\fP option.
|
||||||
|
178
doc/man/delv.1in
178
doc/man/delv.1in
@@ -44,15 +44,15 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
|||||||
\fBdelv\fP is a tool for sending DNS queries and validating the results,
|
\fBdelv\fP is a tool for sending DNS queries and validating the results,
|
||||||
using the same internal resolver and validator logic as \fBnamed\fP\&.
|
using the same internal resolver and validator logic as \fBnamed\fP\&.
|
||||||
.sp
|
.sp
|
||||||
\fBdelv\fP will send to a specified name server all queries needed to
|
\fBdelv\fP sends to a specified name server all queries needed to
|
||||||
fetch and validate the requested data; this includes the original
|
fetch and validate the requested data; this includes the original
|
||||||
requested query, subsequent queries to follow CNAME or DNAME chains, and
|
requested query, subsequent queries to follow CNAME or DNAME chains,
|
||||||
queries for DNSKEY, and DS records to establish a chain of trust for
|
queries for DNSKEY, and DS records to establish a chain of trust for
|
||||||
DNSSEC validation. It does not perform iterative resolution, but
|
DNSSEC validation. It does not perform iterative resolution, but
|
||||||
simulates the behavior of a name server configured for DNSSEC validating
|
simulates the behavior of a name server configured for DNSSEC validating
|
||||||
and forwarding.
|
and forwarding.
|
||||||
.sp
|
.sp
|
||||||
By default, responses are validated using built\-in DNSSEC trust anchor
|
By default, responses are validated using the built\-in DNSSEC trust anchor
|
||||||
for the root zone ("."). Records returned by \fBdelv\fP are either fully
|
for the root zone ("."). Records returned by \fBdelv\fP are either fully
|
||||||
validated or were not signed. If validation fails, an explanation of the
|
validated or were not signed. If validation fails, an explanation of the
|
||||||
failure is included in the output; the validation process can be traced
|
failure is included in the output; the validation process can be traced
|
||||||
@@ -60,13 +60,13 @@ in detail. Because \fBdelv\fP does not rely on an external server to carry
|
|||||||
out validation, it can be used to check the validity of DNS responses in
|
out validation, it can be used to check the validity of DNS responses in
|
||||||
environments where local name servers may not be trustworthy.
|
environments where local name servers may not be trustworthy.
|
||||||
.sp
|
.sp
|
||||||
Unless it is told to query a specific name server, \fBdelv\fP will try
|
Unless it is told to query a specific name server, \fBdelv\fP tries
|
||||||
each of the servers listed in \fB/etc/resolv.conf\fP\&. If no usable server
|
each of the servers listed in \fB/etc/resolv.conf\fP\&. If no usable server
|
||||||
addresses are found, \fBdelv\fP will send queries to the localhost
|
addresses are found, \fBdelv\fP sends queries to the localhost
|
||||||
addresses (127.0.0.1 for IPv4, ::1 for IPv6).
|
addresses (127.0.0.1 for IPv4, ::1 for IPv6).
|
||||||
.sp
|
.sp
|
||||||
When no command line arguments or options are given, \fBdelv\fP will
|
When no command\-line arguments or options are given, \fBdelv\fP
|
||||||
perform an NS query for "." (the root zone).
|
performs an NS query for "." (the root zone).
|
||||||
.SH SIMPLE USAGE
|
.SH SIMPLE USAGE
|
||||||
.sp
|
.sp
|
||||||
A typical invocation of \fBdelv\fP looks like:
|
A typical invocation of \fBdelv\fP looks like:
|
||||||
@@ -95,109 +95,109 @@ DNSSEC).
|
|||||||
If no \fBserver\fP argument is provided, \fBdelv\fP consults
|
If no \fBserver\fP argument is provided, \fBdelv\fP consults
|
||||||
\fB/etc/resolv.conf\fP; if an address is found there, it queries the
|
\fB/etc/resolv.conf\fP; if an address is found there, it queries the
|
||||||
name server at that address. If either of the \fB\-4\fP or \fB\-6\fP
|
name server at that address. If either of the \fB\-4\fP or \fB\-6\fP
|
||||||
options are in use, then only addresses for the corresponding
|
options is in use, then only addresses for the corresponding
|
||||||
transport will be tried. If no usable addresses are found, \fBdelv\fP
|
transport are tried. If no usable addresses are found, \fBdelv\fP
|
||||||
will send queries to the localhost addresses (127.0.0.1 for IPv4, ::1
|
sends queries to the localhost addresses (127.0.0.1 for IPv4, ::1
|
||||||
for IPv6).
|
for IPv6).
|
||||||
.TP
|
.TP
|
||||||
.B \fBname\fP
|
.B \fBname\fP
|
||||||
is the domain name to be looked up.
|
is the domain name to be looked up.
|
||||||
.TP
|
.TP
|
||||||
.B \fBtype\fP
|
.B \fBtype\fP
|
||||||
indicates what type of query is required MDASH ANY, A, MX, etc.
|
indicates what type of query is required \- ANY, A, MX, etc.
|
||||||
\fBtype\fP can be any valid query type. If no \fBtype\fP argument is
|
\fBtype\fP can be any valid query type. If no \fBtype\fP argument is
|
||||||
supplied, \fBdelv\fP will perform a lookup for an A record.
|
supplied, \fBdelv\fP performs a lookup for an A record.
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.INDENT 0.0
|
.INDENT 0.0
|
||||||
.TP
|
.TP
|
||||||
\fB\-a\fP anchor\-file
|
.B \fB\-a anchor\-file\fP
|
||||||
Specifies a file from which to read DNSSEC trust anchors. The default
|
This option specifies a file from which to read DNSSEC trust anchors. The default
|
||||||
is \fB/etc/bind.keys\fP, which is included with BIND 9 and contains one
|
is \fB/etc/bind.keys\fP, which is included with BIND 9 and contains one
|
||||||
or more trust anchors for the root zone (".").
|
or more trust anchors for the root zone (".").
|
||||||
.sp
|
.sp
|
||||||
Keys that do not match the root zone name are ignored. An alternate
|
Keys that do not match the root zone name are ignored. An alternate
|
||||||
key name can be specified using the \fB+root=NAME\fP options.
|
key name can be specified using the \fB+root=NAME\fP options.
|
||||||
.sp
|
.sp
|
||||||
Note: When reading the trust anchor file, \fBdelv\fP treat \fBtrust\-anchors\fP
|
Note: When reading the trust anchor file, \fBdelv\fP treats \fBtrust\-anchors\fP,
|
||||||
\fBinitial\-key\fP and \fBstatic\-key\fP identically. That is, for a managed key,
|
\fBinitial\-key\fP, and \fBstatic\-key\fP identically. That is, for a managed key,
|
||||||
it is the \fIinitial\fP key that is trusted; \fI\%RFC 5011\fP key management is not
|
it is the \fIinitial\fP key that is trusted; \fI\%RFC 5011\fP key management is not
|
||||||
supported. \fBdelv\fP will not consult the managed\-keys database maintained by
|
supported. \fBdelv\fP does not consult the managed\-keys database maintained by
|
||||||
\fBnamed\fP\&. This means that if either of the keys in \fB/etc/bind.keys\fP is
|
\fBnamed\fP, which means that if either of the keys in \fB/etc/bind.keys\fP is
|
||||||
revoked and rolled over, it will be necessary to update \fB/etc/bind.keys\fP to
|
revoked and rolled over, \fB/etc/bind.keys\fP must be updated to
|
||||||
use DNSSEC validation in \fBdelv\fP\&.
|
use DNSSEC validation in \fBdelv\fP\&.
|
||||||
.TP
|
.TP
|
||||||
\fB\-b\fP address
|
.B \fB\-b address\fP
|
||||||
Sets the source IP address of the query to \fBaddress\fP\&. This must be
|
This option sets the source IP address of the query to \fBaddress\fP\&. This must be
|
||||||
a valid address on one of the host\(aqs network interfaces or "0.0.0.0"
|
a valid address on one of the host\(aqs network interfaces, or \fB0.0.0.0\fP,
|
||||||
or "::". An optional source port may be specified by appending
|
or \fB::\fP\&. An optional source port may be specified by appending
|
||||||
"#<port>"
|
\fB#<port>\fP
|
||||||
.TP
|
.TP
|
||||||
\fB\-c\fP class
|
.B \fB\-c class\fP
|
||||||
Sets the query class for the requested data. Currently, only class
|
This option sets the query class for the requested data. Currently, only class
|
||||||
"IN" is supported in \fBdelv\fP and any other value is ignored.
|
"IN" is supported in \fBdelv\fP and any other value is ignored.
|
||||||
.TP
|
.TP
|
||||||
\fB\-d\fP level
|
.B \fB\-d level\fP
|
||||||
Set the systemwide debug level to \fBlevel\fP\&. The allowed range is
|
This option sets the systemwide debug level to \fBlevel\fP\&. The allowed range is
|
||||||
from 0 to 99. The default is 0 (no debugging). Debugging traces from
|
from 0 to 99. The default is 0 (no debugging). Debugging traces from
|
||||||
\fBdelv\fP become more verbose as the debug level increases. See the
|
\fBdelv\fP become more verbose as the debug level increases. See the
|
||||||
\fB+mtrace\fP, \fB+rtrace\fP, and \fB+vtrace\fP options below for
|
\fB+mtrace\fP, \fB+rtrace\fP, and \fB+vtrace\fP options below for
|
||||||
additional debugging details.
|
additional debugging details.
|
||||||
.TP
|
.TP
|
||||||
\fB\-h\fP
|
.B \fB\-h\fP
|
||||||
Display the \fBdelv\fP help usage output and exit.
|
This option displays the \fBdelv\fP help usage output and exits.
|
||||||
.TP
|
.TP
|
||||||
\fB\-i\fP
|
.B \fB\-i\fP
|
||||||
Insecure mode. This disables internal DNSSEC validation. (Note,
|
This option sets insecure mode, which disables internal DNSSEC validation. (Note,
|
||||||
however, this does not set the CD bit on upstream queries. If the
|
however, that this does not set the CD bit on upstream queries. If the
|
||||||
server being queried is performing DNSSEC validation, then it will
|
server being queried is performing DNSSEC validation, then it does
|
||||||
not return invalid data; this can cause \fBdelv\fP to time out. When it
|
not return invalid data; this can cause \fBdelv\fP to time out. When it
|
||||||
is necessary to examine invalid data to debug a DNSSEC problem, use
|
is necessary to examine invalid data to debug a DNSSEC problem, use
|
||||||
\fBdig +cd\fP\&.)
|
\fBdig +cd\fP\&.)
|
||||||
.TP
|
.TP
|
||||||
\fB\-m\fP
|
.B \fB\-m\fP
|
||||||
Enables memory usage debugging.
|
This option enables memory usage debugging.
|
||||||
.TP
|
.TP
|
||||||
\fB\-p\fP port#
|
.B \fB\-p port#\fP
|
||||||
Specifies a destination port to use for queries instead of the
|
This option specifies a destination port to use for queries, instead of the
|
||||||
standard DNS port number 53. This option would be used with a name
|
standard DNS port number 53. This option is used with a name
|
||||||
server that has been configured to listen for queries on a
|
server that has been configured to listen for queries on a
|
||||||
non\-standard port number.
|
non\-standard port number.
|
||||||
.TP
|
.TP
|
||||||
\fB\-q\fP name
|
.B \fB\-q name\fP
|
||||||
Sets the query name to \fBname\fP\&. While the query name can be
|
This option sets the query name to \fBname\fP\&. While the query name can be
|
||||||
specified without using the \fB\-q\fP, it is sometimes necessary to
|
specified without using the \fB\-q\fP option, it is sometimes necessary to
|
||||||
disambiguate names from types or classes (for example, when looking
|
disambiguate names from types or classes (for example, when looking
|
||||||
up the name "ns", which could be misinterpreted as the type NS, or
|
up the name "ns", which could be misinterpreted as the type NS, or
|
||||||
"ch", which could be misinterpreted as class CH).
|
"ch", which could be misinterpreted as class CH).
|
||||||
.TP
|
.TP
|
||||||
\fB\-t\fP type
|
.B \fB\-t type\fP
|
||||||
Sets the query type to \fBtype\fP, which can be any valid query type
|
This option sets the query type to \fBtype\fP, which can be any valid query type
|
||||||
supported in BIND 9 except for zone transfer types AXFR and IXFR. As
|
supported in BIND 9 except for zone transfer types AXFR and IXFR. As
|
||||||
with \fB\-q\fP, this is useful to distinguish query name type or class
|
with \fB\-q\fP, this is useful to distinguish query\-name types or classes
|
||||||
when they are ambiguous. it is sometimes necessary to disambiguate
|
when they are ambiguous. It is sometimes necessary to disambiguate
|
||||||
names from types.
|
names from types.
|
||||||
.sp
|
.sp
|
||||||
The default query type is "A", unless the \fB\-x\fP option is supplied
|
The default query type is "A", unless the \fB\-x\fP option is supplied
|
||||||
to indicate a reverse lookup, in which case it is "PTR".
|
to indicate a reverse lookup, in which case it is "PTR".
|
||||||
.TP
|
.TP
|
||||||
\fB\-v\fP
|
.B \fB\-v\fP
|
||||||
Print the \fBdelv\fP version and exit.
|
This option prints the \fBdelv\fP version and exits.
|
||||||
.TP
|
.TP
|
||||||
\fB\-x\fP addr
|
.B \fB\-x addr\fP
|
||||||
Performs a reverse lookup, mapping an addresses to a name. \fBaddr\fP
|
This option performs a reverse lookup, mapping an address to a name. \fBaddr\fP
|
||||||
is an IPv4 address in dotted\-decimal notation, or a colon\-delimited
|
is an IPv4 address in dotted\-decimal notation, or a colon\-delimited
|
||||||
IPv6 address. When \fB\-x\fP is used, there is no need to provide the
|
IPv6 address. When \fB\-x\fP is used, there is no need to provide the
|
||||||
\fBname\fP or \fBtype\fP arguments. \fBdelv\fP automatically performs a
|
\fBname\fP or \fBtype\fP arguments; \fBdelv\fP automatically performs a
|
||||||
lookup for a name like \fB11.12.13.10.in\-addr.arpa\fP and sets the
|
lookup for a name like \fB11.12.13.10.in\-addr.arpa\fP and sets the
|
||||||
query type to PTR. IPv6 addresses are looked up using nibble format
|
query type to PTR. IPv6 addresses are looked up using nibble format
|
||||||
under the IP6.ARPA domain.
|
under the IP6.ARPA domain.
|
||||||
.TP
|
.TP
|
||||||
\fB\-4\fP
|
.B \fB\-4\fP
|
||||||
Forces \fBdelv\fP to only use IPv4.
|
This option forces \fBdelv\fP to only use IPv4.
|
||||||
.TP
|
.TP
|
||||||
\fB\-6\fP
|
.B \fB\-6\fP
|
||||||
Forces \fBdelv\fP to only use IPv6.
|
This option forces \fBdelv\fP to only use IPv6.
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.SH QUERY OPTIONS
|
.SH QUERY OPTIONS
|
||||||
.sp
|
.sp
|
||||||
@@ -212,122 +212,122 @@ assign values to options like the timeout interval. They have the form
|
|||||||
.INDENT 0.0
|
.INDENT 0.0
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]cdflag\fP
|
.B \fB+[no]cdflag\fP
|
||||||
Controls whether to set the CD (checking disabled) bit in queries
|
This option controls whether to set the CD (checking disabled) bit in queries
|
||||||
sent by \fBdelv\fP\&. This may be useful when troubleshooting DNSSEC
|
sent by \fBdelv\fP\&. This may be useful when troubleshooting DNSSEC
|
||||||
problems from behind a validating resolver. A validating resolver
|
problems from behind a validating resolver. A validating resolver
|
||||||
will block invalid responses, making it difficult to retrieve them
|
blocks invalid responses, making it difficult to retrieve them
|
||||||
for analysis. Setting the CD flag on queries will cause the resolver
|
for analysis. Setting the CD flag on queries causes the resolver
|
||||||
to return invalid responses, which \fBdelv\fP can then validate
|
to return invalid responses, which \fBdelv\fP can then validate
|
||||||
internally and report the errors in detail.
|
internally and report the errors in detail.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]class\fP
|
.B \fB+[no]class\fP
|
||||||
Controls whether to display the CLASS when printing a record. The
|
This option controls whether to display the CLASS when printing a record. The
|
||||||
default is to display the CLASS.
|
default is to display the CLASS.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]ttl\fP
|
.B \fB+[no]ttl\fP
|
||||||
Controls whether to display the TTL when printing a record. The
|
This option controls whether to display the TTL when printing a record. The
|
||||||
default is to display the TTL.
|
default is to display the TTL.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]rtrace\fP
|
.B \fB+[no]rtrace\fP
|
||||||
Toggle resolver fetch logging. This reports the name and type of each
|
This option toggles resolver fetch logging. This reports the name and type of each
|
||||||
query sent by \fBdelv\fP in the process of carrying out the resolution
|
query sent by \fBdelv\fP in the process of carrying out the resolution
|
||||||
and validation process: this includes including the original query
|
and validation process, including the original query
|
||||||
and all subsequent queries to follow CNAMEs and to establish a chain
|
and all subsequent queries to follow CNAMEs and to establish a chain
|
||||||
of trust for DNSSEC validation.
|
of trust for DNSSEC validation.
|
||||||
.sp
|
.sp
|
||||||
This is equivalent to setting the debug level to 1 in the "resolver"
|
This is equivalent to setting the debug level to 1 in the "resolver"
|
||||||
logging category. Setting the systemwide debug level to 1 using the
|
logging category. Setting the systemwide debug level to 1 using the
|
||||||
\fB\-d\fP option will product the same output (but will affect other
|
\fB\-d\fP option produces the same output, but affects other
|
||||||
logging categories as well).
|
logging categories as well.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]mtrace\fP
|
.B \fB+[no]mtrace\fP
|
||||||
Toggle message logging. This produces a detailed dump of the
|
This option toggles message logging. This produces a detailed dump of the
|
||||||
responses received by \fBdelv\fP in the process of carrying out the
|
responses received by \fBdelv\fP in the process of carrying out the
|
||||||
resolution and validation process.
|
resolution and validation process.
|
||||||
.sp
|
.sp
|
||||||
This is equivalent to setting the debug level to 10 for the "packets"
|
This is equivalent to setting the debug level to 10 for the "packets"
|
||||||
module of the "resolver" logging category. Setting the systemwide
|
module of the "resolver" logging category. Setting the systemwide
|
||||||
debug level to 10 using the \fB\-d\fP option will produce the same
|
debug level to 10 using the \fB\-d\fP option produces the same
|
||||||
output (but will affect other logging categories as well).
|
output, but affects other logging categories as well.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]vtrace\fP
|
.B \fB+[no]vtrace\fP
|
||||||
Toggle validation logging. This shows the internal process of the
|
This option toggles validation logging. This shows the internal process of the
|
||||||
validator as it determines whether an answer is validly signed,
|
validator as it determines whether an answer is validly signed,
|
||||||
unsigned, or invalid.
|
unsigned, or invalid.
|
||||||
.sp
|
.sp
|
||||||
This is equivalent to setting the debug level to 3 for the
|
This is equivalent to setting the debug level to 3 for the
|
||||||
"validator" module of the "dnssec" logging category. Setting the
|
"validator" module of the "dnssec" logging category. Setting the
|
||||||
systemwide debug level to 3 using the \fB\-d\fP option will produce the
|
systemwide debug level to 3 using the \fB\-d\fP option produces the
|
||||||
same output (but will affect other logging categories as well).
|
same output, but affects other logging categories as well.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]short\fP
|
.B \fB+[no]short\fP
|
||||||
Provide a terse answer. The default is to print the answer in a
|
This option toggles between verbose and terse answers. The default is to print the answer in a
|
||||||
verbose form.
|
verbose form.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]comments\fP
|
.B \fB+[no]comments\fP
|
||||||
Toggle the display of comment lines in the output. The default is to
|
This option toggles the display of comment lines in the output. The default is to
|
||||||
print comments.
|
print comments.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]rrcomments\fP
|
.B \fB+[no]rrcomments\fP
|
||||||
Toggle the display of per\-record comments in the output (for example,
|
This option toggles the display of per\-record comments in the output (for example,
|
||||||
human\-readable key information about DNSKEY records). The default is
|
human\-readable key information about DNSKEY records). The default is
|
||||||
to print per\-record comments.
|
to print per\-record comments.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]crypto\fP
|
.B \fB+[no]crypto\fP
|
||||||
Toggle the display of cryptographic fields in DNSSEC records. The
|
This option toggles the display of cryptographic fields in DNSSEC records. The
|
||||||
contents of these field are unnecessary to debug most DNSSEC
|
contents of these fields are unnecessary to debug most DNSSEC
|
||||||
validation failures and removing them makes it easier to see the
|
validation failures and removing them makes it easier to see the
|
||||||
common failures. The default is to display the fields. When omitted
|
common failures. The default is to display the fields. When omitted,
|
||||||
they are replaced by the string "[omitted]" or in the DNSKEY case the
|
they are replaced by the string \fB[omitted]\fP or, in the DNSKEY case, the
|
||||||
key id is displayed as the replacement, e.g. "[ key id = value ]".
|
key ID is displayed as the replacement, e.g. \fB[ key id = value ]\fP\&.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]trust\fP
|
.B \fB+[no]trust\fP
|
||||||
Controls whether to display the trust level when printing a record.
|
This option controls whether to display the trust level when printing a record.
|
||||||
The default is to display the trust level.
|
The default is to display the trust level.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]split[=W]\fP
|
.B \fB+[no]split[=W]\fP
|
||||||
Split long hex\- or base64\-formatted fields in resource records into
|
This option splits long hex\- or base64\-formatted fields in resource records into
|
||||||
chunks of \fBW\fP characters (where \fBW\fP is rounded up to the nearest
|
chunks of \fBW\fP characters (where \fBW\fP is rounded up to the nearest
|
||||||
multiple of 4). \fB+nosplit\fP or \fB+split=0\fP causes fields not to be
|
multiple of 4). \fB+nosplit\fP or \fB+split=0\fP causes fields not to be
|
||||||
split at all. The default is 56 characters, or 44 characters when
|
split at all. The default is 56 characters, or 44 characters when
|
||||||
multiline mode is active.
|
multiline mode is active.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]all\fP
|
.B \fB+[no]all\fP
|
||||||
Set or clear the display options \fB+[no]comments\fP,
|
This option sets or clears the display options \fB+[no]comments\fP,
|
||||||
\fB+[no]rrcomments\fP, and \fB+[no]trust\fP as a group.
|
\fB+[no]rrcomments\fP, and \fB+[no]trust\fP as a group.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]multiline\fP
|
.B \fB+[no]multiline\fP
|
||||||
Print long records (such as RRSIG, DNSKEY, and SOA records) in a
|
This option prints long records (such as RRSIG, DNSKEY, and SOA records) in a
|
||||||
verbose multi\-line format with human\-readable comments. The default
|
verbose multi\-line format with human\-readable comments. The default
|
||||||
is to print each record on a single line, to facilitate machine
|
is to print each record on a single line, to facilitate machine
|
||||||
parsing of the \fBdelv\fP output.
|
parsing of the \fBdelv\fP output.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]dnssec\fP
|
.B \fB+[no]dnssec\fP
|
||||||
Indicates whether to display RRSIG records in the \fBdelv\fP output.
|
This option indicates whether to display RRSIG records in the \fBdelv\fP output.
|
||||||
The default is to do so. Note that (unlike in \fBdig\fP) this does
|
The default is to do so. Note that (unlike in \fBdig\fP) this does
|
||||||
\fInot\fP control whether to request DNSSEC records or whether to
|
\fInot\fP control whether to request DNSSEC records or to
|
||||||
validate them. DNSSEC records are always requested, and validation
|
validate them. DNSSEC records are always requested, and validation
|
||||||
will always occur unless suppressed by the use of \fB\-i\fP or
|
always occurs unless suppressed by the use of \fB\-i\fP or
|
||||||
\fB+noroot\fP\&.
|
\fB+noroot\fP\&.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]root[=ROOT]\fP
|
.B \fB+[no]root[=ROOT]\fP
|
||||||
Indicates whether to perform conventional DNSSEC validation, and if so,
|
This option indicates whether to perform conventional DNSSEC validation, and if so,
|
||||||
specifies the name of a trust anchor. The default is to validate using a
|
specifies the name of a trust anchor. The default is to validate using a
|
||||||
trust anchor of "." (the root zone), for which there is a built\-in key. If
|
trust anchor of "." (the root zone), for which there is a built\-in key. If
|
||||||
specifying a different trust anchor, then \fB\-a\fP must be used to specify a
|
specifying a different trust anchor, then \fB\-a\fP must be used to specify a
|
||||||
file containing the key.
|
file containing the key.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]tcp\fP
|
.B \fB+[no]tcp\fP
|
||||||
Controls whether to use TCP when sending queries. The default is to
|
This option controls whether to use TCP when sending queries. The default is to
|
||||||
use UDP unless a truncated response has been received.
|
use UDP unless a truncated response has been received.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]unknownformat\fP
|
.B \fB+[no]unknownformat\fP
|
||||||
Print all RDATA in unknown RR type presentation format (\fI\%RFC 3597\fP).
|
This option prints all RDATA in unknown RR\-type presentation format (\fI\%RFC 3597\fP).
|
||||||
The default is to print RDATA for known types in the type\(aqs
|
The default is to print RDATA for known types in the type\(aqs
|
||||||
presentation format.
|
presentation format.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]yaml\fP
|
.B \fB+[no]yaml\fP
|
||||||
Print response data in YAML format.
|
This option prints response data in YAML format.
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.SH FILES
|
.SH FILES
|
||||||
.sp
|
.sp
|
||||||
|
407
doc/man/dig.1in
407
doc/man/dig.1in
@@ -42,33 +42,33 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
|||||||
\fBdig\fP is a flexible tool for interrogating DNS name servers. It
|
\fBdig\fP is a flexible tool for interrogating DNS name servers. It
|
||||||
performs DNS lookups and displays the answers that are returned from the
|
performs DNS lookups and displays the answers that are returned from the
|
||||||
name server(s) that were queried. Most DNS administrators use \fBdig\fP to
|
name server(s) that were queried. Most DNS administrators use \fBdig\fP to
|
||||||
troubleshoot DNS problems because of its flexibility, ease of use and
|
troubleshoot DNS problems because of its flexibility, ease of use, and
|
||||||
clarity of output. Other lookup tools tend to have less functionality
|
clarity of output. Other lookup tools tend to have less functionality
|
||||||
than \fBdig\fP\&.
|
than \fBdig\fP\&.
|
||||||
.sp
|
.sp
|
||||||
Although \fBdig\fP is normally used with command\-line arguments, it also
|
Although \fBdig\fP is normally used with command\-line arguments, it also
|
||||||
has a batch mode of operation for reading lookup requests from a file. A
|
has a batch mode of operation for reading lookup requests from a file. A
|
||||||
brief summary of its command\-line arguments and options is printed when
|
brief summary of its command\-line arguments and options is printed when
|
||||||
the \fB\-h\fP option is given. Unlike earlier versions, the BIND 9
|
the \fB\-h\fP option is given. The BIND 9
|
||||||
implementation of \fBdig\fP allows multiple lookups to be issued from the
|
implementation of \fBdig\fP allows multiple lookups to be issued from the
|
||||||
command line.
|
command line.
|
||||||
.sp
|
.sp
|
||||||
Unless it is told to query a specific name server, \fBdig\fP will try each
|
Unless it is told to query a specific name server, \fBdig\fP tries each
|
||||||
of the servers listed in \fB/etc/resolv.conf\fP\&. If no usable server
|
of the servers listed in \fB/etc/resolv.conf\fP\&. If no usable server
|
||||||
addresses are found, \fBdig\fP will send the query to the local host.
|
addresses are found, \fBdig\fP sends the query to the local host.
|
||||||
.sp
|
.sp
|
||||||
When no command line arguments or options are given, \fBdig\fP will
|
When no command\-line arguments or options are given, \fBdig\fP
|
||||||
perform an NS query for "." (the root).
|
performs an NS query for "." (the root).
|
||||||
.sp
|
.sp
|
||||||
It is possible to set per\-user defaults for \fBdig\fP via
|
It is possible to set per\-user defaults for \fBdig\fP via
|
||||||
\fB${HOME}/.digrc\fP\&. This file is read and any options in it are applied
|
\fB${HOME}/.digrc\fP\&. This file is read and any options in it are applied
|
||||||
before the command line arguments. The \fB\-r\fP option disables this
|
before the command\-line arguments. The \fB\-r\fP option disables this
|
||||||
feature, for scripts that need predictable behaviour.
|
feature, for scripts that need predictable behavior.
|
||||||
.sp
|
.sp
|
||||||
The IN and CH class names overlap with the IN and CH top level domain
|
The IN and CH class names overlap with the IN and CH top\-level domain
|
||||||
names. Either use the \fB\-t\fP and \fB\-c\fP options to specify the type and
|
names. Either use the \fB\-t\fP and \fB\-c\fP options to specify the type and
|
||||||
class, use the \fB\-q\fP the specify the domain name, or use "IN." and
|
class, use the \fB\-q\fP to specify the domain name, or use "IN." and
|
||||||
"CH." when looking up these top level domains.
|
"CH." when looking up these top\-level domains.
|
||||||
.SH SIMPLE USAGE
|
.SH SIMPLE USAGE
|
||||||
.sp
|
.sp
|
||||||
A typical invocation of \fBdig\fP looks like:
|
A typical invocation of \fBdig\fP looks like:
|
||||||
@@ -97,114 +97,114 @@ If no \fBserver\fP argument is provided, \fBdig\fP consults
|
|||||||
\fB/etc/resolv.conf\fP; if an address is found there, it queries the
|
\fB/etc/resolv.conf\fP; if an address is found there, it queries the
|
||||||
name server at that address. If either of the \fB\-4\fP or \fB\-6\fP
|
name server at that address. If either of the \fB\-4\fP or \fB\-6\fP
|
||||||
options are in use, then only addresses for the corresponding
|
options are in use, then only addresses for the corresponding
|
||||||
transport will be tried. If no usable addresses are found, \fBdig\fP
|
transport are tried. If no usable addresses are found, \fBdig\fP
|
||||||
will send the query to the local host. The reply from the name server
|
sends the query to the local host. The reply from the name server
|
||||||
that responds is displayed.
|
that responds is displayed.
|
||||||
.TP
|
.TP
|
||||||
.B \fBname\fP
|
.B \fBname\fP
|
||||||
is the name of the resource record that is to be looked up.
|
is the name of the resource record that is to be looked up.
|
||||||
.TP
|
.TP
|
||||||
.B \fBtype\fP
|
.B \fBtype\fP
|
||||||
indicates what type of query is required MDASH ANY, A, MX, SIG, etc.
|
indicates what type of query is required \- ANY, A, MX, SIG, etc.
|
||||||
\fBtype\fP can be any valid query type. If no \fBtype\fP argument is
|
\fBtype\fP can be any valid query type. If no \fBtype\fP argument is
|
||||||
supplied, \fBdig\fP will perform a lookup for an A record.
|
supplied, \fBdig\fP performs a lookup for an A record.
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.INDENT 0.0
|
.INDENT 0.0
|
||||||
.TP
|
.TP
|
||||||
\fB\-4\fP
|
.B \fB\-4\fP
|
||||||
Use IPv4 only.
|
This option indicates that only IPv4 should be used.
|
||||||
.TP
|
.TP
|
||||||
\fB\-6\fP
|
.B \fB\-6\fP
|
||||||
Use IPv6 only.
|
This option indicates that only IPv6 should be used.
|
||||||
.TP
|
.TP
|
||||||
\fB\-b\fP address[#port]
|
.B \fB\-b address[#port]\fP
|
||||||
Set the source IP address of the query. The \fBaddress\fP must be a
|
This option sets the source IP address of the query. The \fBaddress\fP must be a
|
||||||
valid address on one of the host\(aqs network interfaces, or "0.0.0.0"
|
valid address on one of the host\(aqs network interfaces, or "0.0.0.0"
|
||||||
or "::". An optional port may be specified by appending "#<port>"
|
or "::". An optional port may be specified by appending \fB#port\fP\&.
|
||||||
.TP
|
.TP
|
||||||
\fB\-c\fP class
|
.B \fB\-c class\fP
|
||||||
Set the query class. The default \fBclass\fP is IN; other classes are
|
This option sets the query class. The default \fBclass\fP is IN; other classes are
|
||||||
HS for Hesiod records or CH for Chaosnet records.
|
HS for Hesiod records or CH for Chaosnet records.
|
||||||
.TP
|
.TP
|
||||||
\fB\-f\fP file
|
.B \fB\-f file\fP
|
||||||
Batch mode: \fBdig\fP reads a list of lookup requests to process from
|
This option sets batch mode, in which \fBdig\fP reads a list of lookup requests to process from
|
||||||
the given \fBfile\fP\&. Each line in the file should be organized in the
|
the given \fBfile\fP\&. Each line in the file should be organized in the
|
||||||
same way they would be presented as queries to \fBdig\fP using the
|
same way it would be presented as a query to \fBdig\fP using the
|
||||||
command\-line interface.
|
command\-line interface.
|
||||||
.TP
|
.TP
|
||||||
\fB\-k\fP keyfile
|
.B \fB\-k keyfile\fP
|
||||||
Sign queries using TSIG using a key read from the given file. Key
|
This option tells \fBnamed\fP to sign queries using TSIG using a key read from the given file. Key
|
||||||
files can be generated using tsig\-keygen8. When using TSIG
|
files can be generated using \fBtsig\-keygen\fP\&. When using TSIG
|
||||||
authentication with \fBdig\fP, the name server that is queried needs to
|
authentication with \fBdig\fP, the name server that is queried needs to
|
||||||
know the key and algorithm that is being used. In BIND, this is done
|
know the key and algorithm that is being used. In BIND, this is done
|
||||||
by providing appropriate \fBkey\fP and \fBserver\fP statements in
|
by providing appropriate \fBkey\fP and \fBserver\fP statements in
|
||||||
\fBnamed.conf\fP\&.
|
\fBnamed.conf\fP\&.
|
||||||
.TP
|
.TP
|
||||||
\fB\-m\fP
|
.B \fB\-m\fP
|
||||||
Enable memory usage debugging.
|
This option enables memory usage debugging.
|
||||||
.TP
|
.TP
|
||||||
\fB\-p\fP port
|
.B \fB\-p port\fP
|
||||||
Send the query to a non\-standard port on the server, instead of the
|
This option sends the query to a non\-standard port on the server, instead of the
|
||||||
default port 53. This option would be used to test a name server that
|
default port 53. This option is used to test a name server that
|
||||||
has been configured to listen for queries on a non\-standard port
|
has been configured to listen for queries on a non\-standard port
|
||||||
number.
|
number.
|
||||||
.TP
|
.TP
|
||||||
\fB\-q\fP name
|
.B \fB\-q name\fP
|
||||||
The domain name to query. This is useful to distinguish the \fBname\fP
|
This option specifies the domain name to query. This is useful to distinguish the \fBname\fP
|
||||||
from other arguments.
|
from other arguments.
|
||||||
.TP
|
.TP
|
||||||
\fB\-r\fP
|
.B \fB\-r\fP
|
||||||
Do not read options from \fB${HOME}/.digrc\fP\&. This is useful for
|
This option indicates that options from \fB${HOME}/.digrc\fP should not be read. This is useful for
|
||||||
scripts that need predictable behaviour.
|
scripts that need predictable behavior.
|
||||||
.TP
|
.TP
|
||||||
\fB\-t\fP type
|
.B \fB\-t type\fP
|
||||||
The resource record type to query. It can be any valid query type. If
|
This option indicates the resource record type to query, which can be any valid query type. If
|
||||||
it is a resource record type supported in BIND 9, it can be given by
|
it is a resource record type supported in BIND 9, it can be given by
|
||||||
the type mnemonic (such as "NS" or "AAAA"). The default query type is
|
the type mnemonic (such as \fBNS\fP or \fBAAAA\fP). The default query type is
|
||||||
"A", unless the \fB\-x\fP option is supplied to indicate a reverse
|
\fBA\fP, unless the \fB\-x\fP option is supplied to indicate a reverse
|
||||||
lookup. A zone transfer can be requested by specifying a type of
|
lookup. A zone transfer can be requested by specifying a type of
|
||||||
AXFR. When an incremental zone transfer (IXFR) is required, set the
|
AXFR. When an incremental zone transfer (IXFR) is required, set the
|
||||||
\fBtype\fP to \fBixfr=N\fP\&. The incremental zone transfer will contain
|
\fBtype\fP to \fBixfr=N\fP\&. The incremental zone transfer contains
|
||||||
the changes made to the zone since the serial number in the zone\(aqs
|
all changes made to the zone since the serial number in the zone\(aqs
|
||||||
SOA record was \fBN\fP\&.
|
SOA record was \fBN\fP\&.
|
||||||
.sp
|
.sp
|
||||||
All resource record types can be expressed as "TYPEnn", where "nn" is
|
All resource record types can be expressed as \fBTYPEnn\fP, where \fBnn\fP is
|
||||||
the number of the type. If the resource record type is not supported
|
the number of the type. If the resource record type is not supported
|
||||||
in BIND 9, the result will be displayed as described in \fI\%RFC 3597\fP\&.
|
in BIND 9, the result is displayed as described in \fI\%RFC 3597\fP\&.
|
||||||
.TP
|
.TP
|
||||||
\fB\-u\fP
|
.B \fB\-u\fP
|
||||||
Print query times in microseconds instead of milliseconds.
|
This option indicates that print query times should be provided in microseconds instead of milliseconds.
|
||||||
.TP
|
.TP
|
||||||
\fB\-v\fP
|
.B \fB\-v\fP
|
||||||
Print the version number and exit.
|
This option prints the version number and exits.
|
||||||
.TP
|
.TP
|
||||||
\fB\-x\fP addr
|
.B \fB\-x addr\fP
|
||||||
Simplified reverse lookups, for mapping addresses to names. The
|
This option sets simplified reverse lookups, for mapping addresses to names. The
|
||||||
\fBaddr\fP is an IPv4 address in dotted\-decimal notation, or a
|
\fBaddr\fP is an IPv4 address in dotted\-decimal notation, or a
|
||||||
colon\-delimited IPv6 address. When the \fB\-x\fP is used, there is no
|
colon\-delimited IPv6 address. When the \fB\-x\fP option is used, there is no
|
||||||
need to provide the \fBname\fP, \fBclass\fP and \fBtype\fP arguments.
|
need to provide the \fBname\fP, \fBclass\fP, and \fBtype\fP arguments.
|
||||||
\fBdig\fP automatically performs a lookup for a name like
|
\fBdig\fP automatically performs a lookup for a name like
|
||||||
\fB94.2.0.192.in\-addr.arpa\fP and sets the query type and class to PTR
|
\fB94.2.0.192.in\-addr.arpa\fP and sets the query type and class to PTR
|
||||||
and IN respectively. IPv6 addresses are looked up using nibble format
|
and IN respectively. IPv6 addresses are looked up using nibble format
|
||||||
under the IP6.ARPA domain.
|
under the IP6.ARPA domain.
|
||||||
.TP
|
.TP
|
||||||
\fB\-y\fP [hmac:]keyname:secret
|
.B \fB\-y [hmac:]keyname:secret\fP
|
||||||
Sign queries using TSIG with the given authentication key.
|
This option signs queries using TSIG with the given authentication key.
|
||||||
\fBkeyname\fP is the name of the key, and \fBsecret\fP is the base64
|
\fBkeyname\fP is the name of the key, and \fBsecret\fP is the
|
||||||
encoded shared secret. \fBhmac\fP is the name of the key algorithm;
|
base64\-encoded shared secret. \fBhmac\fP is the name of the key algorithm;
|
||||||
valid choices are \fBhmac\-md5\fP, \fBhmac\-sha1\fP, \fBhmac\-sha224\fP,
|
valid choices are \fBhmac\-md5\fP, \fBhmac\-sha1\fP, \fBhmac\-sha224\fP,
|
||||||
\fBhmac\-sha256\fP, \fBhmac\-sha384\fP, or \fBhmac\-sha512\fP\&. If \fBhmac\fP is
|
\fBhmac\-sha256\fP, \fBhmac\-sha384\fP, or \fBhmac\-sha512\fP\&. If \fBhmac\fP is
|
||||||
not specified, the default is \fBhmac\-md5\fP or if MD5 was disabled
|
not specified, the default is \fBhmac\-md5\fP; if MD5 was disabled, the default is
|
||||||
\fBhmac\-sha256\fP\&.
|
\fBhmac\-sha256\fP\&.
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.sp
|
.sp
|
||||||
\fBNOTE:\fP
|
\fBNOTE:\fP
|
||||||
.INDENT 0.0
|
.INDENT 0.0
|
||||||
.INDENT 3.5
|
.INDENT 3.5
|
||||||
You should use the \fB\-k\fP option and avoid the \fB\-y\fP option,
|
Only the \fB\-k\fP option should be used, rather than the \fB\-y\fP option,
|
||||||
because with \fB\-y\fP the shared secret is supplied as a command line
|
because with \fB\-y\fP the shared secret is supplied as a command\-line
|
||||||
argument in clear text. This may be visible in the output from ps1 or
|
argument in clear text. This may be visible in the output from \fBps1\fP or
|
||||||
in a history file maintained by the user\(aqs shell.
|
in a history file maintained by the user\(aqs shell.
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
@@ -217,303 +217,297 @@ answer get printed, and others determine the timeout and retry
|
|||||||
strategies.
|
strategies.
|
||||||
.sp
|
.sp
|
||||||
Each query option is identified by a keyword preceded by a plus sign
|
Each query option is identified by a keyword preceded by a plus sign
|
||||||
(\fB+\fP). Some keywords set or reset an option. These may be preceded by
|
(\fB+\fP). Some keywords set or reset an option; these may be preceded by
|
||||||
the string \fBno\fP to negate the meaning of that keyword. Other keywords
|
the string \fBno\fP to negate the meaning of that keyword. Other keywords
|
||||||
assign values to options like the timeout interval. They have the form
|
assign values to options, like the timeout interval. They have the form
|
||||||
\fB+keyword=value\fP\&. Keywords may be abbreviated, provided the
|
\fB+keyword=value\fP\&. Keywords may be abbreviated, provided the
|
||||||
abbreviation is unambiguous; for example, \fB+cd\fP is equivalent to
|
abbreviation is unambiguous; for example, \fB+cd\fP is equivalent to
|
||||||
\fB+cdflag\fP\&. The query options are:
|
\fB+cdflag\fP\&. The query options are:
|
||||||
.INDENT 0.0
|
.INDENT 0.0
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]aaflag\fP
|
.B \fB+[no]aaflag\fP
|
||||||
A synonym for \fB+[no]aaonly\fP\&.
|
This option is a synonym for \fB+[no]aaonly\fP\&.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]aaonly\fP
|
.B \fB+[no]aaonly\fP
|
||||||
Sets the "aa" flag in the query.
|
This option sets the \fBaa\fP flag in the query.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]additional\fP
|
.B \fB+[no]additional\fP
|
||||||
Display [do not display] the additional section of a reply. The
|
This option displays [or does not display] the additional section of a reply. The
|
||||||
default is to display it.
|
default is to display it.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]adflag\fP
|
.B \fB+[no]adflag\fP
|
||||||
Set [do not set] the AD (authentic data) bit in the query. This
|
This option sets [or does not set] the AD (authentic data) bit in the query. This
|
||||||
requests the server to return whether all of the answer and authority
|
requests the server to return whether all of the answer and authority
|
||||||
sections have all been validated as secure according to the security
|
sections have been validated as secure, according to the security
|
||||||
policy of the server. AD=1 indicates that all records have been
|
policy of the server. \fBAD=1\fP indicates that all records have been
|
||||||
validated as secure and the answer is not from a OPT\-OUT range. AD=0
|
validated as secure and the answer is not from a OPT\-OUT range. \fBAD=0\fP
|
||||||
indicate that some part of the answer was insecure or not validated.
|
indicates that some part of the answer was insecure or not validated.
|
||||||
This bit is set by default.
|
This bit is set by default.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]all\fP
|
.B \fB+[no]all\fP
|
||||||
Set or clear all display flags.
|
This option sets or clears all display flags.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]answer\fP
|
.B \fB+[no]answer\fP
|
||||||
Display [do not display] the answer section of a reply. The default
|
This option displays [or does not display] the answer section of a reply. The default
|
||||||
is to display it.
|
is to display it.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]authority\fP
|
.B \fB+[no]authority\fP
|
||||||
Display [do not display] the authority section of a reply. The
|
This option displays [or does not display] the authority section of a reply. The
|
||||||
default is to display it.
|
default is to display it.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]badcookie\fP
|
.B \fB+[no]badcookie\fP
|
||||||
Retry lookup with the new server cookie if a BADCOOKIE response is
|
This option retries the lookup with a new server cookie if a BADCOOKIE response is
|
||||||
received.
|
received.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]besteffort\fP
|
.B \fB+[no]besteffort\fP
|
||||||
Attempt to display the contents of messages which are malformed. The
|
This option attempts to display the contents of messages which are malformed. The
|
||||||
default is to not display malformed answers.
|
default is to not display malformed answers.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+bufsize=B\fP
|
.B \fB+bufsize=B\fP
|
||||||
Set the UDP message buffer size advertised using EDNS0 to \fBB\fP
|
This option sets the UDP message buffer size advertised using EDNS0 to \fBB\fP
|
||||||
bytes. The maximum and minimum sizes of this buffer are 65535 and 0
|
bytes. The maximum and minimum sizes of this buffer are 65535 and 0,
|
||||||
respectively. Values outside this range are rounded up or down
|
respectively. Values outside this range are rounded up or down
|
||||||
appropriately. Values other than zero will cause a EDNS query to be
|
appropriately. Values other than zero cause an EDNS query to be
|
||||||
sent.
|
sent.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]cdflag\fP
|
.B \fB+[no]cdflag\fP
|
||||||
Set [do not set] the CD (checking disabled) bit in the query. This
|
This option sets [or does not set] the CD (checking disabled) bit in the query. This
|
||||||
requests the server to not perform DNSSEC validation of responses.
|
requests the server to not perform DNSSEC validation of responses.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]class\fP
|
.B \fB+[no]class\fP
|
||||||
Display [do not display] the CLASS when printing the record.
|
This option displays [or does not display] the CLASS when printing the record.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]cmd\fP
|
.B \fB+[no]cmd\fP
|
||||||
Toggles the printing of the initial comment in the output, identifying the
|
This option toggles the printing of the initial comment in the output, identifying the
|
||||||
version of \fBdig\fP and the query options that have been applied. This option
|
version of \fBdig\fP and the query options that have been applied. This option
|
||||||
always has global effect; it cannot be set globally and then overridden on a
|
always has a global effect; it cannot be set globally and then overridden on a
|
||||||
per\-lookup basis. The default is to print this comment.
|
per\-lookup basis. The default is to print this comment.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]comments\fP
|
.B \fB+[no]comments\fP
|
||||||
Toggles the display of some comment lines in the output, containing
|
This option toggles the display of some comment lines in the output, with
|
||||||
information about the packet header and OPT pseudosection, and the names of
|
information about the packet header and OPT pseudosection, and the names of
|
||||||
the response section. The default is to print these comments.
|
the response section. The default is to print these comments.
|
||||||
.sp
|
.sp
|
||||||
Other types of comments in the output are not affected by this option, but
|
Other types of comments in the output are not affected by this option, but
|
||||||
can be controlled using other command line switches. These include
|
can be controlled using other command\-line switches. These include
|
||||||
\fB+[no]cmd\fP, \fB+[no]question\fP, \fB+[no]stats\fP, and \fB+[no]rrcomments\fP\&.
|
\fB+[no]cmd\fP, \fB+[no]question\fP, \fB+[no]stats\fP, and \fB+[no]rrcomments\fP\&.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]cookie=####\fP
|
.B \fB+[no]cookie=####\fP
|
||||||
Send a COOKIE EDNS option, with optional value. Replaying a COOKIE
|
This option sends [or does not send] a COOKIE EDNS option, with an optional value. Replaying a COOKIE
|
||||||
from a previous response will allow the server to identify a previous
|
from a previous response allows the server to identify a previous
|
||||||
client. The default is \fB+cookie\fP\&.
|
client. The default is \fB+cookie\fP\&.
|
||||||
.sp
|
.sp
|
||||||
\fB+cookie\fP is also set when +trace is set to better emulate the
|
\fB+cookie\fP is also set when \fB+trace\fP is set to better emulate the
|
||||||
default queries from a nameserver.
|
default queries from a nameserver.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]crypto\fP
|
.B \fB+[no]crypto\fP
|
||||||
Toggle the display of cryptographic fields in DNSSEC records. The
|
This option toggles the display of cryptographic fields in DNSSEC records. The
|
||||||
contents of these field are unnecessary to debug most DNSSEC
|
contents of these fields are unnecessary for debugging most DNSSEC
|
||||||
validation failures and removing them makes it easier to see the
|
validation failures and removing them makes it easier to see the
|
||||||
common failures. The default is to display the fields. When omitted
|
common failures. The default is to display the fields. When omitted,
|
||||||
they are replaced by the string "[omitted]" or in the DNSKEY case the
|
they are replaced by the string \fB[omitted]\fP or, in the DNSKEY case, the
|
||||||
key id is displayed as the replacement, e.g. "[ key id = value ]".
|
key ID is displayed as the replacement, e.g. \fB[ key id = value ]\fP\&.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]defname\fP
|
.B \fB+[no]defname\fP
|
||||||
Deprecated, treated as a synonym for \fB+[no]search\fP
|
This option, which is deprecated, is treated as a synonym for \fB+[no]search\fP\&.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]dnssec\fP
|
.B \fB+[no]dnssec\fP
|
||||||
Requests DNSSEC records be sent by setting the DNSSEC OK bit (DO) in
|
This option requests that DNSSEC records be sent by setting the DNSSEC OK (DO) bit in
|
||||||
the OPT record in the additional section of the query.
|
the OPT record in the additional section of the query.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+domain=somename\fP
|
.B \fB+domain=somename\fP
|
||||||
Set the search list to contain the single domain \fBsomename\fP, as if
|
This option sets the search list to contain the single domain \fBsomename\fP, as if
|
||||||
specified in a \fBdomain\fP directive in \fB/etc/resolv.conf\fP, and
|
specified in a \fBdomain\fP directive in \fB/etc/resolv.conf\fP, and
|
||||||
enable search list processing as if the \fB+search\fP option were
|
enables search list processing as if the \fB+search\fP option were
|
||||||
given.
|
given.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+dscp=value\fP
|
.B \fB+dscp=value\fP
|
||||||
Set the DSCP code point to be used when sending the query. Valid DSCP
|
This option sets the DSCP code point to be used when sending the query. Valid DSCP
|
||||||
code points are in the range [0..63]. By default no code point is
|
code points are in the range [0...63]. By default no code point is
|
||||||
explicitly set.
|
explicitly set.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]edns[=#]\fP
|
.B \fB+[no]edns[=#]\fP
|
||||||
Specify the EDNS version to query with. Valid values are 0 to 255.
|
This option specifies the EDNS version to query with. Valid values are 0 to 255.
|
||||||
Setting the EDNS version will cause a EDNS query to be sent.
|
Setting the EDNS version causes an EDNS query to be sent.
|
||||||
\fB+noedns\fP clears the remembered EDNS version. EDNS is set to 0 by
|
\fB+noedns\fP clears the remembered EDNS version. EDNS is set to 0 by
|
||||||
default.
|
default.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]ednsflags[=#]\fP
|
.B \fB+[no]ednsflags[=#]\fP
|
||||||
Set the must\-be\-zero EDNS flags bits (Z bits) to the specified value.
|
This option sets the must\-be\-zero EDNS flags bits (Z bits) to the specified value.
|
||||||
Decimal, hex and octal encodings are accepted. Setting a named flag
|
Decimal, hex, and octal encodings are accepted. Setting a named flag
|
||||||
(e.g. DO) will silently be ignored. By default, no Z bits are set.
|
(e.g., DO) is silently ignored. By default, no Z bits are set.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]ednsnegotiation\fP
|
.B \fB+[no]ednsnegotiation\fP
|
||||||
Enable / disable EDNS version negotiation. By default EDNS version
|
This option enables/disables EDNS version negotiation. By default, EDNS version
|
||||||
negotiation is enabled.
|
negotiation is enabled.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]ednsopt[=code[:value]]\fP
|
.B \fB+[no]ednsopt[=code[:value]]\fP
|
||||||
Specify EDNS option with code point \fBcode\fP and optionally payload
|
This option specifies the EDNS option with code point \fBcode\fP and an optional payload
|
||||||
of \fBvalue\fP as a hexadecimal string. \fBcode\fP can be either an EDNS
|
of \fBvalue\fP as a hexadecimal string. \fBcode\fP can be either an EDNS
|
||||||
option name (for example, \fBNSID\fP or \fBECS\fP), or an arbitrary
|
option name (for example, \fBNSID\fP or \fBECS\fP) or an arbitrary
|
||||||
numeric value. \fB+noednsopt\fP clears the EDNS options to be sent.
|
numeric value. \fB+noednsopt\fP clears the EDNS options to be sent.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]expire\fP
|
.B \fB+[no]expire\fP
|
||||||
Send an EDNS Expire option.
|
This option sends an EDNS Expire option.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]fail\fP
|
.B \fB+[no]fail\fP
|
||||||
Do not try the next server if you receive a SERVFAIL. The default is
|
This option indicates that \fBnamed\fP should try [or not try] the next server if a SERVFAIL is received. The default is
|
||||||
to not try the next server which is the reverse of normal stub
|
to not try the next server, which is the reverse of normal stub
|
||||||
resolver behavior.
|
resolver behavior.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]header\-only\fP
|
.B \fB+[no]header\-only\fP
|
||||||
Send a query with a DNS header without a question section. The
|
This option sends a query with a DNS header without a question section. The
|
||||||
default is to add a question section. The query type and query name
|
default is to add a question section. The query type and query name
|
||||||
are ignored when this is set.
|
are ignored when this is set.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]identify\fP
|
.B \fB+[no]identify\fP
|
||||||
Show [or do not show] the IP address and port number that supplied
|
This option shows [or does not show] the IP address and port number that supplied
|
||||||
the answer when the \fB+short\fP option is enabled. If short form
|
the answer, when the \fB+short\fP option is enabled. If short form
|
||||||
answers are requested, the default is not to show the source address
|
answers are requested, the default is not to show the source address
|
||||||
and port number of the server that provided the answer.
|
and port number of the server that provided the answer.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]idnin\fP
|
.B \fB+[no]idnin\fP
|
||||||
Process [do not process] IDN domain names on input. This requires IDN
|
This option processes [or does not process] IDN domain names on input. This requires
|
||||||
SUPPORT to have been enabled at compile time.
|
\fBIDN SUPPORT\fP to have been enabled at compile time.
|
||||||
.sp
|
.sp
|
||||||
The default is to process IDN input when standard output is a tty.
|
The default is to process IDN input when standard output is a tty.
|
||||||
The IDN processing on input is disabled when dig output is redirected
|
The IDN processing on input is disabled when \fBdig\fP output is redirected
|
||||||
to files, pipes, and other non\-tty file descriptors.
|
to files, pipes, and other non\-tty file descriptors.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]idnout\fP
|
.B \fB+[no]idnout\fP
|
||||||
Convert [do not convert] puny code on output. This requires IDN
|
This option converts [or does not convert] puny code on output. This requires
|
||||||
SUPPORT to have been enabled at compile time.
|
\fBIDN SUPPORT\fP to have been enabled at compile time.
|
||||||
.sp
|
.sp
|
||||||
The default is to process puny code on output when standard output is
|
The default is to process puny code on output when standard output is
|
||||||
a tty. The puny code processing on output is disabled when dig output
|
a tty. The puny code processing on output is disabled when \fBdig\fP output
|
||||||
is redirected to files, pipes, and other non\-tty file descriptors.
|
is redirected to files, pipes, and other non\-tty file descriptors.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]ignore\fP
|
.B \fB+[no]ignore\fP
|
||||||
Ignore truncation in UDP responses instead of retrying with TCP. By
|
This option ignores [or does not ignore] truncation in UDP responses instead of retrying with TCP. By
|
||||||
default, TCP retries are performed.
|
default, TCP retries are performed.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]keepalive\fP
|
.B \fB+[no]keepalive\fP
|
||||||
Send [or do not send] an EDNS Keepalive option.
|
This option sends [or does not send] an EDNS Keepalive option.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]keepopen\fP
|
.B \fB+[no]keepopen\fP
|
||||||
Keep the TCP socket open between queries and reuse it rather than
|
This option keeps [or does not keep] the TCP socket open between queries, and reuses it rather than
|
||||||
creating a new TCP socket for each lookup. The default is
|
creating a new TCP socket for each lookup. The default is
|
||||||
\fB+nokeepopen\fP\&.
|
\fB+nokeepopen\fP\&.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]mapped\fP
|
.B \fB+[no]mapped\fP
|
||||||
Allow mapped IPv4 over IPv6 addresses to be used. The default is
|
This option allows [or does not allow] mapped IPv4\-over\-IPv6 addresses to be used. The default is
|
||||||
\fB+mapped\fP\&.
|
\fB+mapped\fP\&.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]multiline\fP
|
.B \fB+[no]multiline\fP
|
||||||
Print records like the SOA records in a verbose multi\-line format
|
This option prints [or does not print] records, like the SOA records, in a verbose multi\-line format
|
||||||
with human\-readable comments. The default is to print each record on
|
with human\-readable comments. The default is to print each record on
|
||||||
a single line, to facilitate machine parsing of the \fBdig\fP output.
|
a single line to facilitate machine parsing of the \fBdig\fP output.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+ndots=D\fP
|
.B \fB+ndots=D\fP
|
||||||
Set the number of dots that have to appear in \fBname\fP to \fBD\fP for
|
This option sets the number of dots (\fBD\fP) that must appear in \fBname\fP for
|
||||||
it to be considered absolute. The default value is that defined using
|
it to be considered absolute. The default value is that defined using
|
||||||
the ndots statement in \fB/etc/resolv.conf\fP, or 1 if no ndots
|
the \fBndots\fP statement in \fB/etc/resolv.conf\fP, or 1 if no \fBndots\fP
|
||||||
statement is present. Names with fewer dots are interpreted as
|
statement is present. Names with fewer dots are interpreted as
|
||||||
relative names and will be searched for in the domains listed in the
|
relative names, and are searched for in the domains listed in the
|
||||||
\fBsearch\fP or \fBdomain\fP directive in \fB/etc/resolv.conf\fP if
|
\fBsearch\fP or \fBdomain\fP directive in \fB/etc/resolv.conf\fP if
|
||||||
\fB+search\fP is set.
|
\fB+search\fP is set.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]nsid\fP
|
.B \fB+[no]nsid\fP
|
||||||
Include an EDNS name server ID request when sending a query.
|
When enabled, this option includes an EDNS name server ID request when sending a query.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]nssearch\fP
|
.B \fB+[no]nssearch\fP
|
||||||
When this option is set, \fBdig\fP attempts to find the authoritative
|
When this option is set, \fBdig\fP attempts to find the authoritative
|
||||||
name servers for the zone containing the name being looked up and
|
name servers for the zone containing the name being looked up, and
|
||||||
display the SOA record that each name server has for the zone.
|
display the SOA record that each name server has for the zone.
|
||||||
Addresses of servers that that did not respond are also printed.
|
Addresses of servers that did not respond are also printed.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]onesoa\fP
|
.B \fB+[no]onesoa\fP
|
||||||
Print only one (starting) SOA record when performing an AXFR. The
|
When enabled, this option prints only one (starting) SOA record when performing an AXFR. The
|
||||||
default is to print both the starting and ending SOA records.
|
default is to print both the starting and ending SOA records.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]opcode=value\fP
|
.B \fB+[no]opcode=value\fP
|
||||||
Set [restore] the DNS message opcode to the specified value. The
|
When enabled, this option sets (restores) the DNS message opcode to the specified value. The
|
||||||
default value is QUERY (0).
|
default value is QUERY (0).
|
||||||
.TP
|
.TP
|
||||||
.B \fB+padding=value\fP
|
.B \fB+padding=value\fP
|
||||||
Pad the size of the query packet using the EDNS Padding option to
|
This option pads the size of the query packet using the EDNS Padding option to
|
||||||
blocks of \fBvalue\fP bytes. For example, \fB+padding=32\fP would cause a
|
blocks of \fBvalue\fP bytes. For example, \fB+padding=32\fP causes a
|
||||||
48\-byte query to be padded to 64 bytes. The default block size is 0,
|
48\-byte query to be padded to 64 bytes. The default block size is 0,
|
||||||
which disables padding. The maximum is 512. Values are ordinarily
|
which disables padding; the maximum is 512. Values are ordinarily
|
||||||
expected to be powers of two, such as 128; however, this is not
|
expected to be powers of two, such as 128; however, this is not
|
||||||
mandatory. Responses to padded queries may also be padded, but only
|
mandatory. Responses to padded queries may also be padded, but only
|
||||||
if the query uses TCP or DNS COOKIE.
|
if the query uses TCP or DNS COOKIE.
|
||||||
.UNINDENT
|
.TP
|
||||||
.sp
|
.B \fB+qid=value\fP
|
||||||
\fB+qid=value\fP
|
This option specifies the query ID to use when sending queries.
|
||||||
.INDENT 0.0
|
|
||||||
.INDENT 3.5
|
|
||||||
Specify the query ID to use when sending queries.
|
|
||||||
.UNINDENT
|
|
||||||
.UNINDENT
|
|
||||||
.INDENT 0.0
|
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]qr\fP
|
.B \fB+[no]qr\fP
|
||||||
Toggles the display of the query message as it is sent. By default, the query
|
This option toggles the display of the query message as it is sent. By default, the query
|
||||||
is not printed.
|
is not printed.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]question\fP
|
.B \fB+[no]question\fP
|
||||||
Toggles the display of the question section of a query when an answer is
|
This option toggles the display of the question section of a query when an answer is
|
||||||
returned. The default is to print the question section as a comment.
|
returned. The default is to print the question section as a comment.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]raflag\fP
|
.B \fB+[no]raflag\fP
|
||||||
Set [do not set] the RA (Recursion Available) bit in the query. The
|
This option sets [or does not set] the RA (Recursion Available) bit in the query. The
|
||||||
default is +noraflag. This bit should be ignored by the server for
|
default is \fB+noraflag\fP\&. This bit is ignored by the server for
|
||||||
QUERY.
|
QUERY.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]rdflag\fP
|
.B \fB+[no]rdflag\fP
|
||||||
A synonym for \fB+[no]recurse\fP\&.
|
This option is a synonym for \fB+[no]recurse\fP\&.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]recurse\fP
|
.B \fB+[no]recurse\fP
|
||||||
Toggle the setting of the RD (recursion desired) bit in the query.
|
This option toggles the setting of the RD (recursion desired) bit in the query.
|
||||||
This bit is set by default, which means \fBdig\fP normally sends
|
This bit is set by default, which means \fBdig\fP normally sends
|
||||||
recursive queries. Recursion is automatically disabled when the
|
recursive queries. Recursion is automatically disabled when the
|
||||||
\fB+nssearch\fP or \fB+trace\fP query options are used.
|
\fB+nssearch\fP or \fB+trace\fP query option is used.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+retry=T\fP
|
.B \fB+retry=T\fP
|
||||||
Sets the number of times to retry UDP queries to server to \fBT\fP
|
This option sets the number of times to retry UDP queries to server to \fBT\fP
|
||||||
instead of the default, 2. Unlike \fB+tries\fP, this does not include
|
instead of the default, 2. Unlike \fB+tries\fP, this does not include
|
||||||
the initial query.
|
the initial query.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]rrcomments\fP
|
.B \fB+[no]rrcomments\fP
|
||||||
Toggle the display of per\-record comments in the output (for example,
|
This option toggles the display of per\-record comments in the output (for example,
|
||||||
human\-readable key information about DNSKEY records). The default is
|
human\-readable key information about DNSKEY records). The default is
|
||||||
not to print record comments unless multiline mode is active.
|
not to print record comments unless multiline mode is active.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]search\fP
|
.B \fB+[no]search\fP
|
||||||
Use [do not use] the search list defined by the searchlist or domain
|
This option uses [or does not use] the search list defined by the searchlist or domain
|
||||||
directive in \fBresolv.conf\fP (if any). The search list is not used by
|
directive in \fBresolv.conf\fP, if any. The search list is not used by
|
||||||
default.
|
default.
|
||||||
.sp
|
.sp
|
||||||
\(aqndots\(aq from \fBresolv.conf\fP (default 1) which may be overridden by
|
\fBndots\fP from \fBresolv.conf\fP (default 1), which may be overridden by
|
||||||
\fB+ndots\fP determines if the name will be treated as relative or not
|
\fB+ndots\fP, determines whether the name is treated as relative
|
||||||
and hence whether a search is eventually performed or not.
|
and hence whether a search is eventually performed.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]short\fP
|
.B \fB+[no]short\fP
|
||||||
Provide a terse answer. The default is to print the answer in a verbose
|
This option toggles whether a terse answer is provided. The default is to print the answer in a verbose
|
||||||
form. This option always has global effect; it cannot be set globally and
|
form. This option always has a global effect; it cannot be set globally and
|
||||||
then overridden on a per\-lookup basis.
|
then overridden on a per\-lookup basis.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]showsearch\fP
|
.B \fB+[no]showsearch\fP
|
||||||
Perform [do not perform] a search showing intermediate results.
|
This option performs [or does not perform] a search showing intermediate results.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]sigchase\fP
|
.B \fB+[no]sigchase\fP
|
||||||
This feature is now obsolete and has been removed; use \fBdelv\fP
|
This feature is now obsolete and has been removed; use \fBdelv\fP
|
||||||
instead.
|
instead.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+split=W\fP
|
.B \fB+split=W\fP
|
||||||
Split long hex\- or base64\-formatted fields in resource records into
|
This option splits long hex\- or base64\-formatted fields in resource records into
|
||||||
chunks of \fBW\fP characters (where \fBW\fP is rounded up to the nearest
|
chunks of \fBW\fP characters (where \fBW\fP is rounded up to the nearest
|
||||||
multiple of 4). \fB+nosplit\fP or \fB+split=0\fP causes fields not to be
|
multiple of 4). \fB+nosplit\fP or \fB+split=0\fP causes fields not to be
|
||||||
split at all. The default is 56 characters, or 44 characters when
|
split at all. The default is 56 characters, or 44 characters when
|
||||||
multiline mode is active.
|
multiline mode is active.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]stats\fP
|
.B \fB+[no]stats\fP
|
||||||
Toggles the printing of statistics: when the query was made, the size of the
|
This option toggles the printing of statistics: when the query was made, the size of the
|
||||||
reply and so on. The default behavior is to print the query statistics as a
|
reply, etc. The default behavior is to print the query statistics as a
|
||||||
comment after each lookup.
|
comment after each lookup.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]subnet=addr[/prefix\-length]\fP
|
.B \fB+[no]subnet=addr[/prefix\-length]\fP
|
||||||
Send (don\(aqt send) an EDNS Client Subnet option with the specified IP
|
This option sends [or does not send] an EDNS CLIENT\-SUBNET option with the specified IP
|
||||||
address or network prefix.
|
address or network prefix.
|
||||||
.sp
|
.sp
|
||||||
\fBdig +subnet=0.0.0.0/0\fP, or simply \fBdig +subnet=0\fP for short,
|
\fBdig +subnet=0.0.0.0/0\fP, or simply \fBdig +subnet=0\fP for short,
|
||||||
@@ -522,75 +516,74 @@ prefix\-length of zero, which signals a resolver that the client\(aqs
|
|||||||
address information must \fInot\fP be used when resolving this query.
|
address information must \fInot\fP be used when resolving this query.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]tcflag\fP
|
.B \fB+[no]tcflag\fP
|
||||||
Set [do not set] the TC (TrunCation) bit in the query. The default is
|
This option sets [or does not set] the TC (TrunCation) bit in the query. The default is
|
||||||
+notcflag. This bit should be ignored by the server for QUERY.
|
\fB+notcflag\fP\&. This bit is ignored by the server for QUERY.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]tcp\fP
|
.B \fB+[no]tcp\fP
|
||||||
Use [do not use] TCP when querying name servers. The default behavior
|
This option uses [or does not use] TCP when querying name servers. The default behavior
|
||||||
is to use UDP unless a type \fBany\fP or \fBixfr=N\fP query is requested,
|
is to use UDP unless a type \fBany\fP or \fBixfr=N\fP query is requested,
|
||||||
in which case the default is TCP. AXFR queries always use TCP.
|
in which case the default is TCP. AXFR queries always use TCP.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+timeout=T\fP
|
.B \fB+timeout=T\fP
|
||||||
Sets the timeout for a query to \fBT\fP seconds. The default timeout is
|
This option sets the timeout for a query to \fBT\fP seconds. The default timeout is
|
||||||
5 seconds. An attempt to set \fBT\fP to less than 1 will result in a
|
5 seconds. An attempt to set \fBT\fP to less than 1 is silently set to 1.
|
||||||
query timeout of 1 second being applied.
|
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]topdown\fP
|
.B \fB+[no]topdown\fP
|
||||||
This feature is related to \fBdig +sigchase\fP, which is obsolete and
|
This feature is related to \fBdig +sigchase\fP, which is obsolete and
|
||||||
has been removed. Use \fBdelv\fP instead.
|
has been removed. Use \fBdelv\fP instead.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]trace\fP
|
.B \fB+[no]trace\fP
|
||||||
Toggle tracing of the delegation path from the root name servers for
|
This option toggles tracing of the delegation path from the root name servers for
|
||||||
the name being looked up. Tracing is disabled by default. When
|
the name being looked up. Tracing is disabled by default. When
|
||||||
tracing is enabled, \fBdig\fP makes iterative queries to resolve the
|
tracing is enabled, \fBdig\fP makes iterative queries to resolve the
|
||||||
name being looked up. It will follow referrals from the root servers,
|
name being looked up. It follows referrals from the root servers,
|
||||||
showing the answer from each server that was used to resolve the
|
showing the answer from each server that was used to resolve the
|
||||||
lookup.
|
lookup.
|
||||||
.sp
|
.sp
|
||||||
If @server is also specified, it affects only the initial query for
|
If \fB@server\fP is also specified, it affects only the initial query for
|
||||||
the root zone name servers.
|
the root zone name servers.
|
||||||
.sp
|
.sp
|
||||||
\fB+dnssec\fP is also set when +trace is set to better emulate the
|
\fB+dnssec\fP is also set when \fB+trace\fP is set, to better emulate the
|
||||||
default queries from a nameserver.
|
default queries from a name server.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+tries=T\fP
|
.B \fB+tries=T\fP
|
||||||
Sets the number of times to try UDP queries to server to \fBT\fP
|
This option sets the number of times to try UDP queries to server to \fBT\fP
|
||||||
instead of the default, 3. If \fBT\fP is less than or equal to zero,
|
instead of the default, 3. If \fBT\fP is less than or equal to zero,
|
||||||
the number of tries is silently rounded up to 1.
|
the number of tries is silently rounded up to 1.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+trusted\-key=####\fP
|
.B \fB+trusted\-key=####\fP
|
||||||
Formerly specified trusted keys for use with \fBdig +sigchase\fP\&. This
|
This option formerly specified trusted keys for use with \fBdig +sigchase\fP\&. This
|
||||||
feature is now obsolete and has been removed; use \fBdelv\fP instead.
|
feature is now obsolete and has been removed; use \fBdelv\fP instead.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]ttlid\fP
|
.B \fB+[no]ttlid\fP
|
||||||
Display [do not display] the TTL when printing the record.
|
This option displays [or does not display] the TTL when printing the record.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]ttlunits\fP
|
.B \fB+[no]ttlunits\fP
|
||||||
Display [do not display] the TTL in friendly human\-readable time
|
This option displays [or does not display] the TTL in friendly human\-readable time
|
||||||
units of "s", "m", "h", "d", and "w", representing seconds, minutes,
|
units of \fBs\fP, \fBm\fP, \fBh\fP, \fBd\fP, and \fBw\fP, representing seconds, minutes,
|
||||||
hours, days and weeks. Implies +ttlid.
|
hours, days, and weeks. This implies \fB+ttlid\fP\&.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]unexpected\fP
|
.B \fB+[no]unexpected\fP
|
||||||
Accept [do not accept] answers from unexpected sources. By default, \fBdig\fP
|
This option accepts [or does not accept] answers from unexpected sources. By default, \fBdig\fP
|
||||||
won\(aqt accept a reply from a source other than the one to which it sent the
|
will not accept a reply from a source other than the one to which it sent the
|
||||||
query.
|
query.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]unknownformat\fP
|
.B \fB+[no]unknownformat\fP
|
||||||
Print all RDATA in unknown RR type presentation format (\fI\%RFC 3597\fP).
|
This option prints all RDATA in unknown RR type presentation format (\fI\%RFC 3597\fP).
|
||||||
The default is to print RDATA for known types in the type\(aqs
|
The default is to print RDATA for known types in the type\(aqs
|
||||||
presentation format.
|
presentation format.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]vc\fP
|
.B \fB+[no]vc\fP
|
||||||
Use [do not use] TCP when querying name servers. This alternate
|
This option uses [or does not use] TCP when querying name servers. This alternate
|
||||||
syntax to \fB+[no]tcp\fP is provided for backwards compatibility. The
|
syntax to \fB+[no]tcp\fP is provided for backwards compatibility. The
|
||||||
"vc" stands for "virtual circuit".
|
\fBvc\fP stands for "virtual circuit."
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]yaml\fP
|
.B \fB+[no]yaml\fP
|
||||||
Print the responses (and, if <option>+qr</option> is in use, also the
|
When enabled, this option prints the responses (and, if \fB+qr\fP is in use, also the
|
||||||
outgoing queries) in a detailed YAML format.
|
outgoing queries) in a detailed YAML format.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]zflag\fP
|
.B \fB+[no]zflag\fP
|
||||||
Set [do not set] the last unassigned DNS header flag in a DNS query.
|
This option sets [or does not set] the last unassigned DNS header flag in a DNS query.
|
||||||
This flag is off by default.
|
This flag is off by default.
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.SH MULTIPLE QUERIES
|
.SH MULTIPLE QUERIES
|
||||||
@@ -598,12 +591,12 @@ This flag is off by default.
|
|||||||
The BIND 9 implementation of \fBdig\fP supports specifying multiple
|
The BIND 9 implementation of \fBdig\fP supports specifying multiple
|
||||||
queries on the command line (in addition to supporting the \fB\-f\fP batch
|
queries on the command line (in addition to supporting the \fB\-f\fP batch
|
||||||
file option). Each of those queries can be supplied with its own set of
|
file option). Each of those queries can be supplied with its own set of
|
||||||
flags, options and query options.
|
flags, options, and query options.
|
||||||
.sp
|
.sp
|
||||||
In this case, each \fBquery\fP argument represent an individual query in
|
In this case, each \fBquery\fP argument represents an individual query in
|
||||||
the command\-line syntax described above. Each consists of any of the
|
the command\-line syntax described above. Each consists of any of the
|
||||||
standard options and flags, the name to be looked up, an optional query
|
standard options and flags, the name to be looked up, an optional query
|
||||||
type and class and any query options that should be applied to that
|
type and class, and any query options that should be applied to that
|
||||||
query.
|
query.
|
||||||
.sp
|
.sp
|
||||||
A global set of query options, which should be applied to all queries,
|
A global set of query options, which should be applied to all queries,
|
||||||
@@ -623,21 +616,21 @@ dig +qr www.isc.org any \-x 127.0.0.1 isc.org ns +noqr
|
|||||||
.UNINDENT
|
.UNINDENT
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.sp
|
.sp
|
||||||
shows how \fBdig\fP could be used from the command line to make three
|
shows how \fBdig\fP can be used from the command line to make three
|
||||||
lookups: an ANY query for \fBwww.isc.org\fP, a reverse lookup of 127.0.0.1
|
lookups: an ANY query for \fBwww.isc.org\fP, a reverse lookup of 127.0.0.1,
|
||||||
and a query for the NS records of \fBisc.org\fP\&. A global query option of
|
and a query for the NS records of \fBisc.org\fP\&. A global query option of
|
||||||
\fB+qr\fP is applied, so that \fBdig\fP shows the initial query it made for
|
\fB+qr\fP is applied, so that \fBdig\fP shows the initial query it made for
|
||||||
each lookup. The final query has a local query option of \fB+noqr\fP which
|
each lookup. The final query has a local query option of \fB+noqr\fP which
|
||||||
means that \fBdig\fP will not print the initial query when it looks up the
|
means that \fBdig\fP does not print the initial query when it looks up the
|
||||||
NS records for \fBisc.org\fP\&.
|
NS records for \fBisc.org\fP\&.
|
||||||
.SH IDN SUPPORT
|
.SH IDN SUPPORT
|
||||||
.sp
|
.sp
|
||||||
If \fBdig\fP has been built with IDN (internationalized domain name)
|
If \fBdig\fP has been built with IDN (internationalized domain name)
|
||||||
support, it can accept and display non\-ASCII domain names. \fBdig\fP
|
support, it can accept and display non\-ASCII domain names. \fBdig\fP
|
||||||
appropriately converts character encoding of domain name before sending
|
appropriately converts character encoding of a domain name before sending
|
||||||
a request to DNS server or displaying a reply from the server. If you\(aqd
|
a request to a DNS server or displaying a reply from the server.
|
||||||
like to turn off the IDN support for some reason, use parameters
|
To turn off IDN support, use the parameters
|
||||||
\fB+noidnin\fP and \fB+noidnout\fP or define the IDN_DISABLE environment
|
\fB+noidnin\fP and \fB+noidnout\fP, or define the \fBIDN_DISABLE\fP environment
|
||||||
variable.
|
variable.
|
||||||
.SH FILES
|
.SH FILES
|
||||||
.sp
|
.sp
|
||||||
|
@@ -32,15 +32,15 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
|||||||
..
|
..
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.sp
|
.sp
|
||||||
\fBdnssec\-cds\fP [\fB\-a\fP alg...] [\fB\-c\fP class] [\fB\-D\fP] {\fB\-d\fP dsset\-file} {\fB\-f\fP child\-file} [\fB\-i\fP [extension]] [\fB\-s\fP start\-time] [\fB\-T\fP ttl] [\fB\-u\fP] [\fB\-v\fP level] [\fB\-V\fP] {domain}
|
\fBdnssec\-cds\fP [\fB\-a\fP alg...] [\fB\-c\fP class] [\fB\-D\fP] {\fB\-d\fP dsset\-file} {\fB\-f\fP child\-file} [\fB\-i**[extension]] [\fP\-s** start\-time] [\fB\-T\fP ttl] [\fB\-u\fP] [\fB\-v\fP level] [\fB\-V\fP] {domain}
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.sp
|
.sp
|
||||||
The \fBdnssec\-cds\fP command changes DS records at a delegation point
|
The \fBdnssec\-cds\fP command changes DS records at a delegation point
|
||||||
based on CDS or CDNSKEY records published in the child zone. If both CDS
|
based on CDS or CDNSKEY records published in the child zone. If both CDS
|
||||||
and CDNSKEY records are present in the child zone, the CDS is preferred.
|
and CDNSKEY records are present in the child zone, the CDS is preferred.
|
||||||
This enables a child zone to inform its parent of upcoming changes to
|
This enables a child zone to inform its parent of upcoming changes to
|
||||||
its key\-signing keys; by polling periodically with \fBdnssec\-cds\fP, the
|
its key\-signing keys (KSKs); by polling periodically with \fBdnssec\-cds\fP, the
|
||||||
parent can keep the DS records up to date and enable automatic rolling
|
parent can keep the DS records up\-to\-date and enable automatic rolling
|
||||||
of KSKs.
|
of KSKs.
|
||||||
.sp
|
.sp
|
||||||
Two input files are required. The \fB\-f child\-file\fP option specifies a
|
Two input files are required. The \fB\-f child\-file\fP option specifies a
|
||||||
@@ -53,12 +53,12 @@ output of a previous run of \fBdnssec\-cds\fP\&.
|
|||||||
.sp
|
.sp
|
||||||
The \fBdnssec\-cds\fP command uses special DNSSEC validation logic
|
The \fBdnssec\-cds\fP command uses special DNSSEC validation logic
|
||||||
specified by \fI\%RFC 7344\fP\&. It requires that the CDS and/or CDNSKEY records
|
specified by \fI\%RFC 7344\fP\&. It requires that the CDS and/or CDNSKEY records
|
||||||
are validly signed by a key represented in the existing DS records. This
|
be validly signed by a key represented in the existing DS records. This
|
||||||
will typically be the pre\-existing key\-signing key (KSK).
|
is typically the pre\-existing KSK.
|
||||||
.sp
|
.sp
|
||||||
For protection against replay attacks, the signatures on the child
|
For protection against replay attacks, the signatures on the child
|
||||||
records must not be older than they were on a previous run of
|
records must not be older than they were on a previous run of
|
||||||
\fBdnssec\-cds\fP\&. This time is obtained from the modification time of the
|
\fBdnssec\-cds\fP\&. Their age is obtained from the modification time of the
|
||||||
\fBdsset\-\fP file, or from the \fB\-s\fP option.
|
\fBdsset\-\fP file, or from the \fB\-s\fP option.
|
||||||
.sp
|
.sp
|
||||||
To protect against breaking the delegation, \fBdnssec\-cds\fP ensures that
|
To protect against breaking the delegation, \fBdnssec\-cds\fP ensures that
|
||||||
@@ -68,117 +68,121 @@ type.
|
|||||||
.sp
|
.sp
|
||||||
By default, replacement DS records are written to the standard output;
|
By default, replacement DS records are written to the standard output;
|
||||||
with the \fB\-i\fP option the input file is overwritten in place. The
|
with the \fB\-i\fP option the input file is overwritten in place. The
|
||||||
replacement DS records will be the same as the existing records when no
|
replacement DS records are the same as the existing records, when no
|
||||||
change is required. The output can be empty if the CDS / CDNSKEY records
|
change is required. The output can be empty if the CDS/CDNSKEY records
|
||||||
specify that the child zone wants to go insecure.
|
specify that the child zone wants to be insecure.
|
||||||
.sp
|
.sp
|
||||||
Warning: Be careful not to delete the DS records when \fBdnssec\-cds\fP
|
\fBWARNING:\fP
|
||||||
fails!
|
.INDENT 0.0
|
||||||
|
.INDENT 3.5
|
||||||
|
Be careful not to delete the DS records when \fBdnssec\-cds\fP fails!
|
||||||
|
.UNINDENT
|
||||||
|
.UNINDENT
|
||||||
.sp
|
.sp
|
||||||
Alternatively, \fBdnssec\-cds \-u\fP writes an \fBnsupdate\fP script to the
|
Alternatively, \fBdnssec\-cds \-u\fP writes an \fBnsupdate\fP script to the
|
||||||
standard output. You can use the \fB\-u\fP and \fB\-i\fP options together to
|
standard output. The \fB\-u\fP and \fB\-i\fP options can be used together to
|
||||||
maintain a \fBdsset\-\fP file as well as emit an \fBnsupdate\fP script.
|
maintain a \fBdsset\-\fP file as well as emit an \fBnsupdate\fP script.
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.INDENT 0.0
|
.INDENT 0.0
|
||||||
.TP
|
.TP
|
||||||
\fB\-a\fP algorithm
|
.B \fB\-a algorithm\fP
|
||||||
Specify a digest algorithm to use when converting CDNSKEY records to
|
This option specifies a digest algorithm to use when converting CDNSKEY records to
|
||||||
DS records. This option can be repeated, so that multiple DS records
|
DS records. This option can be repeated, so that multiple DS records
|
||||||
are created for each CDNSKEY record. This option has no effect when
|
are created for each CDNSKEY record. This option has no effect when
|
||||||
using CDS records.
|
using CDS records.
|
||||||
.sp
|
.sp
|
||||||
The algorithm must be one of SHA\-1, SHA\-256, or SHA\-384. These values
|
The algorithm must be one of SHA\-1, SHA\-256, or SHA\-384. These values
|
||||||
are case insensitive, and the hyphen may be omitted. If no algorithm
|
are case\-insensitive, and the hyphen may be omitted. If no algorithm
|
||||||
is specified, the default is SHA\-256.
|
is specified, the default is SHA\-256.
|
||||||
.TP
|
.TP
|
||||||
\fB\-c\fP class
|
.B \fB\-c class\fP
|
||||||
Specifies the DNS class of the zones.
|
This option specifies the DNS class of the zones.
|
||||||
.TP
|
.TP
|
||||||
\fB\-D\fP
|
.B \fB\-D\fP
|
||||||
Generate DS records from CDNSKEY records if both CDS and CDNSKEY
|
This option generates DS records from CDNSKEY records if both CDS and CDNSKEY
|
||||||
records are present in the child zone. By default CDS records are
|
records are present in the child zone. By default CDS records are
|
||||||
preferred.
|
preferred.
|
||||||
.TP
|
.TP
|
||||||
\fB\-d\fP path
|
.B \fB\-d path\fP
|
||||||
Location of the parent DS records. The path can be the name of a file
|
This specifies the location of the parent DS records. The path can be the name of a file
|
||||||
containing the DS records, or if it is a directory, \fBdnssec\-cds\fP
|
containing the DS records; if it is a directory, \fBdnssec\-cds\fP
|
||||||
looks for a \fBdsset\-\fP file for the domain inside the directory.
|
looks for a \fBdsset\-\fP file for the domain inside the directory.
|
||||||
.sp
|
.sp
|
||||||
To protect against replay attacks, child records are rejected if they
|
To protect against replay attacks, child records are rejected if they
|
||||||
were signed earlier than the modification time of the \fBdsset\-\fP
|
were signed earlier than the modification time of the \fBdsset\-\fP
|
||||||
file. This can be adjusted with the \fB\-s\fP option.
|
file. This can be adjusted with the \fB\-s\fP option.
|
||||||
.TP
|
.TP
|
||||||
\fB\-f\fP child\-file
|
.B \fB\-f child\-file\fP
|
||||||
File containing the child\(aqs CDS and/or CDNSKEY records, plus its
|
This option specifies the file containing the child\(aqs CDS and/or CDNSKEY records, plus its
|
||||||
DNSKEY records and the covering RRSIG records so that they can be
|
DNSKEY records and the covering RRSIG records, so that they can be
|
||||||
authenticated.
|
authenticated.
|
||||||
.sp
|
.sp
|
||||||
The EXAMPLES below describe how to generate this file.
|
The examples below describe how to generate this file.
|
||||||
.TP
|
.TP
|
||||||
\fB\-iextension\fP
|
.B \fB\-iextension\fP
|
||||||
Update the \fBdsset\-\fP file in place, instead of writing DS records to
|
This option updates the \fBdsset\-\fP file in place, instead of writing DS records to
|
||||||
the standard output.
|
the standard output.
|
||||||
.sp
|
.sp
|
||||||
There must be no space between the \fB\-i\fP and the extension. If you
|
There must be no space between the \fB\-i\fP and the extension. If
|
||||||
provide no extension then the old \fBdsset\-\fP is discarded. If an
|
no extension is provided, the old \fBdsset\-\fP is discarded. If an
|
||||||
extension is present, a backup of the old \fBdsset\-\fP file is kept
|
extension is present, a backup of the old \fBdsset\-\fP file is kept
|
||||||
with the extension appended to its filename.
|
with the extension appended to its filename.
|
||||||
.sp
|
.sp
|
||||||
To protect against replay attacks, the modification time of the
|
To protect against replay attacks, the modification time of the
|
||||||
\fBdsset\-\fP file is set to match the signature inception time of the
|
\fBdsset\-\fP file is set to match the signature inception time of the
|
||||||
child records, provided that is later than the file\(aqs current
|
child records, provided that it is later than the file\(aqs current
|
||||||
modification time.
|
modification time.
|
||||||
.TP
|
.TP
|
||||||
\fB\-s\fP start\-time
|
.B \fB\-s start\-time\fP
|
||||||
Specify the date and time after which RRSIG records become
|
This option specifies the date and time after which RRSIG records become
|
||||||
acceptable. This can be either an absolute or relative time. An
|
acceptable. This can be either an absolute or a relative time. An
|
||||||
absolute start time is indicated by a number in YYYYMMDDHHMMSS
|
absolute start time is indicated by a number in YYYYMMDDHHMMSS
|
||||||
notation; 20170827133700 denotes 13:37:00 UTC on August 27th, 2017. A
|
notation; 20170827133700 denotes 13:37:00 UTC on August 27th, 2017. A
|
||||||
time relative to the \fBdsset\-\fP file is indicated with \-N, which is N
|
time relative to the \fBdsset\-\fP file is indicated with \fB\-N\fP, which is N
|
||||||
seconds before the file modification time. A time relative to the
|
seconds before the file modification time. A time relative to the
|
||||||
current time is indicated with now+N.
|
current time is indicated with \fBnow+N\fP\&.
|
||||||
.sp
|
.sp
|
||||||
If no start\-time is specified, the modification time of the
|
If no start\-time is specified, the modification time of the
|
||||||
\fBdsset\-\fP file is used.
|
\fBdsset\-\fP file is used.
|
||||||
.TP
|
.TP
|
||||||
\fB\-T\fP ttl
|
.B \fB\-T ttl\fP
|
||||||
Specifies a TTL to be used for new DS records. If not specified, the
|
This option specifies a TTL to be used for new DS records. If not specified, the
|
||||||
default is the TTL of the old DS records. If they had no explicit TTL
|
default is the TTL of the old DS records. If they had no explicit TTL,
|
||||||
then the new DS records also have no explicit TTL.
|
the new DS records also have no explicit TTL.
|
||||||
.TP
|
.TP
|
||||||
\fB\-u\fP
|
.B \fB\-u\fP
|
||||||
Write an \fBnsupdate\fP script to the standard output, instead of
|
This option writes an \fBnsupdate\fP script to the standard output, instead of
|
||||||
printing the new DS reords. The output will be empty if no change is
|
printing the new DS reords. The output is empty if no change is
|
||||||
needed.
|
needed.
|
||||||
.sp
|
.sp
|
||||||
Note: The TTL of new records needs to be specified, either in the
|
Note: The TTL of new records needs to be specified: it can be done in the
|
||||||
original \fBdsset\-\fP file, or with the \fB\-T\fP option, or using the
|
original \fBdsset\-\fP file, with the \fB\-T\fP option, or using the
|
||||||
\fBnsupdate\fP \fBttl\fP command.
|
\fBnsupdate\fP \fBttl\fP command.
|
||||||
.TP
|
.TP
|
||||||
\fB\-V\fP
|
.B \fB\-V\fP
|
||||||
Print version information.
|
This option prints version information.
|
||||||
.TP
|
.TP
|
||||||
\fB\-v\fP level
|
.B \fB\-v level\fP
|
||||||
Sets the debugging level. Level 1 is intended to be usefully verbose
|
This option sets the debugging level. Level 1 is intended to be usefully verbose
|
||||||
for general users; higher levels are intended for developers.
|
for general users; higher levels are intended for developers.
|
||||||
.TP
|
.TP
|
||||||
.B domain
|
.B \fBdomain\fP
|
||||||
The name of the delegation point / child zone apex.
|
This indicates the name of the delegation point/child zone apex.
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.SH EXIT STATUS
|
.SH EXIT STATUS
|
||||||
.sp
|
.sp
|
||||||
The \fBdnssec\-cds\fP command exits 0 on success, or non\-zero if an error
|
The \fBdnssec\-cds\fP command exits 0 on success, or non\-zero if an error
|
||||||
occurred.
|
occurred.
|
||||||
.sp
|
.sp
|
||||||
In the success case, the DS records might or might not need to be
|
If successful, the DS records may or may not need to be
|
||||||
changed.
|
changed.
|
||||||
.SH EXAMPLES
|
.SH EXAMPLES
|
||||||
.sp
|
.sp
|
||||||
Before running \fBdnssec\-signzone\fP, you can ensure that the delegations
|
Before running \fBdnssec\-signzone\fP, ensure that the delegations
|
||||||
are up\-to\-date by running \fBdnssec\-cds\fP on every \fBdsset\-\fP file.
|
are up\-to\-date by running \fBdnssec\-cds\fP on every \fBdsset\-\fP file.
|
||||||
.sp
|
.sp
|
||||||
To fetch the child records required by \fBdnssec\-cds\fP you can invoke
|
To fetch the child records required by \fBdnssec\-cds\fP, invoke
|
||||||
\fBdig\fP as in the script below. It\(aqs okay if the \fBdig\fP fails since
|
\fBdig\fP as in the script below. It is acceptable if the \fBdig\fP fails, since
|
||||||
\fBdnssec\-cds\fP performs all the necessary checking.
|
\fBdnssec\-cds\fP performs all the necessary checking.
|
||||||
.INDENT 0.0
|
.INDENT 0.0
|
||||||
.INDENT 3.5
|
.INDENT 3.5
|
||||||
@@ -196,10 +200,10 @@ done
|
|||||||
.UNINDENT
|
.UNINDENT
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.sp
|
.sp
|
||||||
When the parent zone is automatically signed by \fBnamed\fP, you can use
|
When the parent zone is automatically signed by \fBnamed\fP,
|
||||||
\fBdnssec\-cds\fP with \fBnsupdate\fP to maintain a delegation as follows.
|
\fBdnssec\-cds\fP can be used with \fBnsupdate\fP to maintain a delegation as follows.
|
||||||
The \fBdsset\-\fP file allows the script to avoid having to fetch and
|
The \fBdsset\-\fP file allows the script to avoid having to fetch and
|
||||||
validate the parent DS records, and it keeps the replay attack
|
validate the parent DS records, and it maintains the replay attack
|
||||||
protection time.
|
protection time.
|
||||||
.INDENT 0.0
|
.INDENT 0.0
|
||||||
.INDENT 3.5
|
.INDENT 3.5
|
||||||
|
@@ -46,7 +46,7 @@ The \fBdnssec\-dsfromkey\fP command outputs DS (Delegation Signer) resource reco
|
|||||||
.sp
|
.sp
|
||||||
The input keys can be specified in a number of ways:
|
The input keys can be specified in a number of ways:
|
||||||
.sp
|
.sp
|
||||||
By default, \fBdnssec\-dsfromkey\fP reads a key file named like
|
By default, \fBdnssec\-dsfromkey\fP reads a key file named in the format
|
||||||
\fBKnnnn.+aaa+iiiii.key\fP, as generated by \fBdnssec\-keygen\fP\&.
|
\fBKnnnn.+aaa+iiiii.key\fP, as generated by \fBdnssec\-keygen\fP\&.
|
||||||
.sp
|
.sp
|
||||||
With the \fB\-f file\fP option, \fBdnssec\-dsfromkey\fP reads keys from a zone
|
With the \fB\-f file\fP option, \fBdnssec\-dsfromkey\fP reads keys from a zone
|
||||||
@@ -57,85 +57,85 @@ as generated by \fBdnssec\-keygen\fP \fB\-C\fP\&.
|
|||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.INDENT 0.0
|
.INDENT 0.0
|
||||||
.TP
|
.TP
|
||||||
\fB\-1\fP
|
.B \fB\-1\fP
|
||||||
An abbreviation for \fB\-a SHA1\fP
|
This option is an abbreviation for \fB\-a SHA1\fP\&.
|
||||||
.TP
|
.TP
|
||||||
\fB\-2\fP
|
.B \fB\-2\fP
|
||||||
An abbreviation for \fB\-a SHA\-256\fP
|
This option is an abbreviation for \fB\-a SHA\-256\fP\&.
|
||||||
.TP
|
.TP
|
||||||
\fB\-a\fP algorithm
|
.B \fB\-a algorithm\fP
|
||||||
Specify a digest algorithm to use when converting DNSKEY records to
|
This option specifies a digest algorithm to use when converting DNSKEY records to
|
||||||
DS records. This option can be repeated, so that multiple DS records
|
DS records. This option can be repeated, so that multiple DS records
|
||||||
are created for each DNSKEY record.
|
are created for each DNSKEY record.
|
||||||
.sp
|
.sp
|
||||||
The algorithm must be one of SHA\-1, SHA\-256, or SHA\-384. These values
|
The algorithm must be one of SHA\-1, SHA\-256, or SHA\-384. These values
|
||||||
are case insensitive, and the hyphen may be omitted. If no algorithm
|
are case\-insensitive, and the hyphen may be omitted. If no algorithm
|
||||||
is specified, the default is SHA\-256.
|
is specified, the default is SHA\-256.
|
||||||
.TP
|
.TP
|
||||||
\fB\-A\fP
|
.B \fB\-A\fP
|
||||||
Include ZSKs when generating DS records. Without this option, only
|
This option indicates that ZSKs are to be included when generating DS records. Without this option, only
|
||||||
keys which have the KSK flag set will be converted to DS records and
|
keys which have the KSK flag set are converted to DS records and
|
||||||
printed. Useful only in \fB\-f\fP zone file mode.
|
printed. This option is only useful in \fB\-f\fP zone file mode.
|
||||||
.TP
|
.TP
|
||||||
\fB\-c\fP class
|
.B \fB\-c class\fP
|
||||||
Specifies the DNS class (default is IN). Useful only in \fB\-s\fP keyset
|
This option specifies the DNS class; the default is IN. This option is only useful in \fB\-s\fP keyset
|
||||||
or \fB\-f\fP zone file mode.
|
or \fB\-f\fP zone file mode.
|
||||||
.TP
|
.TP
|
||||||
\fB\-C\fP
|
.B \fB\-C\fP
|
||||||
Generate CDS records rather than DS records.
|
This option generates CDS records rather than DS records.
|
||||||
.TP
|
.TP
|
||||||
\fB\-f\fP file
|
.B \fB\-f file\fP
|
||||||
Zone file mode: \fBdnssec\-dsfromkey\fP\(aqs final dnsname argument is the
|
This option sets zone file mode, in which the final dnsname argument of \fBdnssec\-dsfromkey\fP is the
|
||||||
DNS domain name of a zone whose master file can be read from
|
DNS domain name of a zone whose master file can be read from
|
||||||
\fBfile\fP\&. If the zone name is the same as \fBfile\fP, then it may be
|
\fBfile\fP\&. If the zone name is the same as \fBfile\fP, then it may be
|
||||||
omitted.
|
omitted.
|
||||||
.sp
|
.sp
|
||||||
If file is \fB"\-"\fP, then the zone data is read from the standard
|
If \fBfile\fP is \fB\-\fP, then the zone data is read from the standard
|
||||||
input. This makes it possible to use the output of the \fBdig\fP
|
input. This makes it possible to use the output of the \fBdig\fP
|
||||||
command as input, as in:
|
command as input, as in:
|
||||||
.sp
|
.sp
|
||||||
\fBdig dnskey example.com | dnssec\-dsfromkey \-f \- example.com\fP
|
\fBdig dnskey example.com | dnssec\-dsfromkey \-f \- example.com\fP
|
||||||
.TP
|
.TP
|
||||||
\fB\-h\fP
|
.B \fB\-h\fP
|
||||||
Prints usage information.
|
This option prints usage information.
|
||||||
.TP
|
.TP
|
||||||
\fB\-K\fP directory
|
.B \fB\-K directory\fP
|
||||||
Look for key files or \fBkeyset\-\fP files in \fBdirectory\fP\&.
|
This option tells BIND 9 to look for key files or \fBkeyset\-\fP files in \fBdirectory\fP\&.
|
||||||
.TP
|
.TP
|
||||||
\fB\-s\fP
|
.B \fB\-s\fP
|
||||||
Keyset mode: \fBdnssec\-dsfromkey\fP\(aqs final dnsname argument is the DNS
|
This option enables keyset mode, in which the final dnsname argument from \fBdnssec\-dsfromkey\fP is the DNS
|
||||||
domain name used to locate a \fBkeyset\-\fP file.
|
domain name used to locate a \fBkeyset\-\fP file.
|
||||||
.TP
|
.TP
|
||||||
\fB\-T\fP TTL
|
.B \fB\-T TTL\fP
|
||||||
Specifies the TTL of the DS records. By default the TTL is omitted.
|
This option specifies the TTL of the DS records. By default the TTL is omitted.
|
||||||
.TP
|
.TP
|
||||||
\fB\-v\fP level
|
.B \fB\-v level\fP
|
||||||
Sets the debugging level.
|
This option sets the debugging level.
|
||||||
.TP
|
.TP
|
||||||
\fB\-V\fP
|
.B \fB\-V\fP
|
||||||
Prints version information.
|
This option prints version information.
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.SH EXAMPLE
|
.SH EXAMPLE
|
||||||
.sp
|
.sp
|
||||||
To build the SHA\-256 DS RR from the \fBKexample.com.+003+26160\fP keyfile
|
To build the SHA\-256 DS RR from the \fBKexample.com.+003+26160\fP keyfile,
|
||||||
name, you can issue the following command:
|
issue the following command:
|
||||||
.sp
|
.sp
|
||||||
\fBdnssec\-dsfromkey \-2 Kexample.com.+003+26160\fP
|
\fBdnssec\-dsfromkey \-2 Kexample.com.+003+26160\fP
|
||||||
.sp
|
.sp
|
||||||
The command would print something like:
|
The command returns something similar to:
|
||||||
.sp
|
.sp
|
||||||
\fBexample.com. IN DS 26160 5 2 3A1EADA7A74B8D0BA86726B0C227AA85AB8BBD2B2004F41A868A54F0C5EA0B94\fP
|
\fBexample.com. IN DS 26160 5 2 3A1EADA7A74B8D0BA86726B0C227AA85AB8BBD2B2004F41A868A54F0C5EA0B94\fP
|
||||||
.SH FILES
|
.SH FILES
|
||||||
.sp
|
.sp
|
||||||
The keyfile can be designated by the key identification
|
The keyfile can be designated by the key identification
|
||||||
\fBKnnnn.+aaa+iiiii\fP or the full file name \fBKnnnn.+aaa+iiiii.key\fP as
|
\fBKnnnn.+aaa+iiiii\fP or the full file name \fBKnnnn.+aaa+iiiii.key\fP, as
|
||||||
generated by dnssec\-keygen8.
|
generated by \fBdnssec\-keygen\fP\&.
|
||||||
.sp
|
.sp
|
||||||
The keyset file name is built from the \fBdirectory\fP, the string
|
The keyset file name is built from the \fBdirectory\fP, the string
|
||||||
\fBkeyset\-\fP and the \fBdnsname\fP\&.
|
\fBkeyset\-\fP, and the \fBdnsname\fP\&.
|
||||||
.SH CAVEAT
|
.SH CAVEAT
|
||||||
.sp
|
.sp
|
||||||
A keyfile error can give a "file not found" even if the file exists.
|
A keyfile error may return "file not found," even if the file exists.
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
.sp
|
.sp
|
||||||
\fBdnssec\-keygen(8)\fP, \fBdnssec\-signzone(8)\fP, BIND 9 Administrator Reference Manual,
|
\fBdnssec\-keygen(8)\fP, \fBdnssec\-signzone(8)\fP, BIND 9 Administrator Reference Manual,
|
||||||
|
@@ -39,11 +39,11 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
|||||||
.sp
|
.sp
|
||||||
\fBdnssec\-importkey\fP reads a public DNSKEY record and generates a pair
|
\fBdnssec\-importkey\fP reads a public DNSKEY record and generates a pair
|
||||||
of .key/.private files. The DNSKEY record may be read from an existing
|
of .key/.private files. The DNSKEY record may be read from an existing
|
||||||
\&.key file, in which case a corresponding .private file will be
|
\&.key file, in which case a corresponding .private file is
|
||||||
generated, or it may be read from any other file or from the standard
|
generated, or it may be read from any other file or from the standard
|
||||||
input, in which case both .key and .private files will be generated.
|
input, in which case both .key and .private files are generated.
|
||||||
.sp
|
.sp
|
||||||
The newly\-created .private file does \fInot\fP contain private key data, and
|
The newly created .private file does \fInot\fP contain private key data, and
|
||||||
cannot be used for signing. However, having a .private file makes it
|
cannot be used for signing. However, having a .private file makes it
|
||||||
possible to set publication (\fB\-P\fP) and deletion (\fB\-D\fP) times for the
|
possible to set publication (\fB\-P\fP) and deletion (\fB\-D\fP) times for the
|
||||||
key, which means the public key can be added to and removed from the
|
key, which means the public key can be added to and removed from the
|
||||||
@@ -51,69 +51,69 @@ DNSKEY RRset on schedule even if the true private key is stored offline.
|
|||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.INDENT 0.0
|
.INDENT 0.0
|
||||||
.TP
|
.TP
|
||||||
\fB\-f\fP filename
|
.B \fB\-f filename\fP
|
||||||
Zone file mode: instead of a public keyfile name, the argument is the
|
This option indicates the zone file mode. Instead of a public keyfile name, the argument is the
|
||||||
DNS domain name of a zone master file, which can be read from
|
DNS domain name of a zone master file, which can be read from
|
||||||
\fBfile\fP\&. If the domain name is the same as \fBfile\fP, then it may be
|
\fBfilename\fP\&. If the domain name is the same as \fBfilename\fP, then it may be
|
||||||
omitted.
|
omitted.
|
||||||
.sp
|
.sp
|
||||||
If \fBfile\fP is set to \fB"\-"\fP, then the zone data is read from the
|
If \fBfilename\fP is set to \fB"\-"\fP, then the zone data is read from the
|
||||||
standard input.
|
standard input.
|
||||||
.TP
|
.TP
|
||||||
\fB\-K\fP directory
|
.B \fB\-K directory\fP
|
||||||
Sets the directory in which the key files are to reside.
|
This option sets the directory in which the key files are to reside.
|
||||||
.TP
|
.TP
|
||||||
\fB\-L\fP ttl
|
.B \fB\-L ttl\fP
|
||||||
Sets the default TTL to use for this key when it is converted into a
|
This option sets the default TTL to use for this key when it is converted into a
|
||||||
DNSKEY RR. If the key is imported into a zone, this is the TTL that
|
DNSKEY RR. This is the TTL used when the key is imported into a zone,
|
||||||
will be used for it, unless there was already a DNSKEY RRset in
|
unless there was already a DNSKEY RRset in
|
||||||
place, in which case the existing TTL would take precedence. Setting
|
place, in which case the existing TTL takes precedence. Setting the default TTL to \fB0\fP or \fBnone\fP
|
||||||
the default TTL to \fB0\fP or \fBnone\fP removes it.
|
removes it from the key.
|
||||||
.TP
|
.TP
|
||||||
\fB\-h\fP
|
.B \fB\-h\fP
|
||||||
Emit usage message and exit.
|
This option emits a usage message and exits.
|
||||||
.TP
|
.TP
|
||||||
\fB\-v\fP level
|
.B \fB\-v level\fP
|
||||||
Sets the debugging level.
|
This option sets the debugging level.
|
||||||
.TP
|
.TP
|
||||||
\fB\-V\fP
|
.B \fB\-V\fP
|
||||||
Prints version information.
|
This option prints version information.
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.SH TIMING OPTIONS
|
.SH TIMING OPTIONS
|
||||||
.sp
|
.sp
|
||||||
Dates can be expressed in the format YYYYMMDD or YYYYMMDDHHMMSS. If the
|
Dates can be expressed in the format YYYYMMDD or YYYYMMDDHHMMSS. If the
|
||||||
argument begins with a \(aq+\(aq or \(aq\-\(aq, it is interpreted as an offset from
|
argument begins with a \fB+\fP or \fB\-\fP, it is interpreted as an offset from
|
||||||
the present time. For convenience, if such an offset is followed by one
|
the present time. For convenience, if such an offset is followed by one
|
||||||
of the suffixes \(aqy\(aq, \(aqmo\(aq, \(aqw\(aq, \(aqd\(aq, \(aqh\(aq, or \(aqmi\(aq, then the offset is
|
of the suffixes \fBy\fP, \fBmo\fP, \fBw\fP, \fBd\fP, \fBh\fP, or \fBmi\fP, then the offset is
|
||||||
computed in years (defined as 365 24\-hour days, ignoring leap years),
|
computed in years (defined as 365 24\-hour days, ignoring leap years),
|
||||||
months (defined as 30 24\-hour days), weeks, days, hours, or minutes,
|
months (defined as 30 24\-hour days), weeks, days, hours, or minutes,
|
||||||
respectively. Without a suffix, the offset is computed in seconds. To
|
respectively. Without a suffix, the offset is computed in seconds. To
|
||||||
explicitly prevent a date from being set, use \(aqnone\(aq or \(aqnever\(aq.
|
explicitly prevent a date from being set, use \fBnone\fP or \fBnever\fP\&.
|
||||||
.INDENT 0.0
|
.INDENT 0.0
|
||||||
.TP
|
.TP
|
||||||
\fB\-P\fP date/offset
|
.B \fB\-P date/offset\fP
|
||||||
Sets the date on which a key is to be published to the zone. After
|
This option sets the date on which a key is to be published to the zone. After
|
||||||
that date, the key will be included in the zone but will not be used
|
that date, the key is included in the zone but is not used
|
||||||
to sign it.
|
to sign it.
|
||||||
.TP
|
.TP
|
||||||
\fB\-P\fP sync date/offset
|
.B \fB\-P sync date/offset\fP
|
||||||
Sets the date on which CDS and CDNSKEY records that match this key
|
This option sets the date on which CDS and CDNSKEY records that match this key
|
||||||
are to be published to the zone.
|
are to be published to the zone.
|
||||||
.TP
|
.TP
|
||||||
\fB\-D\fP date/offset
|
.B \fB\-D date/offset\fP
|
||||||
Sets the date on which the key is to be deleted. After that date, the
|
This option sets the date on which the key is to be deleted. After that date, the
|
||||||
key will no longer be included in the zone. (It may remain in the key
|
key is no longer included in the zone. (However, it may remain in the key
|
||||||
repository, however.)
|
repository.)
|
||||||
.TP
|
.TP
|
||||||
\fB\-D\fP sync date/offset
|
.B \fB\-D sync date/offset\fP
|
||||||
Sets the date on which the CDS and CDNSKEY records that match this
|
This option sets the date on which the CDS and CDNSKEY records that match this
|
||||||
key are to be deleted.
|
key are to be deleted.
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.SH FILES
|
.SH FILES
|
||||||
.sp
|
.sp
|
||||||
A keyfile can be designed by the key identification \fBKnnnn.+aaa+iiiii\fP
|
A keyfile can be designed by the key identification \fBKnnnn.+aaa+iiiii\fP
|
||||||
or the full file name \fBKnnnn.+aaa+iiiii.key\fP as generated by
|
or the full file name \fBKnnnn.+aaa+iiiii.key\fP, as generated by
|
||||||
dnssec\-keygen8.
|
\fBdnssec\-keygen\fP\&.
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
.sp
|
.sp
|
||||||
\fBdnssec\-keygen(8)\fP, \fBdnssec\-signzone(8)\fP, BIND 9 Administrator Reference Manual,
|
\fBdnssec\-keygen(8)\fP, \fBdnssec\-signzone(8)\fP, BIND 9 Administrator Reference Manual,
|
||||||
|
@@ -35,11 +35,11 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
|||||||
\fBdnssec\-keyfromlabel\fP {\fB\-l\fP label} [\fB\-3\fP] [\fB\-a\fP algorithm] [\fB\-A\fP date/offset] [\fB\-c\fP class] [\fB\-D\fP date/offset] [\fB\-D\fP sync date/offset] [\fB\-E\fP engine] [\fB\-f\fP flag] [\fB\-G\fP] [\fB\-I\fP date/offset] [\fB\-i\fP interval] [\fB\-k\fP] [\fB\-K\fP directory] [\fB\-L\fP ttl] [\fB\-n\fP nametype] [\fB\-P\fP date/offset] [\fB\-P\fP sync date/offset] [\fB\-p\fP protocol] [\fB\-R\fP date/offset] [\fB\-S\fP key] [\fB\-t\fP type] [\fB\-v\fP level] [\fB\-V\fP] [\fB\-y\fP] {name}
|
\fBdnssec\-keyfromlabel\fP {\fB\-l\fP label} [\fB\-3\fP] [\fB\-a\fP algorithm] [\fB\-A\fP date/offset] [\fB\-c\fP class] [\fB\-D\fP date/offset] [\fB\-D\fP sync date/offset] [\fB\-E\fP engine] [\fB\-f\fP flag] [\fB\-G\fP] [\fB\-I\fP date/offset] [\fB\-i\fP interval] [\fB\-k\fP] [\fB\-K\fP directory] [\fB\-L\fP ttl] [\fB\-n\fP nametype] [\fB\-P\fP date/offset] [\fB\-P\fP sync date/offset] [\fB\-p\fP protocol] [\fB\-R\fP date/offset] [\fB\-S\fP key] [\fB\-t\fP type] [\fB\-v\fP level] [\fB\-V\fP] [\fB\-y\fP] {name}
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.sp
|
.sp
|
||||||
\fBdnssec\-keyfromlabel\fP generates a key pair of files that referencing a
|
\fBdnssec\-keyfromlabel\fP generates a pair of key files that reference a
|
||||||
key object stored in a cryptographic hardware service module (HSM). The
|
key object stored in a cryptographic hardware service module (HSM). The
|
||||||
private key file can be used for DNSSEC signing of zone data as if it
|
private key file can be used for DNSSEC signing of zone data as if it
|
||||||
were a conventional signing key created by \fBdnssec\-keygen\fP, but the
|
were a conventional signing key created by \fBdnssec\-keygen\fP, but the
|
||||||
key material is stored within the HSM, and the actual signing takes
|
key material is stored within the HSM and the actual signing takes
|
||||||
place there.
|
place there.
|
||||||
.sp
|
.sp
|
||||||
The \fBname\fP of the key is specified on the command line. This must
|
The \fBname\fP of the key is specified on the command line. This must
|
||||||
@@ -47,194 +47,194 @@ match the name of the zone for which the key is being generated.
|
|||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.INDENT 0.0
|
.INDENT 0.0
|
||||||
.TP
|
.TP
|
||||||
\fB\-a\fP algorithm
|
.B \fB\-a algorithm\fP
|
||||||
Selects the cryptographic algorithm. The value of \fBalgorithm\fP must
|
This option selects the cryptographic algorithm. The value of \fBalgorithm\fP must
|
||||||
be one of RSASHA1, NSEC3RSASHA1, RSASHA256, RSASHA512,
|
be one of RSASHA1, NSEC3RSASHA1, RSASHA256, RSASHA512,
|
||||||
ECDSAP256SHA256, ECDSAP384SHA384, ED25519 or ED448.
|
ECDSAP256SHA256, ECDSAP384SHA384, ED25519, or ED448.
|
||||||
.sp
|
.sp
|
||||||
If no algorithm is specified, then RSASHA1 will be used by default,
|
If no algorithm is specified, RSASHA1 is used by default
|
||||||
unless the \fB\-3\fP option is specified, in which case NSEC3RSASHA1
|
unless the \fB\-3\fP option is specified, in which case NSEC3RSASHA1
|
||||||
will be used instead. (If \fB\-3\fP is used and an algorithm is
|
is used instead. (If \fB\-3\fP is used and an algorithm is
|
||||||
specified, that algorithm will be checked for compatibility with
|
specified, that algorithm is checked for compatibility with
|
||||||
NSEC3.)
|
NSEC3.)
|
||||||
.sp
|
.sp
|
||||||
These values are case insensitive. In some cases, abbreviations are
|
These values are case\-insensitive. In some cases, abbreviations are
|
||||||
supported, such as ECDSA256 for ECDSAP256SHA256 and ECDSA384 for
|
supported, such as ECDSA256 for ECDSAP256SHA256 and ECDSA384 for
|
||||||
ECDSAP384SHA384. If RSASHA1 is specified along with the \fB\-3\fP
|
ECDSAP384SHA384. If RSASHA1 is specified along with the \fB\-3\fP
|
||||||
option, then NSEC3RSASHA1 will be used instead.
|
option, then NSEC3RSASHA1 is used instead.
|
||||||
.sp
|
.sp
|
||||||
As of BIND 9.12.0, this option is mandatory except when using the
|
Since BIND 9.12.0, this option is mandatory except when using the
|
||||||
\fB\-S\fP option (which copies the algorithm from the predecessory key).
|
\fB\-S\fP option, which copies the algorithm from the predecessory key.
|
||||||
Previously, the default for newly generated keys was RSASHA1.
|
Previously, the default for newly generated keys was RSASHA1.
|
||||||
.TP
|
.TP
|
||||||
\fB\-3\fP
|
.B \fB\-3\fP
|
||||||
Use an NSEC3\-capable algorithm to generate a DNSSEC key. If this
|
This option uses an NSEC3\-capable algorithm to generate a DNSSEC key. If this
|
||||||
option is used with an algorithm that has both NSEC and NSEC3
|
option is used with an algorithm that has both NSEC and NSEC3
|
||||||
versions, then the NSEC3 version will be used; for example,
|
versions, then the NSEC3 version is used; for example,
|
||||||
\fBdnssec\-keygen \-3a RSASHA1\fP specifies the NSEC3RSASHA1 algorithm.
|
\fBdnssec\-keygen \-3a RSASHA1\fP specifies the NSEC3RSASHA1 algorithm.
|
||||||
.TP
|
.TP
|
||||||
\fB\-E\fP engine
|
.B \fB\-E engine\fP
|
||||||
Specifies the cryptographic hardware to use.
|
This option specifies the cryptographic hardware to use.
|
||||||
.sp
|
.sp
|
||||||
When BIND is built with OpenSSL PKCS#11 support, this defaults to the
|
When BIND 9 is built with OpenSSL PKCS#11 support, this defaults to the
|
||||||
string "pkcs11", which identifies an OpenSSL engine that can drive a
|
string \fBpkcs11\fP, which identifies an OpenSSL engine that can drive a
|
||||||
cryptographic accelerator or hardware service module. When BIND is
|
cryptographic accelerator or hardware service module. When BIND is
|
||||||
built with native PKCS#11 cryptography (\-\-enable\-native\-pkcs11), it
|
built with native PKCS#11 cryptography (\fB\-\-enable\-native\-pkcs11\fP), it
|
||||||
defaults to the path of the PKCS#11 provider library specified via
|
defaults to the path of the PKCS#11 provider library specified via
|
||||||
"\-\-with\-pkcs11".
|
\fB\-\-with\-pkcs11\fP\&.
|
||||||
.TP
|
.TP
|
||||||
\fB\-l\fP label
|
.B \fB\-l label\fP
|
||||||
Specifies the label for a key pair in the crypto hardware.
|
This option specifies the label for a key pair in the crypto hardware.
|
||||||
.sp
|
.sp
|
||||||
When BIND 9 is built with OpenSSL\-based PKCS#11 support, the label is
|
When BIND 9 is built with OpenSSL\-based PKCS#11 support, the label is
|
||||||
an arbitrary string that identifies a particular key. It may be
|
an arbitrary string that identifies a particular key. It may be
|
||||||
preceded by an optional OpenSSL engine name, followed by a colon, as
|
preceded by an optional OpenSSL engine name, followed by a colon, as
|
||||||
in "pkcs11:keylabel".
|
in \fBpkcs11:keylabel\fP\&.
|
||||||
.sp
|
.sp
|
||||||
When BIND 9 is built with native PKCS#11 support, the label is a
|
When BIND 9 is built with native PKCS#11 support, the label is a
|
||||||
PKCS#11 URI string in the format
|
PKCS#11 URI string in the format
|
||||||
"pkcs11:\fBkeyword\fP=value[;\fBkeyword\fP=value;...]" Keywords
|
\fBpkcs11:keyword\e =value[;\e keyword\e =value;...]\fP\&. Keywords
|
||||||
include "token", which identifies the HSM; "object", which identifies
|
include \fBtoken\fP, which identifies the HSM; \fBobject\fP, which identifies
|
||||||
the key; and "pin\-source", which identifies a file from which the
|
the key; and \fBpin\-source\fP, which identifies a file from which the
|
||||||
HSM\(aqs PIN code can be obtained. The label will be stored in the
|
HSM\(aqs PIN code can be obtained. The label is stored in the
|
||||||
on\-disk "private" file.
|
on\-disk \fBprivate\fP file.
|
||||||
.sp
|
.sp
|
||||||
If the label contains a \fBpin\-source\fP field, tools using the
|
If the label contains a \fBpin\-source\fP field, tools using the
|
||||||
generated key files will be able to use the HSM for signing and other
|
generated key files are able to use the HSM for signing and other
|
||||||
operations without any need for an operator to manually enter a PIN.
|
operations without any need for an operator to manually enter a PIN.
|
||||||
Note: Making the HSM\(aqs PIN accessible in this manner may reduce the
|
Note: Making the HSM\(aqs PIN accessible in this manner may reduce the
|
||||||
security advantage of using an HSM; be sure this is what you want to
|
security advantage of using an HSM; use caution
|
||||||
do before making use of this feature.
|
with this feature.
|
||||||
.TP
|
.TP
|
||||||
\fB\-n\fP nametype
|
.B \fB\-n nametype\fP
|
||||||
Specifies the owner type of the key. The value of \fBnametype\fP must
|
This option specifies the owner type of the key. The value of \fBnametype\fP must
|
||||||
either be ZONE (for a DNSSEC zone key (KEY/DNSKEY)), HOST or ENTITY
|
either be ZONE (for a DNSSEC zone key (KEY/DNSKEY)), HOST or ENTITY
|
||||||
(for a key associated with a host (KEY)), USER (for a key associated
|
(for a key associated with a host (KEY)), USER (for a key associated
|
||||||
with a user(KEY)) or OTHER (DNSKEY). These values are case
|
with a user (KEY)), or OTHER (DNSKEY). These values are
|
||||||
insensitive.
|
case\-insensitive.
|
||||||
.TP
|
.TP
|
||||||
\fB\-C\fP
|
.B \fB\-C\fP
|
||||||
Compatibility mode: generates an old\-style key, without any metadata.
|
This option enables compatibility mode, which generates an old\-style key, without any metadata.
|
||||||
By default, \fBdnssec\-keyfromlabel\fP will include the key\(aqs creation
|
By default, \fBdnssec\-keyfromlabel\fP includes the key\(aqs creation
|
||||||
date in the metadata stored with the private key, and other dates may
|
date in the metadata stored with the private key; other dates may
|
||||||
be set there as well (publication date, activation date, etc). Keys
|
be set there as well, including publication date, activation date, etc. Keys
|
||||||
that include this data may be incompatible with older versions of
|
that include this data may be incompatible with older versions of
|
||||||
BIND; the \fB\-C\fP option suppresses them.
|
BIND; the \fB\-C\fP option suppresses them.
|
||||||
.TP
|
.TP
|
||||||
\fB\-c\fP class
|
.B \fB\-c class\fP
|
||||||
Indicates that the DNS record containing the key should have the
|
This option indicates that the DNS record containing the key should have the
|
||||||
specified class. If not specified, class IN is used.
|
specified class. If not specified, class IN is used.
|
||||||
.TP
|
.TP
|
||||||
\fB\-f\fP flag
|
.B \fB\-f flag\fP
|
||||||
Set the specified flag in the flag field of the KEY/DNSKEY record.
|
This option sets the specified flag in the \fBflag\fP field of the KEY/DNSKEY record.
|
||||||
The only recognized flags are KSK (Key Signing Key) and REVOKE.
|
The only recognized flags are KSK (Key\-Signing Key) and REVOKE.
|
||||||
.TP
|
.TP
|
||||||
\fB\-G\fP
|
.B \fB\-G\fP
|
||||||
Generate a key, but do not publish it or sign with it. This option is
|
This option generates a key, but does not publish it or sign with it. This option is
|
||||||
incompatible with \-P and \-A.
|
incompatible with \fB\-P\fP and \fB\-A\fP\&.
|
||||||
.TP
|
.TP
|
||||||
\fB\-h\fP
|
.B \fB\-h\fP
|
||||||
Prints a short summary of the options and arguments to
|
This option prints a short summary of the options and arguments to
|
||||||
\fBdnssec\-keyfromlabel\fP\&.
|
\fBdnssec\-keyfromlabel\fP\&.
|
||||||
.TP
|
.TP
|
||||||
\fB\-K\fP directory
|
.B \fB\-K directory\fP
|
||||||
Sets the directory in which the key files are to be written.
|
This option sets the directory in which the key files are to be written.
|
||||||
.TP
|
.TP
|
||||||
\fB\-k\fP
|
.B \fB\-k\fP
|
||||||
Generate KEY records rather than DNSKEY records.
|
This option generates KEY records rather than DNSKEY records.
|
||||||
.TP
|
.TP
|
||||||
\fB\-L\fP ttl
|
.B \fB\-L\fP ttl
|
||||||
Sets the default TTL to use for this key when it is converted into a
|
This option sets the default TTL to use for this key when it is converted into a
|
||||||
DNSKEY RR. If the key is imported into a zone, this is the TTL that
|
DNSKEY RR. This is the TTL used when the key is imported into a zone,
|
||||||
will be used for it, unless there was already a DNSKEY RRset in
|
unless there was already a DNSKEY RRset in
|
||||||
place, in which case the existing TTL would take precedence. Setting
|
place, in which case the existing TTL would take precedence. Setting
|
||||||
the default TTL to \fB0\fP or \fBnone\fP removes it.
|
the default TTL to \fB0\fP or \fBnone\fP removes it.
|
||||||
.TP
|
.TP
|
||||||
\fB\-p\fP protocol
|
.B \fB\-p protocol\fP
|
||||||
Sets the protocol value for the key. The protocol is a number between
|
This option sets the protocol value for the key. The protocol is a number between
|
||||||
0 and 255. The default is 3 (DNSSEC). Other possible values for this
|
0 and 255. The default is 3 (DNSSEC). Other possible values for this
|
||||||
argument are listed in \fI\%RFC 2535\fP and its successors.
|
argument are listed in \fI\%RFC 2535\fP and its successors.
|
||||||
.TP
|
.TP
|
||||||
\fB\-S\fP key
|
.B \fB\-S key\fP
|
||||||
Generate a key as an explicit successor to an existing key. The name,
|
This option generates a key as an explicit successor to an existing key. The name,
|
||||||
algorithm, size, and type of the key will be set to match the
|
algorithm, size, and type of the key are set to match the
|
||||||
predecessor. The activation date of the new key will be set to the
|
predecessor. The activation date of the new key is set to the
|
||||||
inactivation date of the existing one. The publication date will be
|
inactivation date of the existing one. The publication date is
|
||||||
set to the activation date minus the prepublication interval, which
|
set to the activation date minus the prepublication interval, which
|
||||||
defaults to 30 days.
|
defaults to 30 days.
|
||||||
.TP
|
.TP
|
||||||
\fB\-t\fP type
|
.B \fB\-t type\fP
|
||||||
Indicates the use of the key. \fBtype\fP must be one of AUTHCONF,
|
This option indicates the type of the key. \fBtype\fP must be one of AUTHCONF,
|
||||||
NOAUTHCONF, NOAUTH, or NOCONF. The default is AUTHCONF. AUTH refers
|
NOAUTHCONF, NOAUTH, or NOCONF. The default is AUTHCONF. AUTH refers
|
||||||
to the ability to authenticate data, and CONF the ability to encrypt
|
to the ability to authenticate data, and CONF to the ability to encrypt
|
||||||
data.
|
data.
|
||||||
.TP
|
.TP
|
||||||
\fB\-v\fP level
|
.B \fB\-v level\fP
|
||||||
Sets the debugging level.
|
This option sets the debugging level.
|
||||||
.TP
|
.TP
|
||||||
\fB\-V\fP
|
.B \fB\-V\fP
|
||||||
Prints version information.
|
This option prints version information.
|
||||||
.TP
|
.TP
|
||||||
\fB\-y\fP
|
.B \fB\-y\fP
|
||||||
Allows DNSSEC key files to be generated even if the key ID would
|
This option allows DNSSEC key files to be generated even if the key ID would
|
||||||
collide with that of an existing key, in the event of either key
|
collide with that of an existing key, in the event of either key
|
||||||
being revoked. (This is only safe to use if you are sure you won\(aqt be
|
being revoked. (This is only safe to enable if
|
||||||
using \fI\%RFC 5011\fP trust anchor maintenance with either of the keys
|
\fI\%RFC 5011\fP trust anchor maintenance is not used with either of the keys
|
||||||
involved.)
|
involved.)
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.SH TIMING OPTIONS
|
.SH TIMING OPTIONS
|
||||||
.sp
|
.sp
|
||||||
Dates can be expressed in the format YYYYMMDD or YYYYMMDDHHMMSS. If the
|
Dates can be expressed in the format YYYYMMDD or YYYYMMDDHHMMSS. If the
|
||||||
argument begins with a \(aq+\(aq or \(aq\-\(aq, it is interpreted as an offset from
|
argument begins with a \fB+\fP or \fB\-\fP, it is interpreted as an offset from
|
||||||
the present time. For convenience, if such an offset is followed by one
|
the present time. For convenience, if such an offset is followed by one
|
||||||
of the suffixes \(aqy\(aq, \(aqmo\(aq, \(aqw\(aq, \(aqd\(aq, \(aqh\(aq, or \(aqmi\(aq, then the offset is
|
of the suffixes \fBy\fP, \fBmo\fP, \fBw\fP, \fBd\fP, \fBh\fP, or \fBmi\fP, then the offset is
|
||||||
computed in years (defined as 365 24\-hour days, ignoring leap years),
|
computed in years (defined as 365 24\-hour days, ignoring leap years),
|
||||||
months (defined as 30 24\-hour days), weeks, days, hours, or minutes,
|
months (defined as 30 24\-hour days), weeks, days, hours, or minutes,
|
||||||
respectively. Without a suffix, the offset is computed in seconds. To
|
respectively. Without a suffix, the offset is computed in seconds. To
|
||||||
explicitly prevent a date from being set, use \(aqnone\(aq or \(aqnever\(aq.
|
explicitly prevent a date from being set, use \fBnone\fP or \fBnever\fP\&.
|
||||||
.INDENT 0.0
|
.INDENT 0.0
|
||||||
.TP
|
.TP
|
||||||
\fB\-P\fP date/offset
|
.B \fB\-P date/offset\fP
|
||||||
Sets the date on which a key is to be published to the zone. After
|
This option sets the date on which a key is to be published to the zone. After
|
||||||
that date, the key will be included in the zone but will not be used
|
that date, the key is included in the zone but is not used
|
||||||
to sign it. If not set, and if the \-G option has not been used, the
|
to sign it. If not set, and if the \fB\-G\fP option has not been used, the
|
||||||
default is "now".
|
default is the current date.
|
||||||
.TP
|
.TP
|
||||||
\fB\-P\fP sync date/offset
|
.B \fB\-P sync date/offset\fP
|
||||||
Sets the date on which the CDS and CDNSKEY records which match this
|
This option sets the date on which CDS and CDNSKEY records that match this key
|
||||||
key are to be published to the zone.
|
are to be published to the zone.
|
||||||
.TP
|
.TP
|
||||||
\fB\-A\fP date/offset
|
.B \fB\-A date/offset\fP
|
||||||
Sets the date on which the key is to be activated. After that date,
|
This option sets the date on which the key is to be activated. After that date,
|
||||||
the key will be included in the zone and used to sign it. If not set,
|
the key is included in the zone and used to sign it. If not set,
|
||||||
and if the \-G option has not been used, the default is "now".
|
and if the \fB\-G\fP option has not been used, the default is the current date.
|
||||||
.TP
|
.TP
|
||||||
\fB\-R\fP date/offset
|
.B \fB\-R date/offset\fP
|
||||||
Sets the date on which the key is to be revoked. After that date, the
|
This option sets the date on which the key is to be revoked. After that date, the
|
||||||
key will be flagged as revoked. It will be included in the zone and
|
key is flagged as revoked. It is included in the zone and
|
||||||
will be used to sign it.
|
is used to sign it.
|
||||||
.TP
|
.TP
|
||||||
\fB\-I\fP date/offset
|
.B \fB\-I date/offset\fP
|
||||||
Sets the date on which the key is to be retired. After that date, the
|
This option sets the date on which the key is to be retired. After that date, the
|
||||||
key will still be included in the zone, but it will not be used to
|
key is still included in the zone, but it is not used to
|
||||||
sign it.
|
sign it.
|
||||||
.TP
|
.TP
|
||||||
\fB\-D\fP date/offset
|
.B \fB\-D date/offset\fP
|
||||||
Sets the date on which the key is to be deleted. After that date, the
|
This option sets the date on which the key is to be deleted. After that date, the
|
||||||
key will no longer be included in the zone. (It may remain in the key
|
key is no longer included in the zone. (However, it may remain in the key
|
||||||
repository, however.)
|
repository.)
|
||||||
.TP
|
.TP
|
||||||
\fB\-D\fP sync date/offset
|
.B \fB\-D sync date/offset\fP
|
||||||
Sets the date on which the CDS and CDNSKEY records which match this
|
This option sets the date on which the CDS and CDNSKEY records that match this
|
||||||
key are to be deleted.
|
key are to be deleted.
|
||||||
.TP
|
.TP
|
||||||
\fB\-i\fP interval
|
.B \fB\-i interval\fP
|
||||||
Sets the prepublication interval for a key. If set, then the
|
This option sets the prepublication interval for a key. If set, then the
|
||||||
publication and activation dates must be separated by at least this
|
publication and activation dates must be separated by at least this
|
||||||
much time. If the activation date is specified but the publication
|
much time. If the activation date is specified but the publication
|
||||||
date isn\(aqt, then the publication date will default to this much time
|
date is not, the publication date defaults to this much time
|
||||||
before the activation date; conversely, if the publication date is
|
before the activation date; conversely, if the publication date is
|
||||||
specified but activation date isn\(aqt, then activation will be set to
|
specified but not the activation date, activation is set to
|
||||||
this much time after publication.
|
this much time after publication.
|
||||||
.sp
|
.sp
|
||||||
If the key is being created as an explicit successor to another key,
|
If the key is being created as an explicit successor to another key,
|
||||||
@@ -242,7 +242,7 @@ then the default prepublication interval is 30 days; otherwise it is
|
|||||||
zero.
|
zero.
|
||||||
.sp
|
.sp
|
||||||
As with date offsets, if the argument is followed by one of the
|
As with date offsets, if the argument is followed by one of the
|
||||||
suffixes \(aqy\(aq, \(aqmo\(aq, \(aqw\(aq, \(aqd\(aq, \(aqh\(aq, or \(aqmi\(aq, then the interval is
|
suffixes \fBy\fP, \fBmo\fP, \fBw\fP, \fBd\fP, \fBh\fP, or \fBmi\fP, the interval is
|
||||||
measured in years, months, weeks, days, hours, or minutes,
|
measured in years, months, weeks, days, hours, or minutes,
|
||||||
respectively. Without a suffix, the interval is measured in seconds.
|
respectively. Without a suffix, the interval is measured in seconds.
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
@@ -265,14 +265,14 @@ printed string. \fBKnnnn.+aaa+iiiii.key\fP contains the public key, and
|
|||||||
\fBKnnnn.+aaa+iiiii.private\fP contains the private key.
|
\fBKnnnn.+aaa+iiiii.private\fP contains the private key.
|
||||||
.sp
|
.sp
|
||||||
The \fB\&.key\fP file contains a DNS KEY record that can be inserted into a
|
The \fB\&.key\fP file contains a DNS KEY record that can be inserted into a
|
||||||
zone file (directly or with a $INCLUDE statement).
|
zone file (directly or with an $INCLUDE statement).
|
||||||
.sp
|
.sp
|
||||||
The \fB\&.private\fP file contains algorithm\-specific fields. For obvious
|
The \fB\&.private\fP file contains algorithm\-specific fields. For obvious
|
||||||
security reasons, this file does not have general read permission.
|
security reasons, this file does not have general read permission.
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
.sp
|
.sp
|
||||||
\fBdnssec\-keygen(8)\fP, \fBdnssec\-signzone(8)\fP, BIND 9 Administrator Reference Manual,
|
\fBdnssec\-keygen(8)\fP, \fBdnssec\-signzone(8)\fP, BIND 9 Administrator Reference Manual,
|
||||||
\fI\%RFC 4034\fP, The PKCS#11 URI Scheme (draft\-pechanec\-pkcs11uri\-13).
|
\fI\%RFC 4034\fP, \fI\%RFC 7512\fP\&.
|
||||||
.SH AUTHOR
|
.SH AUTHOR
|
||||||
Internet Systems Consortium
|
Internet Systems Consortium
|
||||||
.SH COPYRIGHT
|
.SH COPYRIGHT
|
||||||
|
@@ -46,220 +46,220 @@ generated.
|
|||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.INDENT 0.0
|
.INDENT 0.0
|
||||||
.TP
|
.TP
|
||||||
\fB\-3\fP
|
.B \fB\-3\fP
|
||||||
Use an NSEC3\-capable algorithm to generate a DNSSEC key. If this
|
This option uses an NSEC3\-capable algorithm to generate a DNSSEC key. If this
|
||||||
option is used with an algorithm that has both NSEC and NSEC3
|
option is used with an algorithm that has both NSEC and NSEC3
|
||||||
versions, then the NSEC3 version will be used; for example,
|
versions, then the NSEC3 version is selected; for example,
|
||||||
\fBdnssec\-keygen \-3a RSASHA1\fP specifies the NSEC3RSASHA1 algorithm.
|
\fBdnssec\-keygen \-3a RSASHA1\fP specifies the NSEC3RSASHA1 algorithm.
|
||||||
.TP
|
.TP
|
||||||
\fB\-a\fP algorithm
|
.B \fB\-a algorithm\fP
|
||||||
Selects the cryptographic algorithm. For DNSSEC keys, the value of
|
This option selects the cryptographic algorithm. For DNSSEC keys, the value of
|
||||||
\fBalgorithm\fP must be one of RSASHA1, NSEC3RSASHA1, RSASHA256,
|
\fBalgorithm\fP must be one of RSASHA1, NSEC3RSASHA1, RSASHA256,
|
||||||
RSASHA512, ECDSAP256SHA256, ECDSAP384SHA384, ED25519 or ED448. For
|
RSASHA512, ECDSAP256SHA256, ECDSAP384SHA384, ED25519, or ED448. For
|
||||||
TKEY, the value must be DH (Diffie Hellman); specifying his value
|
TKEY, the value must be DH (Diffie\-Hellman); specifying this value
|
||||||
will automatically set the \fB\-T KEY\fP option as well.
|
automatically sets the \fB\-T KEY\fP option as well.
|
||||||
.sp
|
.sp
|
||||||
These values are case insensitive. In some cases, abbreviations are
|
These values are case\-insensitive. In some cases, abbreviations are
|
||||||
supported, such as ECDSA256 for ECDSAP256SHA256 and ECDSA384 for
|
supported, such as ECDSA256 for ECDSAP256SHA256 and ECDSA384 for
|
||||||
ECDSAP384SHA384. If RSASHA1 is specified along with the \fB\-3\fP
|
ECDSAP384SHA384. If RSASHA1 is specified along with the \fB\-3\fP
|
||||||
option, then NSEC3RSASHA1 will be used instead.
|
option, NSEC3RSASHA1 is used instead.
|
||||||
.sp
|
.sp
|
||||||
This parameter \fImust\fP be specified except when using the \fB\-S\fP
|
This parameter \fImust\fP be specified except when using the \fB\-S\fP
|
||||||
option, which copies the algorithm from the predecessor key.
|
option, which copies the algorithm from the predecessor key.
|
||||||
.sp
|
.sp
|
||||||
In prior releases, HMAC algorithms could be generated for use as TSIG
|
In prior releases, HMAC algorithms could be generated for use as TSIG
|
||||||
keys, but that feature has been removed as of BIND 9.13.0. Use
|
keys, but that feature was removed in BIND 9.13.0. Use
|
||||||
\fBtsig\-keygen\fP to generate TSIG keys.
|
\fBtsig\-keygen\fP to generate TSIG keys.
|
||||||
.TP
|
.TP
|
||||||
\fB\-b\fP keysize
|
.B \fB\-b keysize\fP
|
||||||
Specifies the number of bits in the key. The choice of key size
|
This option specifies the number of bits in the key. The choice of key size
|
||||||
depends on the algorithm used. RSA keys must be between 1024 and 4096
|
depends on the algorithm used: RSA keys must be between 1024 and 4096
|
||||||
bits. Diffie Hellman keys must be between 128 and 4096 bits. Elliptic
|
bits; Diffie\-Hellman keys must be between 128 and 4096 bits. Elliptic
|
||||||
curve algorithms don\(aqt need this parameter.
|
curve algorithms do not need this parameter.
|
||||||
.sp
|
.sp
|
||||||
If the key size is not specified, some algorithms have pre\-defined
|
If the key size is not specified, some algorithms have pre\-defined
|
||||||
defaults. For example, RSA keys for use as DNSSEC zone signing keys
|
defaults. For example, RSA keys for use as DNSSEC zone\-signing keys
|
||||||
have a default size of 1024 bits; RSA keys for use as key signing
|
have a default size of 1024 bits; RSA keys for use as key\-signing
|
||||||
keys (KSKs, generated with \fB\-f KSK\fP) default to 2048 bits.
|
keys (KSKs, generated with \fB\-f KSK\fP) default to 2048 bits.
|
||||||
.TP
|
.TP
|
||||||
\fB\-C\fP
|
.B \fB\-C\fP
|
||||||
Compatibility mode: generates an old\-style key, without any timing
|
This option enables compatibility mode, which generates an old\-style key, without any timing
|
||||||
metadata. By default, \fBdnssec\-keygen\fP will include the key\(aqs
|
metadata. By default, \fBdnssec\-keygen\fP includes the key\(aqs
|
||||||
creation date in the metadata stored with the private key, and other
|
creation date in the metadata stored with the private key; other
|
||||||
dates may be set there as well (publication date, activation date,
|
dates may be set there as well, including publication date, activation date,
|
||||||
etc). Keys that include this data may be incompatible with older
|
etc. Keys that include this data may be incompatible with older
|
||||||
versions of BIND; the \fB\-C\fP option suppresses them.
|
versions of BIND; the \fB\-C\fP option suppresses them.
|
||||||
.TP
|
.TP
|
||||||
\fB\-c\fP class
|
.B \fB\-c class\fP
|
||||||
Indicates that the DNS record containing the key should have the
|
This option indicates that the DNS record containing the key should have the
|
||||||
specified class. If not specified, class IN is used.
|
specified class. If not specified, class IN is used.
|
||||||
.TP
|
.TP
|
||||||
\fB\-d\fP bits
|
.B \fB\-d bits\fP
|
||||||
Key size in bits. For the algorithms RSASHA1, NSEC3RSASA1, RSASHA256 and
|
This option specifies the key size in bits. For the algorithms RSASHA1, NSEC3RSASA1, RSASHA256, and
|
||||||
RSASHA512 the key size must be in range 1024\-4096. DH size is between 128
|
RSASHA512 the key size must be between 1024 and 4096 bits; DH size is between 128
|
||||||
and 4096. This option is ignored for algorithms ECDSAP256SHA256,
|
and 4096 bits. This option is ignored for algorithms ECDSAP256SHA256,
|
||||||
ECDSAP384SHA384, ED25519 and ED448.
|
ECDSAP384SHA384, ED25519, and ED448.
|
||||||
.TP
|
.TP
|
||||||
\fB\-E\fP engine
|
.B \fB\-E engine\fP
|
||||||
Specifies the cryptographic hardware to use, when applicable.
|
This option specifies the cryptographic hardware to use, when applicable.
|
||||||
.sp
|
.sp
|
||||||
When BIND is built with OpenSSL PKCS#11 support, this defaults to the
|
When BIND is built with OpenSSL PKCS#11 support, this defaults to the
|
||||||
string "pkcs11", which identifies an OpenSSL engine that can drive a
|
string \fBpkcs11\fP, which identifies an OpenSSL engine that can drive a
|
||||||
cryptographic accelerator or hardware service module. When BIND is
|
cryptographic accelerator or hardware service module. When BIND is
|
||||||
built with native PKCS#11 cryptography (\-\-enable\-native\-pkcs11), it
|
built with native PKCS#11 cryptography (\fB\-\-enable\-native\-pkcs11\fP), it
|
||||||
defaults to the path of the PKCS#11 provider library specified via
|
defaults to the path of the PKCS#11 provider library specified via
|
||||||
"\-\-with\-pkcs11".
|
\fB\-\-with\-pkcs11\fP\&.
|
||||||
.TP
|
.TP
|
||||||
\fB\-f\fP flag
|
.B \fB\-f flag\fP
|
||||||
Set the specified flag in the flag field of the KEY/DNSKEY record.
|
This option sets the specified flag in the flag field of the KEY/DNSKEY record.
|
||||||
The only recognized flags are KSK (Key Signing Key) and REVOKE.
|
The only recognized flags are KSK (Key\-Signing Key) and REVOKE.
|
||||||
.TP
|
.TP
|
||||||
\fB\-G\fP
|
.B \fB\-G\fP
|
||||||
Generate a key, but do not publish it or sign with it. This option is
|
This option generates a key, but does not publish it or sign with it. This option is
|
||||||
incompatible with \-P and \-A.
|
incompatible with \fB\-P\fP and \fB\-A\fP\&.
|
||||||
.TP
|
.TP
|
||||||
\fB\-g\fP generator
|
.B \fB\-g generator\fP
|
||||||
If generating a Diffie Hellman key, use this generator. Allowed
|
This option indicates the generator to use if generating a Diffie\-Hellman key. Allowed
|
||||||
values are 2 and 5. If no generator is specified, a known prime from
|
values are 2 and 5. If no generator is specified, a known prime from
|
||||||
\fI\%RFC 2539\fP will be used if possible; otherwise the default is 2.
|
\fI\%RFC 2539\fP is used if possible; otherwise the default is 2.
|
||||||
.TP
|
.TP
|
||||||
\fB\-h\fP
|
.B \fB\-h\fP
|
||||||
Prints a short summary of the options and arguments to
|
This option prints a short summary of the options and arguments to
|
||||||
\fBdnssec\-keygen\fP\&.
|
\fBdnssec\-keygen\fP\&.
|
||||||
.TP
|
.TP
|
||||||
\fB\-K\fP directory
|
.B \fB\-K directory\fP
|
||||||
Sets the directory in which the key files are to be written.
|
This option sets the directory in which the key files are to be written.
|
||||||
.TP
|
.TP
|
||||||
\fB\-k\fP policy
|
.B \fB\-k policy\fP
|
||||||
Create keys for a specific dnssec\-policy. If a policy uses multiple keys,
|
This option creates keys for a specific \fBdnssec\-policy\fP\&. If a policy uses multiple keys,
|
||||||
\fBdnssec\-keygen\fP will generate multiple keys. This will also
|
\fBdnssec\-keygen\fP generates multiple keys. This also
|
||||||
create a ".state" file to keep track of the key state.
|
creates a ".state" file to keep track of the key state.
|
||||||
.sp
|
.sp
|
||||||
This option creates keys according to the dnssec\-policy configuration, hence
|
This option creates keys according to the \fBdnssec\-policy\fP configuration, hence
|
||||||
it cannot be used together with many of the other options that
|
it cannot be used at the same time as many of the other options that
|
||||||
\fBdnssec\-keygen\fP provides.
|
\fBdnssec\-keygen\fP provides.
|
||||||
.TP
|
.TP
|
||||||
\fB\-L\fP ttl
|
.B \fB\-L ttl\fP
|
||||||
Sets the default TTL to use for this key when it is converted into a
|
This option sets the default TTL to use for this key when it is converted into a
|
||||||
DNSKEY RR. If the key is imported into a zone, this is the TTL that
|
DNSKEY RR. This is the TTL used when the key is imported into a zone,
|
||||||
will be used for it, unless there was already a DNSKEY RRset in
|
unless there was already a DNSKEY RRset in
|
||||||
place, in which case the existing TTL would take precedence. If this
|
place, in which case the existing TTL takes precedence. If this
|
||||||
value is not set and there is no existing DNSKEY RRset, the TTL will
|
value is not set and there is no existing DNSKEY RRset, the TTL
|
||||||
default to the SOA TTL. Setting the default TTL to \fB0\fP or \fBnone\fP
|
defaults to the SOA TTL. Setting the default TTL to \fB0\fP or \fBnone\fP
|
||||||
is the same as leaving it unset.
|
is the same as leaving it unset.
|
||||||
.TP
|
.TP
|
||||||
\fB\-l\fP file
|
.B \fB\-l file\fP
|
||||||
Provide a configuration file that contains a dnssec\-policy statement
|
This option provides a configuration file that contains a \fBdnssec\-policy\fP statement
|
||||||
(matching the policy set with \fB\-k\fP).
|
(matching the policy set with \fB\-k\fP).
|
||||||
.TP
|
.TP
|
||||||
\fB\-n\fP nametype
|
.B \fB\-n nametype\fP
|
||||||
Specifies the owner type of the key. The value of \fBnametype\fP must
|
This option specifies the owner type of the key. The value of \fBnametype\fP must
|
||||||
either be ZONE (for a DNSSEC zone key (KEY/DNSKEY)), HOST or ENTITY
|
either be ZONE (for a DNSSEC zone key (KEY/DNSKEY)), HOST or ENTITY
|
||||||
(for a key associated with a host (KEY)), USER (for a key associated
|
(for a key associated with a host (KEY)), USER (for a key associated
|
||||||
with a user(KEY)) or OTHER (DNSKEY). These values are case
|
with a user (KEY)), or OTHER (DNSKEY). These values are
|
||||||
insensitive. Defaults to ZONE for DNSKEY generation.
|
case\-insensitive. The default is ZONE for DNSKEY generation.
|
||||||
.TP
|
.TP
|
||||||
\fB\-p\fP protocol
|
.B \fB\-p protocol\fP
|
||||||
Sets the protocol value for the generated key, for use with
|
This option sets the protocol value for the generated key, for use with
|
||||||
\fB\-T KEY\fP\&. The protocol is a number between 0 and 255. The default
|
\fB\-T KEY\fP\&. The protocol is a number between 0 and 255. The default
|
||||||
is 3 (DNSSEC). Other possible values for this argument are listed in
|
is 3 (DNSSEC). Other possible values for this argument are listed in
|
||||||
\fI\%RFC 2535\fP and its successors.
|
\fI\%RFC 2535\fP and its successors.
|
||||||
.TP
|
.TP
|
||||||
\fB\-q\fP
|
.B \fB\-q\fP
|
||||||
Quiet mode: Suppresses unnecessary output, including progress
|
This option sets quiet mode, which suppresses unnecessary output, including progress
|
||||||
indication. Without this option, when \fBdnssec\-keygen\fP is run
|
indication. Without this option, when \fBdnssec\-keygen\fP is run
|
||||||
interactively to generate an RSA or DSA key pair, it will print a
|
interactively to generate an RSA or DSA key pair, it prints a
|
||||||
string of symbols to \fBstderr\fP indicating the progress of the key
|
string of symbols to \fBstderr\fP indicating the progress of the key
|
||||||
generation. A \(aq.\(aq indicates that a random number has been found which
|
generation. A \fB\&.\fP indicates that a random number has been found which
|
||||||
passed an initial sieve test; \(aq+\(aq means a number has passed a single
|
passed an initial sieve test; \fB+\fP means a number has passed a single
|
||||||
round of the Miller\-Rabin primality test; a space means that the
|
round of the Miller\-Rabin primality test; and a space ( ) means that the
|
||||||
number has passed all the tests and is a satisfactory key.
|
number has passed all the tests and is a satisfactory key.
|
||||||
.TP
|
.TP
|
||||||
\fB\-S\fP key
|
.B \fB\-S key\fP
|
||||||
Create a new key which is an explicit successor to an existing key.
|
This option creates a new key which is an explicit successor to an existing key.
|
||||||
The name, algorithm, size, and type of the key will be set to match
|
The name, algorithm, size, and type of the key are set to match
|
||||||
the existing key. The activation date of the new key will be set to
|
the existing key. The activation date of the new key is set to
|
||||||
the inactivation date of the existing one. The publication date will
|
the inactivation date of the existing one. The publication date is
|
||||||
be set to the activation date minus the prepublication interval,
|
set to the activation date minus the prepublication interval,
|
||||||
which defaults to 30 days.
|
which defaults to 30 days.
|
||||||
.TP
|
.TP
|
||||||
\fB\-s\fP strength
|
.B \fB\-s strength\fP
|
||||||
Specifies the strength value of the key. The strength is a number
|
This option specifies the strength value of the key. The strength is a number
|
||||||
between 0 and 15, and currently has no defined purpose in DNSSEC.
|
between 0 and 15, and currently has no defined purpose in DNSSEC.
|
||||||
.TP
|
.TP
|
||||||
\fB\-T\fP rrtype
|
.B \fB\-T rrtype\fP
|
||||||
Specifies the resource record type to use for the key. \fBrrtype\fP
|
This option specifies the resource record type to use for the key. \fBrrtype\fP
|
||||||
must be either DNSKEY or KEY. The default is DNSKEY when using a
|
must be either DNSKEY or KEY. The default is DNSKEY when using a
|
||||||
DNSSEC algorithm, but it can be overridden to KEY for use with
|
DNSSEC algorithm, but it can be overridden to KEY for use with
|
||||||
SIG(0).
|
SIG(0).
|
||||||
.TP
|
.TP
|
||||||
\fB\-t\fP type
|
.B \fB\-t type\fP
|
||||||
Indicates the use of the key, for use with \fB\-T KEY\fP\&. \fBtype\fP
|
This option indicates the type of the key for use with \fB\-T KEY\fP\&. \fBtype\fP
|
||||||
must be one of AUTHCONF, NOAUTHCONF, NOAUTH, or NOCONF. The default
|
must be one of AUTHCONF, NOAUTHCONF, NOAUTH, or NOCONF. The default
|
||||||
is AUTHCONF. AUTH refers to the ability to authenticate data, and
|
is AUTHCONF. AUTH refers to the ability to authenticate data, and
|
||||||
CONF the ability to encrypt data.
|
CONF to the ability to encrypt data.
|
||||||
.TP
|
.TP
|
||||||
\fB\-V\fP
|
.B \fB\-V\fP
|
||||||
Prints version information.
|
This option prints version information.
|
||||||
.TP
|
.TP
|
||||||
\fB\-v\fP level
|
.B \fB\-v level\fP
|
||||||
Sets the debugging level.
|
This option sets the debugging level.
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.SH TIMING OPTIONS
|
.SH TIMING OPTIONS
|
||||||
.sp
|
.sp
|
||||||
Dates can be expressed in the format YYYYMMDD or YYYYMMDDHHMMSS. If the
|
Dates can be expressed in the format YYYYMMDD or YYYYMMDDHHMMSS. If the
|
||||||
argument begins with a \(aq+\(aq or \(aq\-\(aq, it is interpreted as an offset from
|
argument begins with a \fB+\fP or \fB\-\fP, it is interpreted as an offset from
|
||||||
the present time. For convenience, if such an offset is followed by one
|
the present time. For convenience, if such an offset is followed by one
|
||||||
of the suffixes \(aqy\(aq, \(aqmo\(aq, \(aqw\(aq, \(aqd\(aq, \(aqh\(aq, or \(aqmi\(aq, then the offset is
|
of the suffixes \fBy\fP, \fBmo\fP, \fBw\fP, \fBd\fP, \fBh\fP, or \fBmi\fP, then the offset is
|
||||||
computed in years (defined as 365 24\-hour days, ignoring leap years),
|
computed in years (defined as 365 24\-hour days, ignoring leap years),
|
||||||
months (defined as 30 24\-hour days), weeks, days, hours, or minutes,
|
months (defined as 30 24\-hour days), weeks, days, hours, or minutes,
|
||||||
respectively. Without a suffix, the offset is computed in seconds. To
|
respectively. Without a suffix, the offset is computed in seconds. To
|
||||||
explicitly prevent a date from being set, use \(aqnone\(aq or \(aqnever\(aq.
|
explicitly prevent a date from being set, use \fBnone\fP or \fBnever\fP\&.
|
||||||
.INDENT 0.0
|
.INDENT 0.0
|
||||||
.TP
|
.TP
|
||||||
\fB\-P\fP date/offset
|
.B \fB\-P date/offset\fP
|
||||||
Sets the date on which a key is to be published to the zone. After
|
This option sets the date on which a key is to be published to the zone. After
|
||||||
that date, the key will be included in the zone but will not be used
|
that date, the key is included in the zone but is not used
|
||||||
to sign it. If not set, and if the \-G option has not been used, the
|
to sign it. If not set, and if the \fB\-G\fP option has not been used, the
|
||||||
default is "now".
|
default is the current date.
|
||||||
.TP
|
.TP
|
||||||
\fB\-P\fP sync date/offset
|
.B \fB\-P sync date/offset\fP
|
||||||
Sets the date on which CDS and CDNSKEY records that match this key
|
This option sets the date on which CDS and CDNSKEY records that match this key
|
||||||
are to be published to the zone.
|
are to be published to the zone.
|
||||||
.TP
|
.TP
|
||||||
\fB\-A\fP date/offset
|
.B \fB\-A date/offset\fP
|
||||||
Sets the date on which the key is to be activated. After that date,
|
This option sets the date on which the key is to be activated. After that date,
|
||||||
the key will be included in the zone and used to sign it. If not set,
|
the key is included in the zone and used to sign it. If not set,
|
||||||
and if the \-G option has not been used, the default is "now". If set,
|
and if the \fB\-G\fP option has not been used, the default is the current date. If set,
|
||||||
if and \-P is not set, then the publication date will be set to the
|
and \fB\-P\fP is not set, the publication date is set to the
|
||||||
activation date minus the prepublication interval.
|
activation date minus the prepublication interval.
|
||||||
.TP
|
.TP
|
||||||
\fB\-R\fP date/offset
|
.B \fB\-R date/offset\fP
|
||||||
Sets the date on which the key is to be revoked. After that date, the
|
This option sets the date on which the key is to be revoked. After that date, the
|
||||||
key will be flagged as revoked. It will be included in the zone and
|
key is flagged as revoked. It is included in the zone and
|
||||||
will be used to sign it.
|
is used to sign it.
|
||||||
.TP
|
.TP
|
||||||
\fB\-I\fP date/offset
|
.B \fB\-I date/offset\fP
|
||||||
Sets the date on which the key is to be retired. After that date, the
|
This option sets the date on which the key is to be retired. After that date, the
|
||||||
key will still be included in the zone, but it will not be used to
|
key is still included in the zone, but it is not used to
|
||||||
sign it.
|
sign it.
|
||||||
.TP
|
.TP
|
||||||
\fB\-D\fP date/offset
|
.B \fB\-D date/offset\fP
|
||||||
Sets the date on which the key is to be deleted. After that date, the
|
This option sets the date on which the key is to be deleted. After that date, the
|
||||||
key will no longer be included in the zone. (It may remain in the key
|
key is no longer included in the zone. (However, it may remain in the key
|
||||||
repository, however.)
|
repository.)
|
||||||
.TP
|
.TP
|
||||||
\fB\-D\fP sync date/offset
|
.B \fB\-D sync date/offset\fP
|
||||||
Sets the date on which the CDS and CDNSKEY records that match this
|
This option sets the date on which the CDS and CDNSKEY records that match this
|
||||||
key are to be deleted.
|
key are to be deleted.
|
||||||
.TP
|
.TP
|
||||||
\fB\-i\fP interval
|
.B \fB\-i interval\fP
|
||||||
Sets the prepublication interval for a key. If set, then the
|
This option sets the prepublication interval for a key. If set, then the
|
||||||
publication and activation dates must be separated by at least this
|
publication and activation dates must be separated by at least this
|
||||||
much time. If the activation date is specified but the publication
|
much time. If the activation date is specified but the publication
|
||||||
date isn\(aqt, then the publication date will default to this much time
|
date is not, the publication date defaults to this much time
|
||||||
before the activation date; conversely, if the publication date is
|
before the activation date; conversely, if the publication date is
|
||||||
specified but activation date isn\(aqt, then activation will be set to
|
specified but not the activation date, activation is set to
|
||||||
this much time after publication.
|
this much time after publication.
|
||||||
.sp
|
.sp
|
||||||
If the key is being created as an explicit successor to another key,
|
If the key is being created as an explicit successor to another key,
|
||||||
@@ -267,7 +267,7 @@ then the default prepublication interval is 30 days; otherwise it is
|
|||||||
zero.
|
zero.
|
||||||
.sp
|
.sp
|
||||||
As with date offsets, if the argument is followed by one of the
|
As with date offsets, if the argument is followed by one of the
|
||||||
suffixes \(aqy\(aq, \(aqmo\(aq, \(aqw\(aq, \(aqd\(aq, \(aqh\(aq, or \(aqmi\(aq, then the interval is
|
suffixes \fBy\fP, \fBmo\fP, \fBw\fP, \fBd\fP, \fBh\fP, or \fBmi\fP, the interval is
|
||||||
measured in years, months, weeks, days, hours, or minutes,
|
measured in years, months, weeks, days, hours, or minutes,
|
||||||
respectively. Without a suffix, the interval is measured in seconds.
|
respectively. Without a suffix, the interval is measured in seconds.
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
@@ -290,9 +290,9 @@ string. \fBKnnnn.+aaa+iiiii.key\fP contains the public key, and
|
|||||||
\fBKnnnn.+aaa+iiiii.private\fP contains the private key.
|
\fBKnnnn.+aaa+iiiii.private\fP contains the private key.
|
||||||
.sp
|
.sp
|
||||||
The \fB\&.key\fP file contains a DNSKEY or KEY record. When a zone is being
|
The \fB\&.key\fP file contains a DNSKEY or KEY record. When a zone is being
|
||||||
signed by \fBnamed\fP or \fBdnssec\-signzone\fP \fB\-S\fP, DNSKEY records are
|
signed by \fBnamed\fP or \fBdnssec\-signzone \-S\fP, DNSKEY records are
|
||||||
included automatically. In other cases, the \fB\&.key\fP file can be
|
included automatically. In other cases, the \fB\&.key\fP file can be
|
||||||
inserted into a zone file manually or with a \fB$INCLUDE\fP statement.
|
inserted into a zone file manually or with an \fB$INCLUDE\fP statement.
|
||||||
.sp
|
.sp
|
||||||
The \fB\&.private\fP file contains algorithm\-specific fields. For obvious
|
The \fB\&.private\fP file contains algorithm\-specific fields. For obvious
|
||||||
security reasons, this file does not have general read permission.
|
security reasons, this file does not have general read permission.
|
||||||
@@ -303,7 +303,7 @@ To generate an ECDSAP256SHA256 zone\-signing key for the zone
|
|||||||
.sp
|
.sp
|
||||||
\fBdnssec\-keygen \-a ECDSAP256SHA256 example.com\fP
|
\fBdnssec\-keygen \-a ECDSAP256SHA256 example.com\fP
|
||||||
.sp
|
.sp
|
||||||
The command would print a string of the form:
|
The command prints a string of the form:
|
||||||
.sp
|
.sp
|
||||||
\fBKexample.com.+013+26160\fP
|
\fBKexample.com.+013+26160\fP
|
||||||
.sp
|
.sp
|
||||||
|
@@ -41,38 +41,38 @@ containing the now\-revoked key.
|
|||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.INDENT 0.0
|
.INDENT 0.0
|
||||||
.TP
|
.TP
|
||||||
\fB\-h\fP
|
.B \fB\-h\fP
|
||||||
Emit usage message and exit.
|
This option emits a usage message and exits.
|
||||||
.TP
|
.TP
|
||||||
\fB\-K\fP directory
|
.B \fB\-K directory\fP
|
||||||
Sets the directory in which the key files are to reside.
|
This option sets the directory in which the key files are to reside.
|
||||||
.TP
|
.TP
|
||||||
\fB\-r\fP
|
.B \fB\-r\fP
|
||||||
After writing the new keyset files remove the original keyset files.
|
This option indicates to remove the original keyset files after writing the new keyset files.
|
||||||
.TP
|
.TP
|
||||||
\fB\-v\fP level
|
.B \fB\-v level\fP
|
||||||
Sets the debugging level.
|
This option sets the debugging level.
|
||||||
.TP
|
.TP
|
||||||
\fB\-V\fP
|
.B \fB\-V\fP
|
||||||
Prints version information.
|
This option prints version information.
|
||||||
.TP
|
.TP
|
||||||
\fB\-E\fP engine
|
.B \fB\-E engine\fP
|
||||||
Specifies the cryptographic hardware to use, when applicable.
|
This option specifies the cryptographic hardware to use, when applicable.
|
||||||
.sp
|
.sp
|
||||||
When BIND is built with OpenSSL PKCS#11 support, this defaults to the
|
When BIND 9 is built with OpenSSL PKCS#11 support, this defaults to the
|
||||||
string "pkcs11", which identifies an OpenSSL engine that can drive a
|
string \fBpkcs11\fP, which identifies an OpenSSL engine that can drive a
|
||||||
cryptographic accelerator or hardware service module. When BIND is
|
cryptographic accelerator or hardware service module. When BIND is
|
||||||
built with native PKCS#11 cryptography (\-\-enable\-native\-pkcs11), it
|
built with native PKCS#11 cryptography (\fB\-\-enable\-native\-pkcs11\fP), it
|
||||||
defaults to the path of the PKCS#11 provider library specified via
|
defaults to the path of the PKCS#11 provider library specified via
|
||||||
"\-\-with\-pkcs11".
|
\fB\-\-with\-pkcs11\fP\&.
|
||||||
.TP
|
.TP
|
||||||
\fB\-f\fP
|
.B \fB\-f\fP
|
||||||
Force overwrite: Causes \fBdnssec\-revoke\fP to write the new key pair
|
This option indicates a forced overwrite and causes \fBdnssec\-revoke\fP to write the new key pair,
|
||||||
even if a file already exists matching the algorithm and key ID of
|
even if a file already exists matching the algorithm and key ID of
|
||||||
the revoked key.
|
the revoked key.
|
||||||
.TP
|
.TP
|
||||||
\fB\-R\fP
|
.B \fB\-R\fP
|
||||||
Print the key tag of the key with the REVOKE bit set but do not
|
This option prints the key tag of the key with the REVOKE bit set, but does not
|
||||||
revoke the key.
|
revoke the key.
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
|
@@ -41,7 +41,7 @@ timing metadata as specified by the \fB\-P\fP, \fB\-A\fP, \fB\-R\fP, \fB\-I\fP,
|
|||||||
other signing software to determine when a key is to be published,
|
other signing software to determine when a key is to be published,
|
||||||
whether it should be used for signing a zone, etc.
|
whether it should be used for signing a zone, etc.
|
||||||
.sp
|
.sp
|
||||||
If none of these options is set on the command line, then
|
If none of these options is set on the command line,
|
||||||
\fBdnssec\-settime\fP simply prints the key timing metadata already stored
|
\fBdnssec\-settime\fP simply prints the key timing metadata already stored
|
||||||
in the key.
|
in the key.
|
||||||
.sp
|
.sp
|
||||||
@@ -55,157 +55,156 @@ the key file. The private file\(aqs permissions are always set to be
|
|||||||
inaccessible to anyone other than the owner (mode 0600).
|
inaccessible to anyone other than the owner (mode 0600).
|
||||||
.sp
|
.sp
|
||||||
When working with state files, it is possible to update the timing metadata in
|
When working with state files, it is possible to update the timing metadata in
|
||||||
those files as well with \fB\-s\fP\&. If this option is used you can also update key
|
those files as well with \fB\-s\fP\&. With this option, it is also possible to update key
|
||||||
states with \fB\-d\fP (DS), \fB\-k\fP (DNSKEY), \fB\-r\fP (RRSIG of KSK), or \fB\-z\fP
|
states with \fB\-d\fP (DS), \fB\-k\fP (DNSKEY), \fB\-r\fP (RRSIG of KSK), or \fB\-z\fP
|
||||||
(RRSIG of ZSK). Allowed states are HIDDEN, RUMOURED, OMNIPRESENT, and
|
(RRSIG of ZSK). Allowed states are HIDDEN, RUMOURED, OMNIPRESENT, and
|
||||||
UNRETENTIVE.
|
UNRETENTIVE.
|
||||||
.sp
|
.sp
|
||||||
You can also set the goal state of the key with \fB\-g\fP\&. This should be either
|
The goal state of the key can also be set with \fB\-g\fP\&. This should be either
|
||||||
HIDDEN or OMNIPRESENT (representing whether the key should be removed from the
|
HIDDEN or OMNIPRESENT, representing whether the key should be removed from the
|
||||||
zone, or published).
|
zone or published.
|
||||||
.sp
|
.sp
|
||||||
It is NOT RECOMMENDED to manipulate state files manually except for testing
|
It is NOT RECOMMENDED to manipulate state files manually, except for testing
|
||||||
purposes.
|
purposes.
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.INDENT 0.0
|
.INDENT 0.0
|
||||||
.TP
|
.TP
|
||||||
\fB\-f\fP
|
.B \fB\-f\fP
|
||||||
Force an update of an old\-format key with no metadata fields. Without
|
This option forces an update of an old\-format key with no metadata fields. Without
|
||||||
this option, \fBdnssec\-settime\fP will fail when attempting to update a
|
this option, \fBdnssec\-settime\fP fails when attempting to update a
|
||||||
legacy key. With this option, the key will be recreated in the new
|
legacy key. With this option, the key is recreated in the new
|
||||||
format, but with the original key data retained. The key\(aqs creation
|
format, but with the original key data retained. The key\(aqs creation
|
||||||
date will be set to the present time. If no other values are
|
date is set to the present time. If no other values are
|
||||||
specified, then the key\(aqs publication and activation dates will also
|
specified, then the key\(aqs publication and activation dates are also
|
||||||
be set to the present time.
|
set to the present time.
|
||||||
.TP
|
.TP
|
||||||
\fB\-K\fP directory
|
.B \fB\-K directory\fP
|
||||||
Sets the directory in which the key files are to reside.
|
This option sets the directory in which the key files are to reside.
|
||||||
.TP
|
.TP
|
||||||
\fB\-L\fP ttl
|
.B \fB\-L ttl\fP
|
||||||
Sets the default TTL to use for this key when it is converted into a
|
This option sets the default TTL to use for this key when it is converted into a
|
||||||
DNSKEY RR. If the key is imported into a zone, this is the TTL that
|
DNSKEY RR. This is the TTL used when the key is imported into a zone,
|
||||||
will be used for it, unless there was already a DNSKEY RRset in
|
unless there was already a DNSKEY RRset in
|
||||||
place, in which case the existing TTL would take precedence. If this
|
place, in which case the existing TTL takes precedence. If this
|
||||||
value is not set and there is no existing DNSKEY RRset, the TTL will
|
value is not set and there is no existing DNSKEY RRset, the TTL
|
||||||
default to the SOA TTL. Setting the default TTL to \fB0\fP or \fBnone\fP
|
defaults to the SOA TTL. Setting the default TTL to \fB0\fP or \fBnone\fP
|
||||||
removes it from the key.
|
removes it from the key.
|
||||||
.TP
|
.TP
|
||||||
\fB\-h\fP
|
.B \fB\-h\fP
|
||||||
Emit usage message and exit.
|
This option emits a usage message and exits.
|
||||||
.TP
|
.TP
|
||||||
\fB\-V\fP
|
.B \fB\-V\fP
|
||||||
Prints version information.
|
This option prints version information.
|
||||||
.TP
|
.TP
|
||||||
\fB\-v\fP level
|
.B \fB\-v level\fP
|
||||||
Sets the debugging level.
|
This option sets the debugging level.
|
||||||
.TP
|
.TP
|
||||||
\fB\-E\fP engine
|
.B \fB\-E engine\fP
|
||||||
Specifies the cryptographic hardware to use, when applicable.
|
This option specifies the cryptographic hardware to use, when applicable.
|
||||||
.sp
|
.sp
|
||||||
When BIND is built with OpenSSL PKCS#11 support, this defaults to the
|
When BIND is built with OpenSSL PKCS#11 support, this defaults to the
|
||||||
string "pkcs11", which identifies an OpenSSL engine that can drive a
|
string \fBpkcs11\fP, which identifies an OpenSSL engine that can drive a
|
||||||
cryptographic accelerator or hardware service module. When BIND is
|
cryptographic accelerator or hardware service module. When BIND is
|
||||||
built with native PKCS#11 cryptography (\-\-enable\-native\-pkcs11), it
|
built with native PKCS#11 cryptography (\fB\-\-enable\-native\-pkcs11\fP), it
|
||||||
defaults to the path of the PKCS#11 provider library specified via
|
defaults to the path of the PKCS#11 provider library specified via
|
||||||
"\-\-with\-pkcs11".
|
\fB\-\-with\-pkcs11\fP\&.
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.SH TIMING OPTIONS
|
.SH TIMING OPTIONS
|
||||||
.sp
|
.sp
|
||||||
Dates can be expressed in the format YYYYMMDD or YYYYMMDDHHMMSS. If the
|
Dates can be expressed in the format YYYYMMDD or YYYYMMDDHHMMSS. If the
|
||||||
argument begins with a \(aq+\(aq or \(aq\-\(aq, it is interpreted as an offset from
|
argument begins with a \fB+\fP or \fB\-\fP, it is interpreted as an offset from
|
||||||
the present time. For convenience, if such an offset is followed by one
|
the present time. For convenience, if such an offset is followed by one
|
||||||
of the suffixes \(aqy\(aq, \(aqmo\(aq, \(aqw\(aq, \(aqd\(aq, \(aqh\(aq, or \(aqmi\(aq, then the offset is
|
of the suffixes \fBy\fP, \fBmo\fP, \fBw\fP, \fBd\fP, \fBh\fP, or \fBmi\fP, then the offset is
|
||||||
computed in years (defined as 365 24\-hour days, ignoring leap years),
|
computed in years (defined as 365 24\-hour days, ignoring leap years),
|
||||||
months (defined as 30 24\-hour days), weeks, days, hours, or minutes,
|
months (defined as 30 24\-hour days), weeks, days, hours, or minutes,
|
||||||
respectively. Without a suffix, the offset is computed in seconds. To
|
respectively. Without a suffix, the offset is computed in seconds. To
|
||||||
unset a date, use \(aqnone\(aq or \(aqnever\(aq.
|
explicitly prevent a date from being set, use \fBnone\fP or \fBnever\fP\&.
|
||||||
.INDENT 0.0
|
.INDENT 0.0
|
||||||
.TP
|
.TP
|
||||||
\fB\-P\fP date/offset
|
.B \fB\-P date/offset\fP
|
||||||
Sets the date on which a key is to be published to the zone. After
|
This option sets the date on which a key is to be published to the zone. After
|
||||||
that date, the key will be included in the zone but will not be used
|
that date, the key is included in the zone but is not used
|
||||||
to sign it.
|
to sign it.
|
||||||
.TP
|
.TP
|
||||||
\fB\-P\fP sync date/offset
|
.B \fB\-P sync date/offset\fP
|
||||||
Sets the date on which CDS and CDNSKEY records that match this key
|
This option sets the date on which CDS and CDNSKEY records that match this key
|
||||||
are to be published to the zone.
|
are to be published to the zone.
|
||||||
.TP
|
.TP
|
||||||
\fB\-A\fP date/offset
|
.B \fB\-A date/offset\fP
|
||||||
Sets the date on which the key is to be activated. After that date,
|
This option sets the date on which the key is to be activated. After that date,
|
||||||
the key will be included in the zone and used to sign it.
|
the key is included in the zone and used to sign it.
|
||||||
.TP
|
.TP
|
||||||
\fB\-R\fP date/offset
|
.B \fB\-R date/offset\fP
|
||||||
Sets the date on which the key is to be revoked. After that date, the
|
This option sets the date on which the key is to be revoked. After that date, the
|
||||||
key will be flagged as revoked. It will be included in the zone and
|
key is flagged as revoked. It is included in the zone and
|
||||||
will be used to sign it.
|
is used to sign it.
|
||||||
.TP
|
.TP
|
||||||
\fB\-I\fP date/offset
|
.B \fB\-I date/offset\fP
|
||||||
Sets the date on which the key is to be retired. After that date, the
|
This option sets the date on which the key is to be retired. After that date, the
|
||||||
key will still be included in the zone, but it will not be used to
|
key is still included in the zone, but it is not used to
|
||||||
sign it.
|
sign it.
|
||||||
.TP
|
.TP
|
||||||
\fB\-D\fP date/offset
|
.B \fB\-D date/offset\fP
|
||||||
Sets the date on which the key is to be deleted. After that date, the
|
This option sets the date on which the key is to be deleted. After that date, the
|
||||||
key will no longer be included in the zone. (It may remain in the key
|
key is no longer included in the zone. (However, it may remain in the key
|
||||||
repository, however.)
|
repository.)
|
||||||
.TP
|
.TP
|
||||||
\fB\-D\fP sync date/offset
|
.B \fB\-D sync date/offset\fP
|
||||||
Sets the date on which the CDS and CDNSKEY records that match this
|
This option sets the date on which the CDS and CDNSKEY records that match this
|
||||||
key are to be deleted.
|
key are to be deleted.
|
||||||
.TP
|
.TP
|
||||||
\fB\-S\fP predecessor key
|
.B \fB\-S predecessor key\fP
|
||||||
Select a key for which the key being modified will be an explicit
|
This option selects a key for which the key being modified is an explicit
|
||||||
successor. The name, algorithm, size, and type of the predecessor key
|
successor. The name, algorithm, size, and type of the predecessor key
|
||||||
must exactly match those of the key being modified. The activation
|
must exactly match those of the key being modified. The activation
|
||||||
date of the successor key will be set to the inactivation date of the
|
date of the successor key is set to the inactivation date of the
|
||||||
predecessor. The publication date will be set to the activation date
|
predecessor. The publication date is set to the activation date
|
||||||
minus the prepublication interval, which defaults to 30 days.
|
minus the prepublication interval, which defaults to 30 days.
|
||||||
.TP
|
.TP
|
||||||
\fB\-i\fP interval
|
.B \fB\-i interval\fP
|
||||||
Sets the prepublication interval for a key. If set, then the
|
This option sets the prepublication interval for a key. If set, then the
|
||||||
publication and activation dates must be separated by at least this
|
publication and activation dates must be separated by at least this
|
||||||
much time. If the activation date is specified but the publication
|
much time. If the activation date is specified but the publication
|
||||||
date isn\(aqt, then the publication date will default to this much time
|
date is not, the publication date defaults to this much time
|
||||||
before the activation date; conversely, if the publication date is
|
before the activation date; conversely, if the publication date is
|
||||||
specified but activation date isn\(aqt, then activation will be set to
|
specified but not the activation date, activation is set to
|
||||||
this much time after publication.
|
this much time after publication.
|
||||||
.sp
|
.sp
|
||||||
If the key is being set to be an explicit successor to another key,
|
If the key is being created as an explicit successor to another key,
|
||||||
then the default prepublication interval is 30 days; otherwise it is
|
then the default prepublication interval is 30 days; otherwise it is
|
||||||
zero.
|
zero.
|
||||||
.sp
|
.sp
|
||||||
As with date offsets, if the argument is followed by one of the
|
As with date offsets, if the argument is followed by one of the
|
||||||
suffixes \(aqy\(aq, \(aqmo\(aq, \(aqw\(aq, \(aqd\(aq, \(aqh\(aq, or \(aqmi\(aq, then the interval is
|
suffixes \fBy\fP, \fBmo\fP, \fBw\fP, \fBd\fP, \fBh\fP, or \fBmi\fP, the interval is
|
||||||
measured in years, months, weeks, days, hours, or minutes,
|
measured in years, months, weeks, days, hours, or minutes,
|
||||||
respectively. Without a suffix, the interval is measured in seconds.
|
respectively. Without a suffix, the interval is measured in seconds.
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.SH KEY STATE OPTIONS
|
.SH KEY STATE OPTIONS
|
||||||
.sp
|
.sp
|
||||||
Known key states are HIDDEN, RUMOURED, OMNIPRESENT and UNRETENTIVE. These should
|
To test dnssec\-policy it may be necessary to construct keys with artificial
|
||||||
not be set manually except for testing purposes.
|
state information; these options are used by the testing framework for that
|
||||||
|
purpose, but should never be used in production.
|
||||||
|
.sp
|
||||||
|
Known key states are HIDDEN, RUMOURED, OMNIPRESENT, and UNRETENTIVE.
|
||||||
.INDENT 0.0
|
.INDENT 0.0
|
||||||
.TP
|
.TP
|
||||||
.B \fB\-s\fP
|
.B \fB\-s\fP
|
||||||
When setting key timing data, also update the state file.
|
This option indicates that when setting key timing data, the state file should also be updated.
|
||||||
.TP
|
.TP
|
||||||
.B \fB\-g\fP
|
.B \fB\-g state\fP
|
||||||
Set the goal state for this key. Must be HIDDEN or OMNIPRESENT.
|
This option sets the goal state for this key. Must be HIDDEN or OMNIPRESENT.
|
||||||
.TP
|
.TP
|
||||||
.B \fB\-d\fP
|
.B \fB\-d state date/offset\fP
|
||||||
Set the DS state for this key, and when it was last changed.
|
This option sets the DS state for this key as of the specified date, offset from the current date.
|
||||||
.TP
|
.TP
|
||||||
.B \fB\-k\fP
|
.B \fB\-k state date/offset\fP
|
||||||
Set the DNSKEY state for this key, and when it was last changed.
|
This option sets the DNSKEY state for this key as of the specified date, offset from the current date.
|
||||||
.TP
|
.TP
|
||||||
.B \fB\-r\fP
|
.B \fB\-r state date/offset\fP
|
||||||
Set the RRSIG (KSK) state for this key, and when it was last changed.
|
This option sets the RRSIG (KSK) state for this key as of the specified date, offset from the current date.
|
||||||
.UNINDENT
|
.TP
|
||||||
.sp
|
.B \fB\-z state date/offset\fP
|
||||||
\fB\-z\fP
|
This option sets the RRSIG (ZSK) state for this key as of the specified date, offset from the current date.
|
||||||
.INDENT 0.0
|
|
||||||
.INDENT 3.5
|
|
||||||
Set the RRSIG (ZSK) state for this key, and when it was last changed.
|
|
||||||
.UNINDENT
|
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.SH PRINTING OPTIONS
|
.SH PRINTING OPTIONS
|
||||||
.sp
|
.sp
|
||||||
@@ -213,18 +212,18 @@ Set the RRSIG (ZSK) state for this key, and when it was last changed.
|
|||||||
associated with a key.
|
associated with a key.
|
||||||
.INDENT 0.0
|
.INDENT 0.0
|
||||||
.TP
|
.TP
|
||||||
\fB\-u\fP
|
.B \fB\-u\fP
|
||||||
Print times in UNIX epoch format.
|
This option indicates that times should be printed in Unix epoch format.
|
||||||
.TP
|
.TP
|
||||||
\fB\-p\fP C/P/Psync/A/R/I/D/Dsync/all
|
.B \fB\-p C/P/Psync/A/R/I/D/Dsync/all\fP
|
||||||
Print a specific metadata value or set of metadata values. The \fB\-p\fP
|
This option prints a specific metadata value or set of metadata values. The \fB\-p\fP
|
||||||
option may be followed by one or more of the following letters or
|
option may be followed by one or more of the following letters or
|
||||||
strings to indicate which value or values to print: \fBC\fP for the
|
strings to indicate which value or values to print: \fBC\fP for the
|
||||||
creation date, \fBP\fP for the publication date, \fBPsync\fP for the CDS
|
creation date, \fBP\fP for the publication date, \fBPsync\fP for the CDS
|
||||||
and CDNSKEY publication date, \fBA\fP for the activation date, \fBR\fP
|
and CDNSKEY publication date, \fBA\fP for the activation date, \fBR\fP
|
||||||
for the revocation date, \fBI\fP for the inactivation date, \fBD\fP for
|
for the revocation date, \fBI\fP for the inactivation date, \fBD\fP for
|
||||||
the deletion date, and \fBDsync\fP for the CDS and CDNSKEY deletion
|
the deletion date, and \fBDsync\fP for the CDS and CDNSKEY deletion
|
||||||
date To print all of the metadata, use \fB\-p all\fP\&.
|
date. To print all of the metadata, use \fBall\fP\&.
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
.sp
|
.sp
|
||||||
|
@@ -35,234 +35,233 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
|||||||
\fBdnssec\-signzone\fP [\fB\-a\fP] [\fB\-c\fP class] [\fB\-d\fP directory] [\fB\-D\fP] [\fB\-E\fP engine] [\fB\-e\fP end\-time] [\fB\-f\fP output\-file] [\fB\-g\fP] [\fB\-h\fP] [\fB\-i\fP interval] [\fB\-I\fP input\-format] [\fB\-j\fP jitter] [\fB\-K\fP directory] [\fB\-k\fP key] [\fB\-L\fP serial] [\fB\-M\fP maxttl] [\fB\-N\fP soa\-serial\-format] [\fB\-o\fP origin] [\fB\-O\fP output\-format] [\fB\-P\fP] [\fB\-Q\fP] [\fB\-q\fP] [\fB\-R\fP] [\fB\-S\fP] [\fB\-s\fP start\-time] [\fB\-T\fP ttl] [\fB\-t\fP] [\fB\-u\fP] [\fB\-v\fP level] [\fB\-V\fP] [\fB\-X\fP extended end\-time] [\fB\-x\fP] [\fB\-z\fP] [\fB\-3\fP salt] [\fB\-H\fP iterations] [\fB\-A\fP] {zonefile} [key...]
|
\fBdnssec\-signzone\fP [\fB\-a\fP] [\fB\-c\fP class] [\fB\-d\fP directory] [\fB\-D\fP] [\fB\-E\fP engine] [\fB\-e\fP end\-time] [\fB\-f\fP output\-file] [\fB\-g\fP] [\fB\-h\fP] [\fB\-i\fP interval] [\fB\-I\fP input\-format] [\fB\-j\fP jitter] [\fB\-K\fP directory] [\fB\-k\fP key] [\fB\-L\fP serial] [\fB\-M\fP maxttl] [\fB\-N\fP soa\-serial\-format] [\fB\-o\fP origin] [\fB\-O\fP output\-format] [\fB\-P\fP] [\fB\-Q\fP] [\fB\-q\fP] [\fB\-R\fP] [\fB\-S\fP] [\fB\-s\fP start\-time] [\fB\-T\fP ttl] [\fB\-t\fP] [\fB\-u\fP] [\fB\-v\fP level] [\fB\-V\fP] [\fB\-X\fP extended end\-time] [\fB\-x\fP] [\fB\-z\fP] [\fB\-3\fP salt] [\fB\-H\fP iterations] [\fB\-A\fP] {zonefile} [key...]
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.sp
|
.sp
|
||||||
\fBdnssec\-signzone\fP signs a zone. It generates NSEC and RRSIG records
|
\fBdnssec\-signzone\fP signs a zone; it generates NSEC and RRSIG records
|
||||||
and produces a signed version of the zone. The security status of
|
and produces a signed version of the zone. The security status of
|
||||||
delegations from the signed zone (that is, whether the child zones are
|
delegations from the signed zone (that is, whether the child zones are
|
||||||
secure or not) is determined by the presence or absence of a \fBkeyset\fP
|
secure) is determined by the presence or absence of a \fBkeyset\fP
|
||||||
file for each child zone.
|
file for each child zone.
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.INDENT 0.0
|
.INDENT 0.0
|
||||||
.TP
|
.TP
|
||||||
\fB\-a\fP
|
.B \fB\-a\fP
|
||||||
Verify all generated signatures.
|
This option verifies all generated signatures.
|
||||||
.TP
|
.TP
|
||||||
\fB\-c\fP class
|
.B \fB\-c class\fP
|
||||||
Specifies the DNS class of the zone.
|
This option specifies the DNS class of the zone.
|
||||||
.TP
|
.TP
|
||||||
\fB\-C\fP
|
.B \fB\-C\fP
|
||||||
Compatibility mode: Generate a \fBkeyset\-zonename\fP file in addition
|
This option sets compatibility mode, in which a \fBkeyset\-zonename\fP file is generated in addition
|
||||||
to \fBdsset\-zonename\fP when signing a zone, for use by older versions
|
to \fBdsset\-zonename\fP when signing a zone, for use by older versions
|
||||||
of \fBdnssec\-signzone\fP\&.
|
of \fBdnssec\-signzone\fP\&.
|
||||||
.TP
|
.TP
|
||||||
\fB\-d\fP directory
|
.B \fB\-d directory\fP
|
||||||
Look for \fBdsset\-\fP or \fBkeyset\-\fP files in \fBdirectory\fP\&.
|
This option indicates the directory where BIND 9 should look for \fBdsset\-\fP or \fBkeyset\-\fP files.
|
||||||
.TP
|
.TP
|
||||||
\fB\-D\fP
|
.B \fB\-D\fP
|
||||||
Output only those record types automatically managed by
|
This option indicates that only those record types automatically managed by
|
||||||
\fBdnssec\-signzone\fP, i.e. RRSIG, NSEC, NSEC3 and NSEC3PARAM records.
|
\fBdnssec\-signzone\fP, i.e., RRSIG, NSEC, NSEC3 and NSEC3PARAM records, should be included in the output.
|
||||||
If smart signing (\fB\-S\fP) is used, DNSKEY records are also included.
|
If smart signing (\fB\-S\fP) is used, DNSKEY records are also included.
|
||||||
The resulting file can be included in the original zone file with
|
The resulting file can be included in the original zone file with
|
||||||
\fB$INCLUDE\fP\&. This option cannot be combined with \fB\-O raw\fP,
|
\fB$INCLUDE\fP\&. This option cannot be combined with \fB\-O raw\fP,
|
||||||
\fB\-O map\fP, or serial number updating.
|
\fB\-O map\fP, or serial\-number updating.
|
||||||
.TP
|
.TP
|
||||||
\fB\-E\fP engine
|
.B \fB\-E engine\fP
|
||||||
When applicable, specifies the hardware to use for cryptographic
|
This option specifies the hardware to use for cryptographic
|
||||||
operations, such as a secure key store used for signing.
|
operations, such as a secure key store used for signing, when applicable.
|
||||||
.sp
|
.sp
|
||||||
When BIND is built with OpenSSL PKCS#11 support, this defaults to the
|
When BIND is built with OpenSSL PKCS#11 support, this defaults to the
|
||||||
string "pkcs11", which identifies an OpenSSL engine that can drive a
|
string \fBpkcs11\fP, which identifies an OpenSSL engine that can drive a
|
||||||
cryptographic accelerator or hardware service module. When BIND is
|
cryptographic accelerator or hardware service module. When BIND is
|
||||||
built with native PKCS#11 cryptography (\-\-enable\-native\-pkcs11), it
|
built with native PKCS#11 cryptography (\fB\-\-enable\-native\-pkcs11\fP), it
|
||||||
defaults to the path of the PKCS#11 provider library specified via
|
defaults to the path of the PKCS#11 provider library specified via
|
||||||
"\-\-with\-pkcs11".
|
\fB\-\-with\-pkcs11\fP\&.
|
||||||
.TP
|
.TP
|
||||||
\fB\-g\fP
|
.B \fB\-g\fP
|
||||||
Generate DS records for child zones from \fBdsset\-\fP or \fBkeyset\-\fP
|
This option indicates that DS records for child zones should be generated from a \fBdsset\-\fP or \fBkeyset\-\fP
|
||||||
file. Existing DS records will be removed.
|
file. Existing DS records are removed.
|
||||||
.TP
|
.TP
|
||||||
\fB\-K\fP directory
|
.B \fB\-K directory\fP
|
||||||
Key repository: Specify a directory to search for DNSSEC keys. If not
|
This option specifies the directory to search for DNSSEC keys. If not
|
||||||
specified, defaults to the current directory.
|
specified, it defaults to the current directory.
|
||||||
.TP
|
.TP
|
||||||
\fB\-k\fP key
|
.B \fB\-k key\fP
|
||||||
Treat specified key as a key signing key ignoring any key flags. This
|
This option tells BIND 9 to treat the specified key as a key\-signing key, ignoring any key flags. This
|
||||||
option may be specified multiple times.
|
option may be specified multiple times.
|
||||||
.TP
|
.TP
|
||||||
\fB\-M\fP maxttl
|
.B \fB\-M maxttl\fP
|
||||||
Sets the maximum TTL for the signed zone. Any TTL higher than maxttl
|
This option sets the maximum TTL for the signed zone. Any TTL higher than \fBmaxttl\fP
|
||||||
in the input zone will be reduced to maxttl in the output. This
|
in the input zone is reduced to \fBmaxttl\fP in the output. This
|
||||||
provides certainty as to the largest possible TTL in the signed zone,
|
provides certainty as to the largest possible TTL in the signed zone,
|
||||||
which is useful to know when rolling keys because it is the longest
|
which is useful to know when rolling keys. The maxttl is the longest
|
||||||
possible time before signatures that have been retrieved by resolvers
|
possible time before signatures that have been retrieved by resolvers
|
||||||
will expire from resolver caches. Zones that are signed with this
|
expire from resolver caches. Zones that are signed with this
|
||||||
option should be configured to use a matching \fBmax\-zone\-ttl\fP in
|
option should be configured to use a matching \fBmax\-zone\-ttl\fP in
|
||||||
\fBnamed.conf\fP\&. (Note: This option is incompatible with \fB\-D\fP,
|
\fBnamed.conf\fP\&. (Note: This option is incompatible with \fB\-D\fP,
|
||||||
because it modifies non\-DNSSEC data in the output zone.)
|
because it modifies non\-DNSSEC data in the output zone.)
|
||||||
.TP
|
.TP
|
||||||
\fB\-s\fP start\-time
|
.B \fB\-s start\-time\fP
|
||||||
Specify the date and time when the generated RRSIG records become
|
This option specifies the date and time when the generated RRSIG records become
|
||||||
valid. This can be either an absolute or relative time. An absolute
|
valid. This can be either an absolute or relative time. An absolute
|
||||||
start time is indicated by a number in YYYYMMDDHHMMSS notation;
|
start time is indicated by a number in YYYYMMDDHHMMSS notation;
|
||||||
20000530144500 denotes 14:45:00 UTC on May 30th, 2000. A relative
|
20000530144500 denotes 14:45:00 UTC on May 30th, 2000. A relative
|
||||||
start time is indicated by +N, which is N seconds from the current
|
start time is indicated by \fB+N\fP, which is N seconds from the current
|
||||||
time. If no \fBstart\-time\fP is specified, the current time minus 1
|
time. If no \fBstart\-time\fP is specified, the current time minus 1
|
||||||
hour (to allow for clock skew) is used.
|
hour (to allow for clock skew) is used.
|
||||||
.TP
|
.TP
|
||||||
\fB\-e\fP end\-time
|
.B \fB\-e end\-time\fP
|
||||||
Specify the date and time when the generated RRSIG records expire. As
|
This option specifies the date and time when the generated RRSIG records expire. As
|
||||||
with \fBstart\-time\fP, an absolute time is indicated in YYYYMMDDHHMMSS
|
with \fBstart\-time\fP, an absolute time is indicated in YYYYMMDDHHMMSS
|
||||||
notation. A time relative to the start time is indicated with +N,
|
notation. A time relative to the start time is indicated with \fB+N\fP,
|
||||||
which is N seconds from the start time. A time relative to the
|
which is N seconds from the start time. A time relative to the
|
||||||
current time is indicated with now+N. If no \fBend\-time\fP is
|
current time is indicated with \fBnow+N\fP\&. If no \fBend\-time\fP is
|
||||||
specified, 30 days from the start time is used as a default.
|
specified, 30 days from the start time is the default.
|
||||||
\fBend\-time\fP must be later than \fBstart\-time\fP\&.
|
\fBend\-time\fP must be later than \fBstart\-time\fP\&.
|
||||||
.TP
|
.TP
|
||||||
\fB\-X\fP extended end\-time
|
.B \fB\-X extended end\-time\fP
|
||||||
Specify the date and time when the generated RRSIG records for the
|
This option specifies the date and time when the generated RRSIG records for the
|
||||||
DNSKEY RRset will expire. This is to be used in cases when the DNSKEY
|
DNSKEY RRset expire. This is to be used in cases when the DNSKEY
|
||||||
signatures need to persist longer than signatures on other records;
|
signatures need to persist longer than signatures on other records;
|
||||||
e.g., when the private component of the KSK is kept offline and the
|
e.g., when the private component of the KSK is kept offline and the
|
||||||
KSK signature is to be refreshed manually.
|
KSK signature is to be refreshed manually.
|
||||||
.sp
|
.sp
|
||||||
As with \fBstart\-time\fP, an absolute time is indicated in
|
As with \fBend\-time\fP, an absolute time is indicated in
|
||||||
YYYYMMDDHHMMSS notation. A time relative to the start time is
|
YYYYMMDDHHMMSS notation. A time relative to the start time is
|
||||||
indicated with +N, which is N seconds from the start time. A time
|
indicated with \fB+N\fP, which is N seconds from the start time. A time
|
||||||
relative to the current time is indicated with now+N. If no
|
relative to the current time is indicated with \fBnow+N\fP\&. If no
|
||||||
\fBextended end\-time\fP is specified, the value of \fBend\-time\fP is used
|
\fBextended end\-time\fP is specified, the value of \fBend\-time\fP is used
|
||||||
as the default. (\fBend\-time\fP, in turn, defaults to 30 days from the
|
as the default. (\fBend\-time\fP, in turn, defaults to 30 days from the
|
||||||
start time.) \fBextended end\-time\fP must be later than \fBstart\-time\fP\&.
|
start time.) \fBextended end\-time\fP must be later than \fBstart\-time\fP\&.
|
||||||
.TP
|
.TP
|
||||||
\fB\-f\fP output\-file
|
.B \fB\-f output\-file\fP
|
||||||
The name of the output file containing the signed zone. The default
|
This option indicates the name of the output file containing the signed zone. The default
|
||||||
is to append \fB\&.signed\fP to the input filename. If \fBoutput\-file\fP is
|
is to append \fB\&.signed\fP to the input filename. If \fBoutput\-file\fP is
|
||||||
set to \fB"\-"\fP, then the signed zone is written to the standard
|
set to \fB\-\fP, then the signed zone is written to the standard
|
||||||
output, with a default output format of "full".
|
output, with a default output format of \fBfull\fP\&.
|
||||||
.TP
|
.TP
|
||||||
\fB\-h\fP
|
.B \fB\-h\fP
|
||||||
Prints a short summary of the options and arguments to
|
This option prints a short summary of the options and arguments to
|
||||||
\fBdnssec\-signzone\fP\&.
|
\fBdnssec\-signzone\fP\&.
|
||||||
.TP
|
.TP
|
||||||
\fB\-V\fP
|
.B \fB\-V\fP
|
||||||
Prints version information.
|
This option prints version information.
|
||||||
.TP
|
.TP
|
||||||
\fB\-i\fP interval
|
.B \fB\-i interval\fP
|
||||||
When a previously\-signed zone is passed as input, records may be
|
This option indicates that, when a previously signed zone is passed as input, records may be
|
||||||
resigned. The \fBinterval\fP option specifies the cycle interval as an
|
re\-signed. The \fBinterval\fP option specifies the cycle interval as an
|
||||||
offset from the current time (in seconds). If a RRSIG record expires
|
offset from the current time, in seconds. If a RRSIG record expires
|
||||||
after the cycle interval, it is retained. Otherwise, it is considered
|
after the cycle interval, it is retained; otherwise, it is considered
|
||||||
to be expiring soon, and it will be replaced.
|
to be expiring soon and it is replaced.
|
||||||
.sp
|
.sp
|
||||||
The default cycle interval is one quarter of the difference between
|
The default cycle interval is one quarter of the difference between
|
||||||
the signature end and start times. So if neither \fBend\-time\fP or
|
the signature end and start times. So if neither \fBend\-time\fP nor
|
||||||
\fBstart\-time\fP are specified, \fBdnssec\-signzone\fP generates
|
\fBstart\-time\fP is specified, \fBdnssec\-signzone\fP generates
|
||||||
signatures that are valid for 30 days, with a cycle interval of 7.5
|
signatures that are valid for 30 days, with a cycle interval of 7.5
|
||||||
days. Therefore, if any existing RRSIG records are due to expire in
|
days. Therefore, if any existing RRSIG records are due to expire in
|
||||||
less than 7.5 days, they would be replaced.
|
less than 7.5 days, they are replaced.
|
||||||
.TP
|
.TP
|
||||||
\fB\-I\fP input\-format
|
.B \fB\-I input\-format\fP
|
||||||
The format of the input zone file. Possible formats are \fB"text"\fP
|
This option sets the format of the input zone file. Possible formats are \fBtext\fP
|
||||||
(default), \fB"raw"\fP, and \fB"map"\fP\&. This option is primarily
|
(the default), \fBraw\fP, and \fBmap\fP\&. This option is primarily
|
||||||
intended to be used for dynamic signed zones so that the dumped zone
|
intended to be used for dynamic signed zones, so that the dumped zone
|
||||||
file in a non\-text format containing updates can be signed directly.
|
file in a non\-text format containing updates can be signed directly.
|
||||||
The use of this option does not make much sense for non\-dynamic
|
This option is not useful for non\-dynamic zones.
|
||||||
zones.
|
|
||||||
.TP
|
.TP
|
||||||
\fB\-j\fP jitter
|
.B \fB\-j jitter\fP
|
||||||
When signing a zone with a fixed signature lifetime, all RRSIG
|
When signing a zone with a fixed signature lifetime, all RRSIG
|
||||||
records issued at the time of signing expires simultaneously. If the
|
records issued at the time of signing expire simultaneously. If the
|
||||||
zone is incrementally signed, i.e. a previously\-signed zone is passed
|
zone is incrementally signed, i.e., a previously signed zone is passed
|
||||||
as input to the signer, all expired signatures have to be regenerated
|
as input to the signer, all expired signatures must be regenerated
|
||||||
at about the same time. The \fBjitter\fP option specifies a jitter
|
at approximately the same time. The \fBjitter\fP option specifies a jitter
|
||||||
window that will be used to randomize the signature expire time, thus
|
window that is used to randomize the signature expire time, thus
|
||||||
spreading incremental signature regeneration over time.
|
spreading incremental signature regeneration over time.
|
||||||
.sp
|
.sp
|
||||||
Signature lifetime jitter also to some extent benefits validators and
|
Signature lifetime jitter also, to some extent, benefits validators and
|
||||||
servers by spreading out cache expiration, i.e. if large numbers of
|
servers by spreading out cache expiration, i.e., if large numbers of
|
||||||
RRSIGs don\(aqt expire at the same time from all caches there will be
|
RRSIGs do not expire at the same time from all caches, there is
|
||||||
less congestion than if all validators need to refetch at mostly the
|
less congestion than if all validators need to refetch at around the
|
||||||
same time.
|
same time.
|
||||||
.TP
|
.TP
|
||||||
\fB\-L\fP serial
|
.B \fB\-L serial\fP
|
||||||
When writing a signed zone to "raw" or "map" format, set the "source
|
When writing a signed zone to "raw" or "map" format, this option sets the "source
|
||||||
serial" value in the header to the specified serial number. (This is
|
serial" value in the header to the specified \fBserial\fP number. (This is
|
||||||
expected to be used primarily for testing purposes.)
|
expected to be used primarily for testing purposes.)
|
||||||
.TP
|
.TP
|
||||||
\fB\-n\fP ncpus
|
.B \fB\-n ncpus\fP
|
||||||
Specifies the number of threads to use. By default, one thread is
|
This option specifies the number of threads to use. By default, one thread is
|
||||||
started for each detected CPU.
|
started for each detected CPU.
|
||||||
.TP
|
.TP
|
||||||
\fB\-N\fP soa\-serial\-format
|
.B \fB\-N soa\-serial\-format\fP
|
||||||
The SOA serial number format of the signed zone. Possible formats are
|
This option sets the SOA serial number format of the signed zone. Possible formats are
|
||||||
\fB"keep"\fP (default), \fB"increment"\fP, \fB"unixtime"\fP, and
|
\fBkeep\fP (the default), \fBincrement\fP, \fBunixtime\fP, and
|
||||||
\fB"date"\fP\&.
|
\fBdate\fP\&.
|
||||||
.INDENT 7.0
|
.INDENT 7.0
|
||||||
.TP
|
.TP
|
||||||
.B \fB"keep"\fP
|
\fBkeep\fP
|
||||||
Do not modify the SOA serial number.
|
This format indicates that the SOA serial number should not be modified.
|
||||||
.TP
|
.TP
|
||||||
.B \fB"increment"\fP
|
\fBincrement\fP
|
||||||
Increment the SOA serial number using \fI\%RFC 1982\fP arithmetic.
|
This format increments the SOA serial number using \fI\%RFC 1982\fP arithmetic.
|
||||||
.TP
|
.TP
|
||||||
.B \fB"unixtime"\fP
|
\fBunixtime\fP
|
||||||
Set the SOA serial number to the number of seconds since epoch.
|
This format sets the SOA serial number to the number of seconds since the beginning of the Unix epoch.
|
||||||
.TP
|
.TP
|
||||||
.B \fB"date"\fP
|
\fBdate\fP
|
||||||
Set the SOA serial number to today\(aqs date in YYYYMMDDNN format.
|
This format sets the SOA serial number to today\(aqs date, in YYYYMMDDNN format.
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.TP
|
.TP
|
||||||
\fB\-o\fP origin
|
.B \fB\-o origin\fP
|
||||||
The zone origin. If not specified, the name of the zone file is
|
This option sets the zone origin. If not specified, the name of the zone file is
|
||||||
assumed to be the origin.
|
assumed to be the origin.
|
||||||
.TP
|
.TP
|
||||||
\fB\-O\fP output\-format
|
.B \fB\-O output\-format\fP
|
||||||
The format of the output file containing the signed zone. Possible
|
This option sets the format of the output file containing the signed zone. Possible
|
||||||
formats are \fB"text"\fP (default), which is the standard textual
|
formats are \fBtext\fP (the default), which is the standard textual
|
||||||
representation of the zone; \fB"full"\fP, which is text output in a
|
representation of the zone; \fBfull\fP, which is text output in a
|
||||||
format suitable for processing by external scripts; and \fB"map"\fP,
|
format suitable for processing by external scripts; and \fBmap\fP,
|
||||||
\fB"raw"\fP, and \fB"raw=N"\fP, which store the zone in binary formats
|
\fBraw\fP, and \fBraw=N\fP, which store the zone in binary formats
|
||||||
for rapid loading by \fBnamed\fP\&. \fB"raw=N"\fP specifies the format
|
for rapid loading by \fBnamed\fP\&. \fBraw=N\fP specifies the format
|
||||||
version of the raw zone file: if N is 0, the raw file can be read by
|
version of the raw zone file: if N is 0, the raw file can be read by
|
||||||
any version of \fBnamed\fP; if N is 1, the file can be read by release
|
any version of \fBnamed\fP; if N is 1, the file can be read by release
|
||||||
9.9.0 or higher; the default is 1.
|
9.9.0 or higher. The default is 1.
|
||||||
.TP
|
.TP
|
||||||
\fB\-P\fP
|
.B \fB\-P\fP
|
||||||
Disable post sign verification tests.
|
This option disables post\-sign verification tests.
|
||||||
.sp
|
.sp
|
||||||
The post sign verification test ensures that for each algorithm in
|
The post\-sign verification tests ensure that for each algorithm in
|
||||||
use there is at least one non revoked self signed KSK key, that all
|
use there is at least one non\-revoked self\-signed KSK key, that all
|
||||||
revoked KSK keys are self signed, and that all records in the zone
|
revoked KSK keys are self\-signed, and that all records in the zone
|
||||||
are signed by the algorithm. This option skips these tests.
|
are signed by the algorithm. This option skips these tests.
|
||||||
.TP
|
.TP
|
||||||
\fB\-Q\fP
|
.B \fB\-Q\fP
|
||||||
Remove signatures from keys that are no longer active.
|
This option removes signatures from keys that are no longer active.
|
||||||
.sp
|
.sp
|
||||||
Normally, when a previously\-signed zone is passed as input to the
|
Normally, when a previously signed zone is passed as input to the
|
||||||
signer, and a DNSKEY record has been removed and replaced with a new
|
signer, and a DNSKEY record has been removed and replaced with a new
|
||||||
one, signatures from the old key that are still within their validity
|
one, signatures from the old key that are still within their validity
|
||||||
period are retained. This allows the zone to continue to validate
|
period are retained. This allows the zone to continue to validate
|
||||||
with cached copies of the old DNSKEY RRset. The \fB\-Q\fP forces
|
with cached copies of the old DNSKEY RRset. The \fB\-Q\fP option forces
|
||||||
\fBdnssec\-signzone\fP to remove signatures from keys that are no longer
|
\fBdnssec\-signzone\fP to remove signatures from keys that are no longer
|
||||||
active. This enables ZSK rollover using the procedure described in
|
active. This enables ZSK rollover using the procedure described in
|
||||||
\fI\%RFC 4641#4.2.1.1\fP ("Pre\-Publish Key Rollover").
|
\fI\%RFC 4641#4.2.1.1\fP ("Pre\-Publish Key Rollover").
|
||||||
.TP
|
.TP
|
||||||
.B \fB\-q\fP
|
.B \fB\-q\fP
|
||||||
Quiet mode: Suppresses unnecessary output. Without this option, when
|
This option enables quiet mode, which suppresses unnecessary output. Without this option, when
|
||||||
\fBdnssec\-signzone\fP is run it will print to standard output the number of
|
\fBdnssec\-signzone\fP is run it prints three pieces of information to standard output: the number of
|
||||||
keys in use, the algorithms used to verify the zone was signed correctly and
|
keys in use; the algorithms used to verify the zone was signed correctly and
|
||||||
other status information, and finally the filename containing the signed
|
other status information; and the filename containing the signed
|
||||||
zone. With it, that output is suppressed, leaving only the filename.
|
zone. With the option that output is suppressed, leaving only the filename.
|
||||||
.TP
|
.TP
|
||||||
\fB\-R\fP
|
.B \fB\-R\fP
|
||||||
Remove signatures from keys that are no longer published.
|
This option removes signatures from keys that are no longer published.
|
||||||
.sp
|
.sp
|
||||||
This option is similar to \fB\-Q\fP, except it forces
|
This option is similar to \fB\-Q\fP, except it forces
|
||||||
\fBdnssec\-signzone\fP to signatures from keys that are no longer
|
\fBdnssec\-signzone\fP to remove signatures from keys that are no longer
|
||||||
published. This enables ZSK rollover using the procedure described in
|
published. This enables ZSK rollover using the procedure described in
|
||||||
\fI\%RFC 4641#4.2.1.2\fP ("Double Signature Zone Signing Key
|
\fI\%RFC 4641#4.2.1.2\fP ("Double Signature Zone Signing Key
|
||||||
Rollover").
|
Rollover").
|
||||||
.TP
|
.TP
|
||||||
\fB\-S\fP
|
.B \fB\-S\fP
|
||||||
Smart signing: Instructs \fBdnssec\-signzone\fP to search the key
|
This option enables smart signing, which instructs \fBdnssec\-signzone\fP to search the key
|
||||||
repository for keys that match the zone being signed, and to include
|
repository for keys that match the zone being signed, and to include
|
||||||
them in the zone if appropriate.
|
them in the zone if appropriate.
|
||||||
.sp
|
.sp
|
||||||
@@ -277,95 +276,95 @@ published in the zone and used to sign the zone.
|
|||||||
If the key\(aqs publication date is set and is in the past, the key
|
If the key\(aqs publication date is set and is in the past, the key
|
||||||
is published in the zone.
|
is published in the zone.
|
||||||
.sp
|
.sp
|
||||||
If the key\(aqs activation date is set and in the past, the key is
|
If the key\(aqs activation date is set and is in the past, the key is
|
||||||
published (regardless of publication date) and used to sign the
|
published (regardless of publication date) and used to sign the
|
||||||
zone.
|
zone.
|
||||||
.sp
|
.sp
|
||||||
If the key\(aqs revocation date is set and in the past, and the key
|
If the key\(aqs revocation date is set and is in the past, and the key
|
||||||
is published, then the key is revoked, and the revoked key is used
|
is published, then the key is revoked, and the revoked key is used
|
||||||
to sign the zone.
|
to sign the zone.
|
||||||
.sp
|
.sp
|
||||||
If either of the key\(aqs unpublication or deletion dates are set and
|
If either the key\(aqs unpublication or deletion date is set and
|
||||||
in the past, the key is NOT published or used to sign the zone,
|
in the past, the key is NOT published or used to sign the zone,
|
||||||
regardless of any other metadata.
|
regardless of any other metadata.
|
||||||
.sp
|
.sp
|
||||||
If key\(aqs sync publication date is set and in the past,
|
If the key\(aqs sync publication date is set and is in the past,
|
||||||
synchronization records (type CDS and/or CDNSKEY) are created.
|
synchronization records (type CDS and/or CDNSKEY) are created.
|
||||||
.sp
|
.sp
|
||||||
If key\(aqs sync deletion date is set and in the past,
|
If the key\(aqs sync deletion date is set and is in the past,
|
||||||
synchronization records (type CDS and/or CDNSKEY) are removed.
|
synchronization records (type CDS and/or CDNSKEY) are removed.
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.TP
|
.TP
|
||||||
\fB\-T\fP ttl
|
.B \fB\-T ttl\fP
|
||||||
Specifies a TTL to be used for new DNSKEY records imported into the
|
This option specifies a TTL to be used for new DNSKEY records imported into the
|
||||||
zone from the key repository. If not specified, the default is the
|
zone from the key repository. If not specified, the default is the
|
||||||
TTL value from the zone\(aqs SOA record. This option is ignored when
|
TTL value from the zone\(aqs SOA record. This option is ignored when
|
||||||
signing without \fB\-S\fP, since DNSKEY records are not imported from
|
signing without \fB\-S\fP, since DNSKEY records are not imported from
|
||||||
the key repository in that case. It is also ignored if there are any
|
the key repository in that case. It is also ignored if there are any
|
||||||
pre\-existing DNSKEY records at the zone apex, in which case new
|
pre\-existing DNSKEY records at the zone apex, in which case new
|
||||||
records\(aq TTL values will be set to match them, or if any of the
|
records\(aq TTL values are set to match them, or if any of the
|
||||||
imported DNSKEY records had a default TTL value. In the event of a a
|
imported DNSKEY records had a default TTL value. In the event of a
|
||||||
conflict between TTL values in imported keys, the shortest one is
|
conflict between TTL values in imported keys, the shortest one is
|
||||||
used.
|
used.
|
||||||
.TP
|
.TP
|
||||||
\fB\-t\fP
|
.B \fB\-t\fP
|
||||||
Print statistics at completion.
|
This option prints statistics at completion.
|
||||||
.TP
|
.TP
|
||||||
\fB\-u\fP
|
.B \fB\-u\fP
|
||||||
Update NSEC/NSEC3 chain when re\-signing a previously signed zone.
|
This option updates the NSEC/NSEC3 chain when re\-signing a previously signed zone.
|
||||||
With this option, a zone signed with NSEC can be switched to NSEC3,
|
With this option, a zone signed with NSEC can be switched to NSEC3,
|
||||||
or a zone signed with NSEC3 can be switch to NSEC or to NSEC3 with
|
or a zone signed with NSEC3 can be switched to NSEC or to NSEC3 with
|
||||||
different parameters. Without this option, \fBdnssec\-signzone\fP will
|
different parameters. Without this option, \fBdnssec\-signzone\fP
|
||||||
retain the existing chain when re\-signing.
|
retains the existing chain when re\-signing.
|
||||||
.TP
|
.TP
|
||||||
\fB\-v\fP level
|
.B \fB\-v level\fP
|
||||||
Sets the debugging level.
|
This option sets the debugging level.
|
||||||
.TP
|
.TP
|
||||||
\fB\-x\fP
|
.B \fB\-x\fP
|
||||||
Only sign the DNSKEY, CDNSKEY, and CDS RRsets with key\-signing keys,
|
This option indicates that BIND 9 should only sign the DNSKEY, CDNSKEY, and CDS RRsets with key\-signing keys,
|
||||||
and omit signatures from zone\-signing keys. (This is similar to the
|
and should omit signatures from zone\-signing keys. (This is similar to the
|
||||||
\fBdnssec\-dnskey\-kskonly yes;\fP zone option in \fBnamed\fP\&.)
|
\fBdnssec\-dnskey\-kskonly yes;\fP zone option in \fBnamed\fP\&.)
|
||||||
.TP
|
.TP
|
||||||
\fB\-z\fP
|
.B \fB\-z\fP
|
||||||
Ignore KSK flag on key when determining what to sign. This causes
|
This option indicates that BIND 9 should ignore the KSK flag on keys when determining what to sign. This causes
|
||||||
KSK\-flagged keys to sign all records, not just the DNSKEY RRset.
|
KSK\-flagged keys to sign all records, not just the DNSKEY RRset.
|
||||||
(This is similar to the \fBupdate\-check\-ksk no;\fP zone option in
|
(This is similar to the \fBupdate\-check\-ksk no;\fP zone option in
|
||||||
\fBnamed\fP\&.)
|
\fBnamed\fP\&.)
|
||||||
.TP
|
.TP
|
||||||
\fB\-3\fP salt
|
.B \fB\-3 salt\fP
|
||||||
Generate an NSEC3 chain with the given hex encoded salt. A dash
|
This option generates an NSEC3 chain with the given hex\-encoded salt. A dash
|
||||||
(salt) can be used to indicate that no salt is to be used when
|
(\-) can be used to indicate that no salt is to be used when
|
||||||
generating the NSEC3 chain.
|
generating the NSEC3 chain.
|
||||||
.TP
|
.TP
|
||||||
\fB\-H\fP iterations
|
.B \fB\-H iterations\fP
|
||||||
When generating an NSEC3 chain, use this many iterations. The default
|
This option indicates that, when generating an NSEC3 chain, BIND 9 should use this many iterations. The default
|
||||||
is 10.
|
is 10.
|
||||||
.TP
|
.TP
|
||||||
\fB\-A\fP
|
.B \fB\-A\fP
|
||||||
When generating an NSEC3 chain set the OPTOUT flag on all NSEC3
|
This option indicates that, when generating an NSEC3 chain, BIND 9 should set the OPTOUT flag on all NSEC3
|
||||||
records and do not generate NSEC3 records for insecure delegations.
|
records and should not generate NSEC3 records for insecure delegations.
|
||||||
.sp
|
.sp
|
||||||
Using this option twice (i.e., \fB\-AA\fP) turns the OPTOUT flag off for
|
Using this option twice (i.e., \fB\-AA\fP) turns the OPTOUT flag off for
|
||||||
all records. This is useful when using the \fB\-u\fP option to modify an
|
all records. This is useful when using the \fB\-u\fP option to modify an
|
||||||
NSEC3 chain which previously had OPTOUT set.
|
NSEC3 chain which previously had OPTOUT set.
|
||||||
.TP
|
.TP
|
||||||
\fBzonefile\fP
|
.B \fBzonefile\fP
|
||||||
The file containing the zone to be signed.
|
This option sets the file containing the zone to be signed.
|
||||||
.TP
|
.TP
|
||||||
\fBkey\fP
|
.B \fBkey\fP
|
||||||
Specify which keys should be used to sign the zone. If no keys are
|
This option specifies which keys should be used to sign the zone. If no keys are
|
||||||
specified, then the zone will be examined for DNSKEY records at the
|
specified, the zone is examined for DNSKEY records at the
|
||||||
zone apex. If these are found and there are matching private keys, in
|
zone apex. If these records are found and there are matching private keys in
|
||||||
the current directory, then these will be used for signing.
|
the current directory, they are used for signing.
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.SH EXAMPLE
|
.SH EXAMPLE
|
||||||
.sp
|
.sp
|
||||||
The following command signs the \fBexample.com\fP zone with the
|
The following command signs the \fBexample.com\fP zone with the
|
||||||
ECDSAP256SHA256 key generated by key generated by \fBdnssec\-keygen\fP
|
ECDSAP256SHA256 key generated by \fBdnssec\-keygen\fP
|
||||||
(Kexample.com.+013+17247). Because the \fB\-S\fP option is not being used,
|
(Kexample.com.+013+17247). Because the \fB\-S\fP option is not being used,
|
||||||
the zone\(aqs keys must be in the master file (\fBdb.example.com\fP). This
|
the zone\(aqs keys must be in the master file (\fBdb.example.com\fP). This
|
||||||
invocation looks for \fBdsset\fP files, in the current directory, so that
|
invocation looks for \fBdsset\fP files in the current directory, so that
|
||||||
DS records can be imported from them (\fB\-g\fP).
|
DS records can be imported from them (\fB\-g\fP).
|
||||||
.INDENT 0.0
|
.INDENT 0.0
|
||||||
.INDENT 3.5
|
.INDENT 3.5
|
||||||
@@ -383,7 +382,7 @@ db.example.com.signed
|
|||||||
.sp
|
.sp
|
||||||
In the above example, \fBdnssec\-signzone\fP creates the file
|
In the above example, \fBdnssec\-signzone\fP creates the file
|
||||||
\fBdb.example.com.signed\fP\&. This file should be referenced in a zone
|
\fBdb.example.com.signed\fP\&. This file should be referenced in a zone
|
||||||
statement in a \fBnamed.conf\fP file.
|
statement in the \fBnamed.conf\fP file.
|
||||||
.sp
|
.sp
|
||||||
This example re\-signs a previously signed zone with default parameters.
|
This example re\-signs a previously signed zone with default parameters.
|
||||||
The private keys are assumed to be in the current directory.
|
The private keys are assumed to be in the current directory.
|
||||||
|
@@ -36,71 +36,71 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
|||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.sp
|
.sp
|
||||||
\fBdnssec\-verify\fP verifies that a zone is fully signed for each
|
\fBdnssec\-verify\fP verifies that a zone is fully signed for each
|
||||||
algorithm found in the DNSKEY RRset for the zone, and that the NSEC /
|
algorithm found in the DNSKEY RRset for the zone, and that the
|
||||||
NSEC3 chains are complete.
|
NSEC/NSEC3 chains are complete.
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.INDENT 0.0
|
.INDENT 0.0
|
||||||
.TP
|
.TP
|
||||||
\fB\-c\fP class
|
.B \fB\-c class\fP
|
||||||
Specifies the DNS class of the zone.
|
This option specifies the DNS class of the zone.
|
||||||
.TP
|
.TP
|
||||||
\fB\-E\fP engine
|
.B \fB\-E engine\fP
|
||||||
Specifies the cryptographic hardware to use, when applicable.
|
This option specifies the cryptographic hardware to use, when applicable.
|
||||||
.sp
|
.sp
|
||||||
When BIND is built with OpenSSL PKCS#11 support, this defaults to the
|
When BIND is built with OpenSSL PKCS#11 support, this defaults to the
|
||||||
string "pkcs11", which identifies an OpenSSL engine that can drive a
|
string \fBpkcs11\fP, which identifies an OpenSSL engine that can drive a
|
||||||
cryptographic accelerator or hardware service module. When BIND is
|
cryptographic accelerator or hardware service module. When BIND is
|
||||||
built with native PKCS#11 cryptography (\-\-enable\-native\-pkcs11), it
|
built with native PKCS#11 cryptography (\fB\-\-enable\-native\-pkcs11\fP), it
|
||||||
defaults to the path of the PKCS#11 provider library specified via
|
defaults to the path of the PKCS#11 provider library specified via
|
||||||
"\-\-with\-pkcs11".
|
\fB\-\-with\-pkcs11\fP\&.
|
||||||
.TP
|
.TP
|
||||||
\fB\-I\fP input\-format
|
.B \fB\-I input\-format\fP
|
||||||
The format of the input zone file. Possible formats are \fB"text"\fP
|
This option sets the format of the input zone file. Possible formats are \fBtext\fP
|
||||||
(default) and \fB"raw"\fP\&. This option is primarily intended to be used
|
(the default) and \fBraw\fP\&. This option is primarily intended to be used
|
||||||
for dynamic signed zones so that the dumped zone file in a non\-text
|
for dynamic signed zones, so that the dumped zone file in a non\-text
|
||||||
format containing updates can be verified independently. The use of
|
format containing updates can be verified independently.
|
||||||
this option does not make much sense for non\-dynamic zones.
|
This option is not useful for non\-dynamic zones.
|
||||||
.TP
|
.TP
|
||||||
\fB\-o\fP origin
|
.B \fB\-o origin\fP
|
||||||
The zone origin. If not specified, the name of the zone file is
|
This option indicates the zone origin. If not specified, the name of the zone file is
|
||||||
assumed to be the origin.
|
assumed to be the origin.
|
||||||
.TP
|
.TP
|
||||||
\fB\-v\fP level
|
.B \fB\-v level\fP
|
||||||
Sets the debugging level.
|
This option sets the debugging level.
|
||||||
.TP
|
.TP
|
||||||
\fB\-V\fP
|
.B \fB\-V\fP
|
||||||
Prints version information.
|
This option prints version information.
|
||||||
.TP
|
.TP
|
||||||
.B \fB\-q\fP
|
.B \fB\-q\fP
|
||||||
Quiet mode: Suppresses output. Without this option, when \fBdnssec\-verify\fP
|
This option sets quiet mode, which suppresses output. Without this option, when \fBdnssec\-verify\fP
|
||||||
is run it will print to standard output the number of keys in use, the
|
is run it prints to standard output the number of keys in use, the
|
||||||
algorithms used to verify the zone was signed correctly and other status
|
algorithms used to verify the zone was signed correctly, and other status
|
||||||
information. With it, all non\-error output is suppressed, and only the exit
|
information. With this option, all non\-error output is suppressed, and only the exit
|
||||||
code will indicate success.
|
code indicates success.
|
||||||
.TP
|
.TP
|
||||||
\fB\-x\fP
|
.B \fB\-x\fP
|
||||||
Only verify that the DNSKEY RRset is signed with key\-signing keys.
|
This option verifies only that the DNSKEY RRset is signed with key\-signing keys.
|
||||||
Without this flag, it is assumed that the DNSKEY RRset will be signed
|
Without this flag, it is assumed that the DNSKEY RRset is signed
|
||||||
by all active keys. When this flag is set, it will not be an error if
|
by all active keys. When this flag is set, it is not an error if
|
||||||
the DNSKEY RRset is not signed by zone\-signing keys. This corresponds
|
the DNSKEY RRset is not signed by zone\-signing keys. This corresponds
|
||||||
to the \fB\-x\fP option in \fBdnssec\-signzone\fP\&.
|
to the \fB\-x\fP option in \fBdnssec\-signzone\fP\&.
|
||||||
.TP
|
.TP
|
||||||
\fB\-z\fP
|
.B \fB\-z\fP
|
||||||
Ignore the KSK flag on the keys when determining whether the zone if
|
This option indicates that the KSK flag on the keys should be ignored when determining whether the zone is
|
||||||
correctly signed. Without this flag it is assumed that there will be
|
correctly signed. Without this flag, it is assumed that there is
|
||||||
a non\-revoked, self\-signed DNSKEY with the KSK flag set for each
|
a non\-revoked, self\-signed DNSKEY with the KSK flag set for each
|
||||||
algorithm and that RRsets other than DNSKEY RRset will be signed with
|
algorithm, and that RRsets other than DNSKEY RRset are signed with
|
||||||
a different DNSKEY without the KSK flag set.
|
a different DNSKEY without the KSK flag set.
|
||||||
.sp
|
.sp
|
||||||
With this flag set, we only require that for each algorithm, there
|
With this flag set, BIND 9 only requires that for each algorithm, there
|
||||||
will be at least one non\-revoked, self\-signed DNSKEY, regardless of
|
be at least one non\-revoked, self\-signed DNSKEY, regardless of
|
||||||
the KSK flag state, and that other RRsets will be signed by a
|
the KSK flag state, and that other RRsets be signed by a
|
||||||
non\-revoked key for the same algorithm that includes the self\-signed
|
non\-revoked key for the same algorithm that includes the self\-signed
|
||||||
key; the same key may be used for both purposes. This corresponds to
|
key; the same key may be used for both purposes. This corresponds to
|
||||||
the \fB\-z\fP option in \fBdnssec\-signzone\fP\&.
|
the \fB\-z\fP option in \fBdnssec\-signzone\fP\&.
|
||||||
.TP
|
.TP
|
||||||
\fBzonefile\fP
|
.B \fBzonefile\fP
|
||||||
The file containing the zone to be signed.
|
This option indicates the file containing the zone to be signed.
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
.sp
|
.sp
|
||||||
|
@@ -37,24 +37,24 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
|||||||
.sp
|
.sp
|
||||||
\fBdnstap\-read\fP reads \fBdnstap\fP data from a specified file and prints
|
\fBdnstap\-read\fP reads \fBdnstap\fP data from a specified file and prints
|
||||||
it in a human\-readable format. By default, \fBdnstap\fP data is printed in
|
it in a human\-readable format. By default, \fBdnstap\fP data is printed in
|
||||||
a short summary format, but if the \fB\-y\fP option is specified, then a
|
a short summary format, but if the \fB\-y\fP option is specified, a
|
||||||
longer and more detailed YAML format is used instead.
|
longer and more detailed YAML format is used.
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.INDENT 0.0
|
.INDENT 0.0
|
||||||
.TP
|
.TP
|
||||||
\fB\-m\fP
|
.B \fB\-m\fP
|
||||||
Trace memory allocations; used for debugging memory leaks.
|
This option indicates trace memory allocations, and is used for debugging memory leaks.
|
||||||
.TP
|
.TP
|
||||||
\fB\-p\fP
|
.B \fB\-p\fP
|
||||||
After printing the \fBdnstap\fP data, print the text form of the DNS
|
This option prints the text form of the DNS
|
||||||
message that was encapsulated in the \fBdnstap\fP frame.
|
message that was encapsulated in the \fBdnstap\fP frame, after printing the \fBdnstap\fP data.
|
||||||
.TP
|
.TP
|
||||||
\fB\-x\fP
|
.B \fB\-x\fP
|
||||||
After printing the \fBdnstap\fP data, print a hex dump of the wire form
|
This option prints a hex dump of the wire form
|
||||||
of the DNS message that was encapsulated in the \fBdnstap\fP frame.
|
of the DNS message that was encapsulated in the \fBdnstap\fP frame, after printing the \fBdnstap\fP data.
|
||||||
.TP
|
.TP
|
||||||
\fB\-y\fP
|
.B \fB\-y\fP
|
||||||
Print \fBdnstap\fP data in a detailed YAML format.
|
This option prints \fBdnstap\fP data in a detailed YAML format.
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
.sp
|
.sp
|
||||||
|
@@ -41,7 +41,7 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
|||||||
Until BIND 9.12, this feature was implemented natively in \fBnamed\fP and
|
Until BIND 9.12, this feature was implemented natively in \fBnamed\fP and
|
||||||
enabled with the \fBfilter\-aaaa\fP ACL and the \fBfilter\-aaaa\-on\-v4\fP and
|
enabled with the \fBfilter\-aaaa\fP ACL and the \fBfilter\-aaaa\-on\-v4\fP and
|
||||||
\fBfilter\-aaaa\-on\-v6\fP options. These options are now deprecated in
|
\fBfilter\-aaaa\-on\-v6\fP options. These options are now deprecated in
|
||||||
\fBnamed.conf\fP, but can be passed as parameters to the
|
\fBnamed.conf\fP but can be passed as parameters to the
|
||||||
\fBfilter\-aaaa.so\fP plugin, for example:
|
\fBfilter\-aaaa.so\fP plugin, for example:
|
||||||
.INDENT 0.0
|
.INDENT 0.0
|
||||||
.INDENT 3.5
|
.INDENT 3.5
|
||||||
@@ -67,21 +67,21 @@ necessary.
|
|||||||
Note: This mechanism can erroneously cause other servers not to give
|
Note: This mechanism can erroneously cause other servers not to give
|
||||||
AAAA records to their clients. If a recursing server with both IPv6 and
|
AAAA records to their clients. If a recursing server with both IPv6 and
|
||||||
IPv4 network connections queries an authoritative server using this
|
IPv4 network connections queries an authoritative server using this
|
||||||
mechanism via IPv4, it will be denied AAAA records even if its client is
|
mechanism via IPv4, it is denied AAAA records even if its client is
|
||||||
using IPv6.
|
using IPv6.
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.INDENT 0.0
|
.INDENT 0.0
|
||||||
.TP
|
.TP
|
||||||
.B \fBfilter\-aaaa\fP
|
.B \fBfilter\-aaaa\fP
|
||||||
Specifies a list of client addresses for which AAAA filtering is to
|
This option specifies a list of client addresses for which AAAA filtering is to
|
||||||
be applied. The default is \fBany\fP\&.
|
be applied. The default is \fBany\fP\&.
|
||||||
.TP
|
.TP
|
||||||
.B \fBfilter\-aaaa\-on\-v4\fP
|
.B \fBfilter\-aaaa\-on\-v4\fP
|
||||||
If set to \fByes\fP, the DNS client is at an IPv4 address, in
|
If set to \fByes\fP, this option indicates that the DNS client is at an IPv4 address, in
|
||||||
\fBfilter\-aaaa\fP, and if the response does not include DNSSEC
|
\fBfilter\-aaaa\fP\&. If the response does not include DNSSEC
|
||||||
signatures, then all AAAA records are deleted from the response. This
|
signatures, then all AAAA records are deleted from the response. This
|
||||||
filtering applies to all responses and not only authoritative
|
filtering applies to all responses, not only authoritative
|
||||||
responses.
|
ones.
|
||||||
.sp
|
.sp
|
||||||
If set to \fBbreak\-dnssec\fP, then AAAA records are deleted even when
|
If set to \fBbreak\-dnssec\fP, then AAAA records are deleted even when
|
||||||
DNSSEC is enabled. As suggested by the name, this causes the response
|
DNSSEC is enabled. As suggested by the name, this causes the response
|
||||||
@@ -89,13 +89,13 @@ to fail to verify, because the DNSSEC protocol is designed to detect
|
|||||||
deletions.
|
deletions.
|
||||||
.sp
|
.sp
|
||||||
This mechanism can erroneously cause other servers not to give AAAA
|
This mechanism can erroneously cause other servers not to give AAAA
|
||||||
records to their clients. A recursing server with both IPv6 and IPv4
|
records to their clients. If a recursing server with both IPv6 and IPv4
|
||||||
network connections that queries an authoritative server using this
|
network connections queries an authoritative server using this
|
||||||
mechanism via IPv4 will be denied AAAA records even if its client is
|
mechanism via IPv4, it is denied AAAA records even if its client is
|
||||||
using IPv6.
|
using IPv6.
|
||||||
.TP
|
.TP
|
||||||
.B \fBfilter\-aaaa\-on\-v6\fP
|
.B \fBfilter\-aaaa\-on\-v6\fP
|
||||||
Identical to \fBfilter\-aaaa\-on\-v4\fP, except it filters AAAA responses
|
This option is identical to \fBfilter\-aaaa\-on\-v4\fP, except that it filters AAAA responses
|
||||||
to queries from IPv6 clients instead of IPv4 clients. To filter all
|
to queries from IPv6 clients instead of IPv4 clients. To filter all
|
||||||
responses, set both options to \fByes\fP\&.
|
responses, set both options to \fByes\fP\&.
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
|
134
doc/man/host.1in
134
doc/man/host.1in
@@ -37,123 +37,123 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
|||||||
.sp
|
.sp
|
||||||
\fBhost\fP is a simple utility for performing DNS lookups. It is normally
|
\fBhost\fP is a simple utility for performing DNS lookups. It is normally
|
||||||
used to convert names to IP addresses and vice versa. When no arguments
|
used to convert names to IP addresses and vice versa. When no arguments
|
||||||
or options are given, \fBhost\fP prints a short summary of its command
|
or options are given, \fBhost\fP prints a short summary of its
|
||||||
line arguments and options.
|
command\-line arguments and options.
|
||||||
.sp
|
.sp
|
||||||
\fBname\fP is the domain name that is to be looked up. It can also be a
|
\fBname\fP is the domain name that is to be looked up. It can also be a
|
||||||
dotted\-decimal IPv4 address or a colon\-delimited IPv6 address, in which
|
dotted\-decimal IPv4 address or a colon\-delimited IPv6 address, in which
|
||||||
case \fBhost\fP will by default perform a reverse lookup for that address.
|
case \fBhost\fP by default performs a reverse lookup for that address.
|
||||||
\fBserver\fP is an optional argument which is either the name or IP
|
\fBserver\fP is an optional argument which is either the name or IP
|
||||||
address of the name server that \fBhost\fP should query instead of the
|
address of the name server that \fBhost\fP should query instead of the
|
||||||
server or servers listed in \fB/etc/resolv.conf\fP\&.
|
server or servers listed in \fB/etc/resolv.conf\fP\&.
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.INDENT 0.0
|
.INDENT 0.0
|
||||||
.TP
|
.TP
|
||||||
\fB\-4\fP
|
.B \fB\-4\fP
|
||||||
Use IPv4 only for query transport. See also the \fB\-6\fP option.
|
This option specifies that only IPv4 should be used for query transport. See also the \fB\-6\fP option.
|
||||||
.TP
|
.TP
|
||||||
\fB\-6\fP
|
.B \fB\-6\fP
|
||||||
Use IPv6 only for query transport. See also the \fB\-4\fP option.
|
This option specifies that only IPv6 should be used for query transport. See also the \fB\-4\fP option.
|
||||||
.TP
|
.TP
|
||||||
\fB\-a\fP
|
.B \fB\-a\fP
|
||||||
"All". The \fB\-a\fP option is normally equivalent to \fB\-v \-t ANY\fP\&. It
|
The \fB\-a\fP ("all") option is normally equivalent to \fB\-v \-t ANY\fP\&. It
|
||||||
also affects the behaviour of the \fB\-l\fP list zone option.
|
also affects the behavior of the \fB\-l\fP list zone option.
|
||||||
.TP
|
.TP
|
||||||
\fB\-A\fP
|
.B \fB\-A\fP
|
||||||
"Almost all". The \fB\-A\fP option is equivalent to \fB\-a\fP except RRSIG,
|
The \fB\-A\fP ("almost all") option is equivalent to \fB\-a\fP, except that RRSIG,
|
||||||
NSEC, and NSEC3 records are omitted from the output.
|
NSEC, and NSEC3 records are omitted from the output.
|
||||||
.TP
|
.TP
|
||||||
\fB\-c\fP class
|
.B \fB\-c class\fP
|
||||||
Query class: This can be used to lookup HS (Hesiod) or CH (Chaosnet)
|
This option specifies the query class, which can be used to lookup HS (Hesiod) or CH (Chaosnet)
|
||||||
class resource records. The default class is IN (Internet).
|
class resource records. The default class is IN (Internet).
|
||||||
.TP
|
.TP
|
||||||
\fB\-C\fP
|
.B \fB\-C\fP
|
||||||
Check consistency: \fBhost\fP will query the SOA records for zone
|
This option indicates that \fBnamed\fP should check consistency, meaning that \fBhost\fP queries the SOA records for zone
|
||||||
\fBname\fP from all the listed authoritative name servers for that
|
\fBname\fP from all the listed authoritative name servers for that
|
||||||
zone. The list of name servers is defined by the NS records that are
|
zone. The list of name servers is defined by the NS records that are
|
||||||
found for the zone.
|
found for the zone.
|
||||||
.TP
|
.TP
|
||||||
\fB\-d\fP
|
.B \fB\-d\fP
|
||||||
Print debugging traces. Equivalent to the \fB\-v\fP verbose option.
|
This option prints debugging traces, and is equivalent to the \fB\-v\fP verbose option.
|
||||||
.TP
|
.TP
|
||||||
\fB\-l\fP
|
.B \fB\-l\fP
|
||||||
List zone: The \fBhost\fP command performs a zone transfer of zone
|
This option tells \fBnamed\(ga to list the zone, meaning the \(ga\(gahost\fP command performs a zone transfer of zone
|
||||||
\fBname\fP and prints out the NS, PTR and address records (A/AAAA).
|
\fBname\fP and prints out the NS, PTR, and address records (A/AAAA).
|
||||||
.sp
|
.sp
|
||||||
Together, the \fB\-l \-a\fP options print all records in the zone.
|
Together, the \fB\-l \-a\fP options print all records in the zone.
|
||||||
.TP
|
.TP
|
||||||
\fB\-N\fP ndots
|
.B \fB\-N ndots\fP
|
||||||
The number of dots that have to be in \fBname\fP for it to be
|
This option specifies the number of dots (\fBndots\fP) that have to be in \fBname\fP for it to be
|
||||||
considered absolute. The default value is that defined using the
|
considered absolute. The default value is that defined using the
|
||||||
ndots statement in \fB/etc/resolv.conf\fP, or 1 if no ndots statement
|
\fBndots\fP statement in \fB/etc/resolv.conf\fP, or 1 if no \fBndots\fP statement
|
||||||
is present. Names with fewer dots are interpreted as relative names
|
is present. Names with fewer dots are interpreted as relative names,
|
||||||
and will be searched for in the domains listed in the \fBsearch\fP or
|
and are searched for in the domains listed in the \fBsearch\fP or
|
||||||
\fBdomain\fP directive in \fB/etc/resolv.conf\fP\&.
|
\fBdomain\fP directive in \fB/etc/resolv.conf\fP\&.
|
||||||
.TP
|
.TP
|
||||||
\fB\-p\fP port
|
.B \fB\-p port\fP
|
||||||
Specify the port on the server to query. The default is 53.
|
This option specifies the port to query on the server. The default is 53.
|
||||||
.TP
|
.TP
|
||||||
\fB\-r\fP
|
.B \fB\-r\fP
|
||||||
Non\-recursive query: Setting this option clears the RD (recursion
|
This option specifies a non\-recursive query; setting this option clears the RD (recursion
|
||||||
desired) bit in the query. This should mean that the name server
|
desired) bit in the query. This means that the name server
|
||||||
receiving the query will not attempt to resolve \fBname\fP\&. The \fB\-r\fP
|
receiving the query does not attempt to resolve \fBname\fP\&. The \fB\-r\fP
|
||||||
option enables \fBhost\fP to mimic the behavior of a name server by
|
option enables \fBhost\fP to mimic the behavior of a name server by
|
||||||
making non\-recursive queries and expecting to receive answers to
|
making non\-recursive queries, and expecting to receive answers to
|
||||||
those queries that can be referrals to other name servers.
|
those queries that can be referrals to other name servers.
|
||||||
.TP
|
.TP
|
||||||
\fB\-R\fP number
|
.B \fB\-R number\fP
|
||||||
Number of retries for UDP queries: If \fBnumber\fP is negative or zero,
|
This option specifies the number of retries for UDP queries. If \fBnumber\fP is negative or zero,
|
||||||
the number of retries will default to 1. The default value is 1, or
|
the number of retries is silently set to 1. The default value is 1, or
|
||||||
the value of the \fBattempts\fP option in \fB/etc/resolv.conf\fP, if set.
|
the value of the \fBattempts\fP option in \fB/etc/resolv.conf\fP, if set.
|
||||||
.TP
|
.TP
|
||||||
\fB\-s\fP
|
.B \fB\-s\fP
|
||||||
Do \fInot\fP send the query to the next nameserver if any server responds
|
This option tells \fBnamed\fP \fInot\fP to send the query to the next nameserver if any server responds
|
||||||
with a SERVFAIL response, which is the reverse of normal stub
|
with a SERVFAIL response, which is the reverse of normal stub
|
||||||
resolver behavior.
|
resolver behavior.
|
||||||
.TP
|
.TP
|
||||||
\fB\-t\fP type
|
.B \fB\-t type\fP
|
||||||
Query type: The \fBtype\fP argument can be any recognized query type:
|
This option specifies the query type. The \fBtype\fP argument can be any recognized query type:
|
||||||
CNAME, NS, SOA, TXT, DNSKEY, AXFR, etc.
|
CNAME, NS, SOA, TXT, DNSKEY, AXFR, etc.
|
||||||
.sp
|
.sp
|
||||||
When no query type is specified, \fBhost\fP automatically selects an
|
When no query type is specified, \fBhost\fP automatically selects an
|
||||||
appropriate query type. By default, it looks for A, AAAA, and MX
|
appropriate query type. By default, it looks for A, AAAA, and MX
|
||||||
records. If the \fB\-C\fP option is given, queries will be made for SOA
|
records. If the \fB\-C\fP option is given, queries are made for SOA
|
||||||
records. If \fBname\fP is a dotted\-decimal IPv4 address or
|
records. If \fBname\fP is a dotted\-decimal IPv4 address or
|
||||||
colon\-delimited IPv6 address, \fBhost\fP will query for PTR records.
|
colon\-delimited IPv6 address, \fBhost\fP queries for PTR records.
|
||||||
.sp
|
.sp
|
||||||
If a query type of IXFR is chosen the starting serial number can be
|
If a query type of IXFR is chosen, the starting serial number can be
|
||||||
specified by appending an equal followed by the starting serial
|
specified by appending an equals sign (=), followed by the starting serial
|
||||||
number (like \fB\-t IXFR=12345678\fP).
|
number, e.g., \fB\-t IXFR=12345678\fP\&.
|
||||||
.TP
|
.TP
|
||||||
\fB\-T\fP; \fB\-U\fP
|
.B \fB\-T\fP; \fB\-U\fP
|
||||||
TCP/UDP: By default, \fBhost\fP uses UDP when making queries. The
|
This option specifies TCP or UDP. By default, \fBhost\fP uses UDP when making queries; the
|
||||||
\fB\-T\fP option makes it use a TCP connection when querying the name
|
\fB\-T\fP option makes it use a TCP connection when querying the name
|
||||||
server. TCP will be automatically selected for queries that require
|
server. TCP is automatically selected for queries that require
|
||||||
it, such as zone transfer (AXFR) requests. Type ANY queries default
|
it, such as zone transfer (AXFR) requests. Type \fBANY\fP queries default
|
||||||
to TCP but can be forced to UDP initially using \fB\-U\fP\&.
|
to TCP, but can be forced to use UDP initially via \fB\-U\fP\&.
|
||||||
.TP
|
.TP
|
||||||
\fB\-m\fP flag
|
.B \fB\-m flag\fP
|
||||||
Memory usage debugging: the flag can be \fBrecord\fP, \fBusage\fP, or
|
This option sets memory usage debugging: the flag can be \fBrecord\fP, \fBusage\fP, or
|
||||||
\fBtrace\fP\&. You can specify the \fB\-m\fP option more than once to set
|
\fBtrace\fP\&. The \fB\-m\fP option can be specified more than once to set
|
||||||
multiple flags.
|
multiple flags.
|
||||||
.TP
|
.TP
|
||||||
\fB\-v\fP
|
.B \fB\-v\fP
|
||||||
Verbose output. Equivalent to the \fB\-d\fP debug option. Verbose output
|
This option sets verbose output, and is equivalent to the \fB\-d\fP debug option. Verbose output
|
||||||
can also be enabled by setting the \fBdebug\fP option in
|
can also be enabled by setting the \fBdebug\fP option in
|
||||||
\fB/etc/resolv.conf\fP\&.
|
\fB/etc/resolv.conf\fP\&.
|
||||||
.TP
|
.TP
|
||||||
\fB\-V\fP
|
.B \fB\-V\fP
|
||||||
Print the version number and exit.
|
This option prints the version number and exits.
|
||||||
.TP
|
.TP
|
||||||
\fB\-w\fP
|
.B \fB\-w\fP
|
||||||
Wait forever: The query timeout is set to the maximum possible. See
|
This option sets "wait forever": the query timeout is set to the maximum possible. See
|
||||||
also the \fB\-W\fP option.
|
also the \fB\-W\fP option.
|
||||||
.TP
|
.TP
|
||||||
\fB\-W\fP wait
|
.B \fB\-W wait\fP
|
||||||
Timeout: Wait for up to \fBwait\fP seconds for a reply. If \fBwait\fP is
|
This options sets the length of the wait timeout, indicating that \fBnamed\fP should wait for up to \fBwait\fP seconds for a reply. If \fBwait\fP is
|
||||||
less than one, the wait interval is set to one second.
|
less than 1, the wait interval is set to 1 second.
|
||||||
.sp
|
.sp
|
||||||
By default, \fBhost\fP will wait for 5 seconds for UDP responses and 10
|
By default, \fBhost\fP waits for 5 seconds for UDP responses and 10
|
||||||
seconds for TCP connections. These defaults can be overridden by the
|
seconds for TCP connections. These defaults can be overridden by the
|
||||||
\fBtimeout\fP option in \fB/etc/resolv.conf\fP\&.
|
\fBtimeout\fP option in \fB/etc/resolv.conf\fP\&.
|
||||||
.sp
|
.sp
|
||||||
@@ -163,10 +163,10 @@ See also the \fB\-w\fP option.
|
|||||||
.sp
|
.sp
|
||||||
If \fBhost\fP has been built with IDN (internationalized domain name)
|
If \fBhost\fP has been built with IDN (internationalized domain name)
|
||||||
support, it can accept and display non\-ASCII domain names. \fBhost\fP
|
support, it can accept and display non\-ASCII domain names. \fBhost\fP
|
||||||
appropriately converts character encoding of domain name before sending
|
appropriately converts character encoding of a domain name before sending
|
||||||
a request to DNS server or displaying a reply from the server. If you\(aqd
|
a request to a DNS server or displaying a reply from the server.
|
||||||
like to turn off the IDN support for some reason, define the IDN_DISABLE
|
To turn off IDN support, define the \fBIDN_DISABLE\fP
|
||||||
environment variable. The IDN support is disabled if the variable is set
|
environment variable. IDN support is disabled if the variable is set
|
||||||
when \fBhost\fP runs.
|
when \fBhost\fP runs.
|
||||||
.SH FILES
|
.SH FILES
|
||||||
.sp
|
.sp
|
||||||
|
193
doc/man/mdig.1in
193
doc/man/mdig.1in
@@ -45,11 +45,11 @@ all queries. Responses are displayed in the order in which they are
|
|||||||
received, not in the order the corresponding queries were sent.
|
received, not in the order the corresponding queries were sent.
|
||||||
.sp
|
.sp
|
||||||
\fBmdig\fP options are a subset of the \fBdig\fP options, and are divided
|
\fBmdig\fP options are a subset of the \fBdig\fP options, and are divided
|
||||||
into "anywhere options" which can occur anywhere, "global options" which
|
into "anywhere options," which can occur anywhere, "global options," which
|
||||||
must occur before the query name (or they are ignored with a warning),
|
must occur before the query name (or they are ignored with a warning),
|
||||||
and "local options" which apply to the next query on the command line.
|
and "local options," which apply to the next query on the command line.
|
||||||
.sp
|
.sp
|
||||||
The @server option is a mandatory global option. It is the name or IP
|
The \fB@server\fP option is a mandatory global option. It is the name or IP
|
||||||
address of the name server to query. (Unlike \fBdig\fP, this value is not
|
address of the name server to query. (Unlike \fBdig\fP, this value is not
|
||||||
retrieved from \fB/etc/resolv.conf\fP\&.) It can be an IPv4 address in
|
retrieved from \fB/etc/resolv.conf\fP\&.) It can be an IPv4 address in
|
||||||
dotted\-decimal notation, an IPv6 address in colon\-delimited notation, or
|
dotted\-decimal notation, an IPv6 address in colon\-delimited notation, or
|
||||||
@@ -68,246 +68,263 @@ the string \fBno\fP to negate the meaning of that keyword. Other keywords
|
|||||||
assign values to options like the timeout interval. They have the form
|
assign values to options like the timeout interval. They have the form
|
||||||
\fB+keyword=value\fP\&.
|
\fB+keyword=value\fP\&.
|
||||||
.SH ANYWHERE OPTIONS
|
.SH ANYWHERE OPTIONS
|
||||||
.sp
|
.INDENT 0.0
|
||||||
The \fB\-f\fP option makes \fBmdig\fP operate in batch mode by reading a list
|
.TP
|
||||||
|
.B \fB\-f\fP
|
||||||
|
This option makes \fBmdig\fP operate in batch mode by reading a list
|
||||||
of lookup requests to process from the file \fBfilename\fP\&. The file
|
of lookup requests to process from the file \fBfilename\fP\&. The file
|
||||||
contains a number of queries, one per line. Each entry in the file
|
contains a number of queries, one per line. Each entry in the file
|
||||||
should be organized in the same way they would be presented as queries
|
should be organized in the same way they would be presented as queries
|
||||||
to \fBmdig\fP using the command\-line interface.
|
to \fBmdig\fP using the command\-line interface.
|
||||||
.sp
|
.TP
|
||||||
The \fB\-h\fP causes \fBmdig\fP to print the detailed help with the full list
|
.B \fB\-h\fP
|
||||||
of options and exit.
|
This option causes \fBmdig\fP to print detailed help information, with the full list
|
||||||
.sp
|
of options, and exit.
|
||||||
The \fB\-v\fP causes \fBmdig\fP to print the version number and exit.
|
.TP
|
||||||
|
.B \fB\-v\fP
|
||||||
|
This option causes \fBmdig\fP to print the version number and exit.
|
||||||
|
.UNINDENT
|
||||||
.SH GLOBAL OPTIONS
|
.SH GLOBAL OPTIONS
|
||||||
.sp
|
.INDENT 0.0
|
||||||
The \fB\-4\fP option forces \fBmdig\fP to only use IPv4 query transport.
|
.TP
|
||||||
.sp
|
.B \fB\-4\fP
|
||||||
The \fB\-6\fP option forces \fBmdig\fP to only use IPv6 query transport.
|
This option forces \fBmdig\fP to only use IPv4 query transport.
|
||||||
.sp
|
.TP
|
||||||
The \fB\-b\fP option sets the source IP address of the query to
|
.B \fB\-6\fP
|
||||||
|
This option forces \fBmdig\fP to only use IPv6 query transport.
|
||||||
|
.TP
|
||||||
|
.B \fB\-b address\fP
|
||||||
|
This option sets the source IP address of the query to
|
||||||
\fBaddress\fP\&. This must be a valid address on one of the host\(aqs network
|
\fBaddress\fP\&. This must be a valid address on one of the host\(aqs network
|
||||||
interfaces or "0.0.0.0" or "::". An optional port may be specified by
|
interfaces or "0.0.0.0" or "::". An optional port may be specified by
|
||||||
appending "#<port>"
|
appending "#<port>"
|
||||||
.sp
|
.TP
|
||||||
The \fB\-m\fP option enables memory usage debugging.
|
.B \fB\-m\fP
|
||||||
.sp
|
This option enables memory usage debugging.
|
||||||
The \fB\-p\fP option is used when a non\-standard port number is to be
|
.TP
|
||||||
queried. \fBport#\fP is the port number that \fBmdig\fP will send its
|
.B \fB\-p port#\fP
|
||||||
queries instead of the standard DNS port number 53. This option would be
|
This option is used when a non\-standard port number is to be
|
||||||
|
queried. \fBport#\fP is the port number that \fBmdig\fP sends its
|
||||||
|
queries to, instead of the standard DNS port number 53. This option is
|
||||||
used to test a name server that has been configured to listen for
|
used to test a name server that has been configured to listen for
|
||||||
queries on a non\-standard port number.
|
queries on a non\-standard port number.
|
||||||
|
.UNINDENT
|
||||||
.sp
|
.sp
|
||||||
The global query options are:
|
The global query options are:
|
||||||
.INDENT 0.0
|
.INDENT 0.0
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]additional\fP
|
.B \fB+[no]additional\fP
|
||||||
Display [do not display] the additional section of a reply. The
|
This option displays [or does not display] the additional section of a reply. The
|
||||||
default is to display it.
|
default is to display it.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]all\fP
|
.B \fB+[no]all\fP
|
||||||
Set or clear all display flags.
|
This option sets or clears all display flags.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]answer\fP
|
.B \fB+[no]answer\fP
|
||||||
Display [do not display] the answer section of a reply. The default
|
This option displays [or does not display] the answer section of a reply. The default
|
||||||
is to display it.
|
is to display it.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]authority\fP
|
.B \fB+[no]authority\fP
|
||||||
Display [do not display] the authority section of a reply. The
|
This option displays [or does not display] the authority section of a reply. The
|
||||||
default is to display it.
|
default is to display it.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]besteffort\fP
|
.B \fB+[no]besteffort\fP
|
||||||
Attempt to display the contents of messages which are malformed. The
|
This option attempts to display [or does not display] the contents of messages which are malformed. The
|
||||||
default is to not display malformed answers.
|
default is to not display malformed answers.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]cl\fP
|
.B \fB+[no]cl\fP
|
||||||
Display [do not display] the CLASS when printing the record.
|
This option displays [or does not display] the CLASS when printing the record.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]comments\fP
|
.B \fB+[no]comments\fP
|
||||||
Toggle the display of comment lines in the output. The default is to
|
This option toggles the display of comment lines in the output. The default is to
|
||||||
print comments.
|
print comments.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]continue\fP
|
.B \fB+[no]continue\fP
|
||||||
Continue on errors (e.g. timeouts).
|
This option toggles continuation on errors (e.g. timeouts).
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]crypto\fP
|
.B \fB+[no]crypto\fP
|
||||||
Toggle the display of cryptographic fields in DNSSEC records. The
|
This option toggles the display of cryptographic fields in DNSSEC records. The
|
||||||
contents of these field are unnecessary to debug most DNSSEC
|
contents of these fields are unnecessary to debug most DNSSEC
|
||||||
validation failures and removing them makes it easier to see the
|
validation failures and removing them makes it easier to see the
|
||||||
common failures. The default is to display the fields. When omitted
|
common failures. The default is to display the fields. When omitted,
|
||||||
they are replaced by the string "[omitted]" or in the DNSKEY case the
|
they are replaced by the string "[omitted]"; in the DNSKEY case, the
|
||||||
key id is displayed as the replacement, e.g. "[ key id = value ]".
|
key ID is displayed as the replacement, e.g., \fB[ key id = value ]\fP\&.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+dscp[=value]\fP
|
.B \fB+dscp[=value]\fP
|
||||||
Set the DSCP code point to be used when sending the query. Valid DSCP
|
This option sets the DSCP code point to be used when sending the query. Valid DSCP
|
||||||
code points are in the range [0..63]. By default no code point is
|
code points are in the range [0...63]. By default no code point is
|
||||||
explicitly set.
|
explicitly set.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]multiline\fP
|
.B \fB+[no]multiline\fP
|
||||||
Print records like the SOA records in a verbose multi\-line format
|
This option toggles printing of records, like the SOA records, in a verbose multi\-line format
|
||||||
with human\-readable comments. The default is to print each record on
|
with human\-readable comments. The default is to print each record on
|
||||||
a single line, to facilitate machine parsing of the \fBmdig\fP output.
|
a single line, to facilitate machine parsing of the \fBmdig\fP output.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]question\fP
|
.B \fB+[no]question\fP
|
||||||
Print [do not print] the question section of a query when an answer
|
This option prints [or does not print] the question section of a query when an answer
|
||||||
is returned. The default is to print the question section as a
|
is returned. The default is to print the question section as a
|
||||||
comment.
|
comment.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]rrcomments\fP
|
.B \fB+[no]rrcomments\fP
|
||||||
Toggle the display of per\-record comments in the output (for example,
|
This option toggles the display of per\-record comments in the output (for example,
|
||||||
human\-readable key information about DNSKEY records). The default is
|
human\-readable key information about DNSKEY records). The default is
|
||||||
not to print record comments unless multiline mode is active.
|
not to print record comments unless multiline mode is active.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]short\fP
|
.B \fB+[no]short\fP
|
||||||
Provide a terse answer. The default is to print the answer in a
|
This option provides [or does not provide] a terse answer. The default is to print the answer in a
|
||||||
verbose form.
|
verbose form.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+split=W\fP
|
.B \fB+split=W\fP
|
||||||
Split long hex\- or base64\-formatted fields in resource records into
|
This option splits long hex\- or base64\-formatted fields in resource records into
|
||||||
chunks of \fBW\fP characters (where \fBW\fP is rounded up to the nearest
|
chunks of \fBW\fP characters (where \fBW\fP is rounded up to the nearest
|
||||||
multiple of 4). \fB+nosplit\fP or \fB+split=0\fP causes fields not to be
|
multiple of 4). \fB+nosplit\fP or \fB+split=0\fP causes fields not to be
|
||||||
split at all. The default is 56 characters, or 44 characters when
|
split. The default is 56 characters, or 44 characters when
|
||||||
multiline mode is active.
|
multiline mode is active.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]tcp\fP
|
.B \fB+[no]tcp\fP
|
||||||
Use [do not use] TCP when querying name servers. The default behavior
|
This option uses [or does not use] TCP when querying name servers. The default behavior
|
||||||
is to use UDP.
|
is to use UDP.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]ttlid\fP
|
.B \fB+[no]ttlid\fP
|
||||||
Display [do not display] the TTL when printing the record.
|
This option displays [or does not display] the TTL when printing the record.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]ttlunits\fP
|
.B \fB+[no]ttlunits\fP
|
||||||
Display [do not display] the TTL in friendly human\-readable time
|
This option displays [or does not display] the TTL in friendly human\-readable time
|
||||||
units of "s", "m", "h", "d", and "w", representing seconds, minutes,
|
units of "s", "m", "h", "d", and "w", representing seconds, minutes,
|
||||||
hours, days and weeks. Implies +ttlid.
|
hours, days, and weeks. This implies +ttlid.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]vc\fP
|
.B \fB+[no]vc\fP
|
||||||
Use [do not use] TCP when querying name servers. This alternate
|
This option uses [or does not use] TCP when querying name servers. This alternate
|
||||||
syntax to \fB+[no]tcp\fP is provided for backwards compatibility. The
|
syntax to \fB+[no]tcp\fP is provided for backwards compatibility. The
|
||||||
"vc" stands for "virtual circuit".
|
\fBvc\fP stands for "virtual circuit".
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.SH LOCAL OPTIONS
|
.SH LOCAL OPTIONS
|
||||||
.sp
|
.INDENT 0.0
|
||||||
The \fB\-c\fP option sets the query class to \fBclass\fP\&. It can be any valid
|
.TP
|
||||||
|
.B \fB\-c class\fP
|
||||||
|
This option sets the query class to \fBclass\fP\&. It can be any valid
|
||||||
query class which is supported in BIND 9. The default query class is
|
query class which is supported in BIND 9. The default query class is
|
||||||
"IN".
|
"IN".
|
||||||
.sp
|
.TP
|
||||||
The \fB\-t\fP option sets the query type to \fBtype\fP\&. It can be any valid
|
.B \fB\-t type\fP
|
||||||
|
This option sets the query type to \fBtype\fP\&. It can be any valid
|
||||||
query type which is supported in BIND 9. The default query type is "A",
|
query type which is supported in BIND 9. The default query type is "A",
|
||||||
unless the \fB\-x\fP option is supplied to indicate a reverse lookup with
|
unless the \fB\-x\fP option is supplied to indicate a reverse lookup with
|
||||||
the "PTR" query type.
|
the "PTR" query type.
|
||||||
.sp
|
.TP
|
||||||
Reverse lookups MDASH mapping addresses to names MDASH are simplified by
|
.B \fB\-x addr\fP
|
||||||
the \fB\-x\fP option. \fBaddr\fP is an IPv4 address in dotted\-decimal
|
Reverse lookups \- mapping addresses to names \- are simplified by
|
||||||
|
this option. \fBaddr\fP is an IPv4 address in dotted\-decimal
|
||||||
notation, or a colon\-delimited IPv6 address. \fBmdig\fP automatically
|
notation, or a colon\-delimited IPv6 address. \fBmdig\fP automatically
|
||||||
performs a lookup for a query name like \fB11.12.13.10.in\-addr.arpa\fP and
|
performs a lookup for a query name like \fB11.12.13.10.in\-addr.arpa\fP and
|
||||||
sets the query type and class to PTR and IN respectively. By default,
|
sets the query type and class to PTR and IN respectively. By default,
|
||||||
IPv6 addresses are looked up using nibble format under the IP6.ARPA
|
IPv6 addresses are looked up using nibble format under the IP6.ARPA
|
||||||
domain.
|
domain.
|
||||||
|
.UNINDENT
|
||||||
.sp
|
.sp
|
||||||
The local query options are:
|
The local query options are:
|
||||||
.INDENT 0.0
|
.INDENT 0.0
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]aaflag\fP
|
.B \fB+[no]aaflag\fP
|
||||||
A synonym for \fB+[no]aaonly\fP\&.
|
This is a synonym for \fB+[no]aaonly\fP\&.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]aaonly\fP
|
.B \fB+[no]aaonly\fP
|
||||||
Sets the "aa" flag in the query.
|
This sets the \fBaa\fP flag in the query.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]adflag\fP
|
.B \fB+[no]adflag\fP
|
||||||
Set [do not set] the AD (authentic data) bit in the query. This
|
This sets [or does not set] the AD (authentic data) bit in the query. This
|
||||||
requests the server to return whether all of the answer and authority
|
requests the server to return whether all of the answer and authority
|
||||||
sections have all been validated as secure according to the security
|
sections have all been validated as secure, according to the security
|
||||||
policy of the server. AD=1 indicates that all records have been
|
policy of the server. AD=1 indicates that all records have been
|
||||||
validated as secure and the answer is not from a OPT\-OUT range. AD=0
|
validated as secure and the answer is not from a OPT\-OUT range. AD=0
|
||||||
indicate that some part of the answer was insecure or not validated.
|
indicates that some part of the answer was insecure or not validated.
|
||||||
This bit is set by default.
|
This bit is set by default.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+bufsize=B\fP
|
.B \fB+bufsize=B\fP
|
||||||
Set the UDP message buffer size advertised using EDNS0 to \fBB\fP
|
This sets the UDP message buffer size advertised using EDNS0 to \fBB\fP
|
||||||
bytes. The maximum and minimum sizes of this buffer are 65535 and 0
|
bytes. The maximum and minimum sizes of this buffer are 65535 and 0
|
||||||
respectively. Values outside this range are rounded up or down
|
respectively. Values outside this range are rounded up or down
|
||||||
appropriately. Values other than zero will cause a EDNS query to be
|
appropriately. Values other than zero cause a EDNS query to be
|
||||||
sent.
|
sent.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]cdflag\fP
|
.B \fB+[no]cdflag\fP
|
||||||
Set [do not set] the CD (checking disabled) bit in the query. This
|
This sets [or does not set] the CD (checking disabled) bit in the query. This
|
||||||
requests the server to not perform DNSSEC validation of responses.
|
requests the server to not perform DNSSEC validation of responses.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]cookie=####\fP
|
.B \fB+[no]cookie=####\fP
|
||||||
Send a COOKIE EDNS option, with optional value. Replaying a COOKIE
|
This sends [or does not send] a COOKIE EDNS option, with an optional value. Replaying a COOKIE
|
||||||
from a previous response will allow the server to identify a previous
|
from a previous response allows the server to identify a previous
|
||||||
client. The default is \fB+nocookie\fP\&.
|
client. The default is \fB+nocookie\fP\&.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]dnssec\fP
|
.B \fB+[no]dnssec\fP
|
||||||
Requests DNSSEC records be sent by setting the DNSSEC OK bit (DO) in
|
This requests that DNSSEC records be sent by setting the DNSSEC OK (DO) bit in
|
||||||
the OPT record in the additional section of the query.
|
the OPT record in the additional section of the query.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]edns[=#]\fP
|
.B \fB+[no]edns[=#]\fP
|
||||||
Specify the EDNS version to query with. Valid values are 0 to 255.
|
This specifies [or does not specify] the EDNS version to query with. Valid values are 0 to 255.
|
||||||
Setting the EDNS version will cause a EDNS query to be sent.
|
Setting the EDNS version causes an EDNS query to be sent.
|
||||||
\fB+noedns\fP clears the remembered EDNS version. EDNS is set to 0 by
|
\fB+noedns\fP clears the remembered EDNS version. EDNS is set to 0 by
|
||||||
default.
|
default.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]ednsflags[=#]\fP
|
.B \fB+[no]ednsflags[=#]\fP
|
||||||
Set the must\-be\-zero EDNS flags bits (Z bits) to the specified value.
|
This sets the must\-be\-zero EDNS flag bits (Z bits) to the specified value.
|
||||||
Decimal, hex and octal encodings are accepted. Setting a named flag
|
Decimal, hex, and octal encodings are accepted. Setting a named flag
|
||||||
(e.g. DO) will silently be ignored. By default, no Z bits are set.
|
(e.g. DO) is silently ignored. By default, no Z bits are set.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]ednsopt[=code[:value]]\fP
|
.B \fB+[no]ednsopt[=code[:value]]\fP
|
||||||
Specify EDNS option with code point \fBcode\fP and optionally payload
|
This specifies [or does not specify] an EDNS option with code point \fBcode\fP and an optional payload
|
||||||
of \fBvalue\fP as a hexadecimal string. \fB+noednsopt\fP clears the EDNS
|
of \fBvalue\fP as a hexadecimal string. \fB+noednsopt\fP clears the EDNS
|
||||||
options to be sent.
|
options to be sent.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]expire\fP
|
.B \fB+[no]expire\fP
|
||||||
Send an EDNS Expire option.
|
This toggles sending of an EDNS Expire option.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]nsid\fP
|
.B \fB+[no]nsid\fP
|
||||||
Include an EDNS name server ID request when sending a query.
|
This toggles inclusion of an EDNS name server ID request when sending a query.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]recurse\fP
|
.B \fB+[no]recurse\fP
|
||||||
Toggle the setting of the RD (recursion desired) bit in the query.
|
This toggles the setting of the RD (recursion desired) bit in the query.
|
||||||
This bit is set by default, which means \fBmdig\fP normally sends
|
This bit is set by default, which means \fBmdig\fP normally sends
|
||||||
recursive queries.
|
recursive queries.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+retry=T\fP
|
.B \fB+retry=T\fP
|
||||||
Sets the number of times to retry UDP queries to server to \fBT\fP
|
This sets the number of times to retry UDP queries to server to \fBT\fP
|
||||||
instead of the default, 2. Unlike \fB+tries\fP, this does not include
|
instead of the default, 2. Unlike \fB+tries\fP, this does not include
|
||||||
the initial query.
|
the initial query.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]subnet=addr[/prefix\-length]\fP
|
.B \fB+[no]subnet=addr[/prefix\-length]\fP
|
||||||
Send (don\(aqt send) an EDNS Client Subnet option with the specified IP
|
This sends [or does not send] an EDNS Client Subnet option with the specified IP
|
||||||
address or network prefix.
|
address or network prefix.
|
||||||
.sp
|
.TP
|
||||||
\fBmdig +subnet=0.0.0.0/0\fP, or simply \fBmdig +subnet=0\fP for short,
|
.B \fBmdig +subnet=0.0.0.0/0\fP, or simply \fBmdig +subnet=0\fP
|
||||||
sends an EDNS client\-subnet option with an empty address and a source
|
This sends an EDNS client\-subnet option with an empty address and a source
|
||||||
prefix\-length of zero, which signals a resolver that the client\(aqs
|
prefix\-length of zero, which signals a resolver that the client\(aqs
|
||||||
address information must \fInot\fP be used when resolving this query.
|
address information must \fInot\fP be used when resolving this query.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+timeout=T\fP
|
.B \fB+timeout=T\fP
|
||||||
Sets the timeout for a query to \fBT\fP seconds. The default timeout is
|
This sets the timeout for a query to \fBT\fP seconds. The default timeout is
|
||||||
5 seconds for UDP transport and 10 for TCP. An attempt to set \fBT\fP
|
5 seconds for UDP transport and 10 for TCP. An attempt to set \fBT\fP
|
||||||
to less than 1 will result in a query timeout of 1 second being
|
to less than 1 results in a query timeout of 1 second being
|
||||||
applied.
|
applied.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+tries=T\fP
|
.B \fB+tries=T\fP
|
||||||
Sets the number of times to try UDP queries to server to \fBT\fP
|
This sets the number of times to try UDP queries to server to \fBT\fP
|
||||||
instead of the default, 3. If \fBT\fP is less than or equal to zero,
|
instead of the default, 3. If \fBT\fP is less than or equal to zero,
|
||||||
the number of tries is silently rounded up to 1.
|
the number of tries is silently rounded up to 1.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+udptimeout=T\fP
|
.B \fB+udptimeout=T\fP
|
||||||
Sets the timeout between UDP query retries.
|
This sets the timeout between UDP query retries to \fBT\fP\&.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]unknownformat\fP
|
.B \fB+[no]unknownformat\fP
|
||||||
Print all RDATA in unknown RR type presentation format (\fI\%RFC 3597\fP).
|
This prints [or does not print] all RDATA in unknown RR\-type presentation format (see \fI\%RFC 3597\fP).
|
||||||
The default is to print RDATA for known types in the type\(aqs
|
The default is to print RDATA for known types in the type\(aqs
|
||||||
presentation format.
|
presentation format.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]yaml\fP
|
.B \fB+[no]yaml\fP
|
||||||
Print the responses in a detailed YAML format.
|
This toggles printing of the responses in a detailed YAML format.
|
||||||
.TP
|
.TP
|
||||||
.B \fB+[no]zflag\fP
|
.B \fB+[no]zflag\fP
|
||||||
Set [do not set] the last unassigned DNS header flag in a DNS query.
|
This sets [or does not set] the last unassigned DNS header flag in a DNS query.
|
||||||
This flag is off by default.
|
This flag is off by default.
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
|
@@ -36,61 +36,61 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
|||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.sp
|
.sp
|
||||||
\fBnamed\-checkconf\fP checks the syntax, but not the semantics, of a
|
\fBnamed\-checkconf\fP checks the syntax, but not the semantics, of a
|
||||||
\fBnamed\fP configuration file. The file is parsed and checked for syntax
|
\fBnamed\fP configuration file. The file, along with all files included by it, is parsed and checked for syntax
|
||||||
errors, along with all files included by it. If no file is specified,
|
errors. If no file is specified,
|
||||||
\fB/etc/named.conf\fP is read by default.
|
\fB/etc/named.conf\fP is read by default.
|
||||||
.sp
|
.sp
|
||||||
Note: files that \fBnamed\fP reads in separate parser contexts, such as
|
Note: files that \fBnamed\fP reads in separate parser contexts, such as
|
||||||
\fBrndc.key\fP and \fBbind.keys\fP, are not automatically read by
|
\fBrndc.key\fP and \fBbind.keys\fP, are not automatically read by
|
||||||
\fBnamed\-checkconf\fP\&. Configuration errors in these files may cause
|
\fBnamed\-checkconf\fP\&. Configuration errors in these files may cause
|
||||||
\fBnamed\fP to fail to run, even if \fBnamed\-checkconf\fP was successful.
|
\fBnamed\fP to fail to run, even if \fBnamed\-checkconf\fP was successful.
|
||||||
\fBnamed\-checkconf\fP can be run on these files explicitly, however.
|
However, \fBnamed\-checkconf\fP can be run on these files explicitly.
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.INDENT 0.0
|
.INDENT 0.0
|
||||||
.TP
|
.TP
|
||||||
\fB\-h\fP
|
.B \fB\-h\fP
|
||||||
Print the usage summary and exit.
|
This option prints the usage summary and exits.
|
||||||
.TP
|
.TP
|
||||||
\fB\-j\fP
|
.B \fB\-j\fP
|
||||||
When loading a zonefile read the journal if it exists.
|
When loading a zonefile, this option instructs \fBnamed\fP to read the journal if it exists.
|
||||||
.TP
|
.TP
|
||||||
\fB\-l\fP
|
.B \fB\-l\fP
|
||||||
List all the configured zones. Each line of output contains the zone
|
This option lists all the configured zones. Each line of output contains the zone
|
||||||
name, class (e.g. IN), view, and type (e.g. master or slave).
|
name, class (e.g. IN), view, and type (e.g. primary or secondary).
|
||||||
.TP
|
.TP
|
||||||
\fB\-c\fP
|
.B \fB\-c\fP
|
||||||
Check "core" configuration only. This suppresses the loading of
|
This option specifies that only the "core" configuration should be checked. This suppresses the loading of
|
||||||
plugin modules, and causes all parameters to \fBplugin\fP statements to
|
plugin modules, and causes all parameters to \fBplugin\fP statements to
|
||||||
be ignored.
|
be ignored.
|
||||||
.TP
|
.TP
|
||||||
\fB\-i\fP
|
.B \fB\-i\fP
|
||||||
Ignore warnings on deprecated options.
|
This option ignores warnings on deprecated options.
|
||||||
.TP
|
.TP
|
||||||
\fB\-p\fP
|
.B \fB\-p\fP
|
||||||
Print out the \fBnamed.conf\fP and included files in canonical form if
|
This option prints out the \fBnamed.conf\fP and included files in canonical form if
|
||||||
no errors were detected. See also the \fB\-x\fP option.
|
no errors were detected. See also the \fB\-x\fP option.
|
||||||
.TP
|
.TP
|
||||||
\fB\-t\fP directory
|
.B \fB\-t directory\fP
|
||||||
Chroot to \fBdirectory\fP so that include directives in the
|
This option instructs \fBnamed\fP to chroot to \fBdirectory\fP, so that \fBinclude\fP directives in the
|
||||||
configuration file are processed as if run by a similarly chrooted
|
configuration file are processed as if run by a similarly chrooted
|
||||||
\fBnamed\fP\&.
|
\fBnamed\fP\&.
|
||||||
.TP
|
.TP
|
||||||
\fB\-v\fP
|
.B \fB\-v\fP
|
||||||
Print the version of the \fBnamed\-checkconf\fP program and exit.
|
This option prints the version of the \fBnamed\-checkconf\fP program and exits.
|
||||||
.TP
|
.TP
|
||||||
\fB\-x\fP
|
.B \fB\-x\fP
|
||||||
When printing the configuration files in canonical form, obscure
|
When printing the configuration files in canonical form, this option obscures
|
||||||
shared secrets by replacing them with strings of question marks
|
shared secrets by replacing them with strings of question marks
|
||||||
(\(aq?\(aq). This allows the contents of \fBnamed.conf\fP and related files
|
(\fB?\fP). This allows the contents of \fBnamed.conf\fP and related files
|
||||||
to be shared MDASH for example, when submitting bug reports MDASH
|
to be shared \- for example, when submitting bug reports \-
|
||||||
without compromising private data. This option cannot be used without
|
without compromising private data. This option cannot be used without
|
||||||
\fB\-p\fP\&.
|
\fB\-p\fP\&.
|
||||||
.TP
|
.TP
|
||||||
\fB\-z\fP
|
.B \fB\-z\fP
|
||||||
Perform a test load of all master zones found in \fBnamed.conf\fP\&.
|
This option performs a test load of all zones of type \fBprimary\fP found in \fBnamed.conf\fP\&.
|
||||||
.TP
|
.TP
|
||||||
.B filename
|
.B \fBfilename\fP
|
||||||
The name of the configuration file to be checked. If not specified,
|
This indicates the name of the configuration file to be checked. If not specified,
|
||||||
it defaults to \fB/etc/named.conf\fP\&.
|
it defaults to \fB/etc/named.conf\fP\&.
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.SH RETURN VALUES
|
.SH RETURN VALUES
|
||||||
|
@@ -44,162 +44,163 @@ configuring them into a name server.
|
|||||||
.sp
|
.sp
|
||||||
\fBnamed\-compilezone\fP is similar to \fBnamed\-checkzone\fP, but it always
|
\fBnamed\-compilezone\fP is similar to \fBnamed\-checkzone\fP, but it always
|
||||||
dumps the zone contents to a specified file in a specified format.
|
dumps the zone contents to a specified file in a specified format.
|
||||||
Additionally, it applies stricter check levels by default, since the
|
It also applies stricter check levels by default, since the
|
||||||
dump output will be used as an actual zone file loaded by \fBnamed\fP\&.
|
dump output is used as an actual zone file loaded by \fBnamed\fP\&.
|
||||||
When manually specified otherwise, the check levels must at least be as
|
When manually specified otherwise, the check levels must at least be as
|
||||||
strict as those specified in the \fBnamed\fP configuration file.
|
strict as those specified in the \fBnamed\fP configuration file.
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.INDENT 0.0
|
.INDENT 0.0
|
||||||
.TP
|
.TP
|
||||||
\fB\-d\fP
|
.B \fB\-d\fP
|
||||||
Enable debugging.
|
This option enables debugging.
|
||||||
.TP
|
.TP
|
||||||
\fB\-h\fP
|
.B \fB\-h\fP
|
||||||
Print the usage summary and exit.
|
This option prints the usage summary and exits.
|
||||||
.TP
|
.TP
|
||||||
\fB\-q\fP
|
.B \fB\-q\fP
|
||||||
Quiet mode \- exit code only.
|
This option sets quiet mode, which only sets an exit code to indicate
|
||||||
|
successful or failed completion.
|
||||||
.TP
|
.TP
|
||||||
\fB\-v\fP
|
.B \fB\-v\fP
|
||||||
Print the version of the \fBnamed\-checkzone\fP program and exit.
|
This option prints the version of the \fBnamed\-checkzone\fP program and exits.
|
||||||
.TP
|
.TP
|
||||||
\fB\-j\fP
|
.B \fB\-j\fP
|
||||||
When loading a zone file, read the journal if it exists. The journal
|
When loading a zone file, this option tells \fBnamed\fP to read the journal if it exists. The journal
|
||||||
file name is assumed to be the zone file name appended with the
|
file name is assumed to be the zone file name with the
|
||||||
string \fB\&.jnl\fP\&.
|
string \fB\&.jnl\fP appended.
|
||||||
.TP
|
.TP
|
||||||
\fB\-J\fP filename
|
.B \fB\-J filename\fP
|
||||||
When loading the zone file read the journal from the given file, if
|
When loading the zone file, this option tells \fBnamed\fP to read the journal from the given file, if
|
||||||
it exists. (Implies \-j.)
|
it exists. This implies \fB\-j\fP\&.
|
||||||
.TP
|
.TP
|
||||||
\fB\-c\fP class
|
.B \fB\-c class\fP
|
||||||
Specify the class of the zone. If not specified, "IN" is assumed.
|
This option specifies the class of the zone. If not specified, \fBIN\fP is assumed.
|
||||||
.TP
|
.TP
|
||||||
\fB\-i\fP mode
|
.B \fB\-i mode\fP
|
||||||
Perform post\-load zone integrity checks. Possible modes are
|
This option performs post\-load zone integrity checks. Possible modes are
|
||||||
\fB"full"\fP (default), \fB"full\-sibling"\fP, \fB"local"\fP,
|
\fBfull\fP (the default), \fBfull\-sibling\fP, \fBlocal\fP,
|
||||||
\fB"local\-sibling"\fP and \fB"none"\fP\&.
|
\fBlocal\-sibling\fP, and \fBnone\fP\&.
|
||||||
.sp
|
.sp
|
||||||
Mode \fB"full"\fP checks that MX records refer to A or AAAA record
|
Mode \fBfull\fP checks that MX records refer to A or AAAA records
|
||||||
(both in\-zone and out\-of\-zone hostnames). Mode \fB"local"\fP only
|
(both in\-zone and out\-of\-zone hostnames). Mode \fBlocal\fP only
|
||||||
checks MX records which refer to in\-zone hostnames.
|
checks MX records which refer to in\-zone hostnames.
|
||||||
.sp
|
.sp
|
||||||
Mode \fB"full"\fP checks that SRV records refer to A or AAAA record
|
Mode \fBfull\fP checks that SRV records refer to A or AAAA records
|
||||||
(both in\-zone and out\-of\-zone hostnames). Mode \fB"local"\fP only
|
(both in\-zone and out\-of\-zone hostnames). Mode \fBlocal\fP only
|
||||||
checks SRV records which refer to in\-zone hostnames.
|
checks SRV records which refer to in\-zone hostnames.
|
||||||
.sp
|
.sp
|
||||||
Mode \fB"full"\fP checks that delegation NS records refer to A or AAAA
|
Mode \fBfull\fP checks that delegation NS records refer to A or AAAA
|
||||||
record (both in\-zone and out\-of\-zone hostnames). It also checks that
|
records (both in\-zone and out\-of\-zone hostnames). It also checks that
|
||||||
glue address records in the zone match those advertised by the child.
|
glue address records in the zone match those advertised by the child.
|
||||||
Mode \fB"local"\fP only checks NS records which refer to in\-zone
|
Mode \fBlocal\fP only checks NS records which refer to in\-zone
|
||||||
hostnames or that some required glue exists, that is when the
|
hostnames or verifies that some required glue exists, i.e., when the
|
||||||
nameserver is in a child zone.
|
name server is in a child zone.
|
||||||
.sp
|
.sp
|
||||||
Mode \fB"full\-sibling"\fP and \fB"local\-sibling"\fP disable sibling glue
|
Modes \fBfull\-sibling\fP and \fBlocal\-sibling\fP disable sibling glue
|
||||||
checks but are otherwise the same as \fB"full"\fP and \fB"local"\fP
|
checks, but are otherwise the same as \fBfull\fP and \fBlocal\fP,
|
||||||
respectively.
|
respectively.
|
||||||
.sp
|
.sp
|
||||||
Mode \fB"none"\fP disables the checks.
|
Mode \fBnone\fP disables the checks.
|
||||||
.TP
|
.TP
|
||||||
\fB\-f\fP format
|
.B \fB\-f format\fP
|
||||||
Specify the format of the zone file. Possible formats are \fB"text"\fP
|
This option specifies the format of the zone file. Possible formats are \fBtext\fP
|
||||||
(default), \fB"raw"\fP, and \fB"map"\fP\&.
|
(the default), \fBraw\fP, and \fBmap\fP\&.
|
||||||
.TP
|
.TP
|
||||||
\fB\-F\fP format
|
.B \fB\-F format\fP
|
||||||
Specify the format of the output file specified. For
|
This option specifies the format of the output file specified. For
|
||||||
\fBnamed\-checkzone\fP, this does not cause any effects unless it dumps
|
\fBnamed\-checkzone\fP, this does not have any effect unless it dumps
|
||||||
the zone contents.
|
the zone contents.
|
||||||
.sp
|
.sp
|
||||||
Possible formats are \fB"text"\fP (default), which is the standard
|
Possible formats are \fBtext\fP (the default), which is the standard
|
||||||
textual representation of the zone, and \fB"map"\fP, \fB"raw"\fP, and
|
textual representation of the zone, and \fBmap\fP, \fBraw\fP, and
|
||||||
\fB"raw=N"\fP, which store the zone in a binary format for rapid
|
\fBraw=N\fP, which store the zone in a binary format for rapid
|
||||||
loading by \fBnamed\fP\&. \fB"raw=N"\fP specifies the format version of the
|
loading by \fBnamed\fP\&. \fBraw=N\fP specifies the format version of the
|
||||||
raw zone file: if N is 0, the raw file can be read by any version of
|
raw zone file: if \fBN\fP is 0, the raw file can be read by any version of
|
||||||
\fBnamed\fP; if N is 1, the file can be read by release 9.9.0 or
|
\fBnamed\fP; if N is 1, the file can only be read by release 9.9.0 or
|
||||||
higher; the default is 1.
|
higher. The default is 1.
|
||||||
.TP
|
.TP
|
||||||
\fB\-k\fP mode
|
.B \fB\-k mode\fP
|
||||||
Perform \fB"check\-names"\fP checks with the specified failure mode.
|
This option performs \fBcheck\-names\fP checks with the specified failure mode.
|
||||||
Possible modes are \fB"fail"\fP (default for \fBnamed\-compilezone\fP),
|
Possible modes are \fBfail\fP (the default for \fBnamed\-compilezone\fP),
|
||||||
\fB"warn"\fP (default for \fBnamed\-checkzone\fP) and \fB"ignore"\fP\&.
|
\fBwarn\fP (the default for \fBnamed\-checkzone\fP), and \fBignore\fP\&.
|
||||||
.TP
|
.TP
|
||||||
\fB\-l\fP ttl
|
.B \fB\-l ttl\fP
|
||||||
Sets a maximum permissible TTL for the input file. Any record with a
|
This option sets a maximum permissible TTL for the input file. Any record with a
|
||||||
TTL higher than this value will cause the zone to be rejected. This
|
TTL higher than this value causes the zone to be rejected. This
|
||||||
is similar to using the \fBmax\-zone\-ttl\fP option in \fBnamed.conf\fP\&.
|
is similar to using the \fBmax\-zone\-ttl\fP option in \fBnamed.conf\fP\&.
|
||||||
.TP
|
.TP
|
||||||
\fB\-L\fP serial
|
.B \fB\-L serial\fP
|
||||||
When compiling a zone to "raw" or "map" format, set the "source
|
When compiling a zone to \fBraw\fP or \fBmap\fP format, this option sets the "source
|
||||||
serial" value in the header to the specified serial number. (This is
|
serial" value in the header to the specified serial number. This is
|
||||||
expected to be used primarily for testing purposes.)
|
expected to be used primarily for testing purposes.
|
||||||
.TP
|
.TP
|
||||||
\fB\-m\fP mode
|
.B \fB\-m mode\fP
|
||||||
Specify whether MX records should be checked to see if they are
|
This option specifies whether MX records should be checked to see if they are
|
||||||
addresses. Possible modes are \fB"fail"\fP, \fB"warn"\fP (default) and
|
addresses. Possible modes are \fBfail\fP, \fBwarn\fP (the default), and
|
||||||
\fB"ignore"\fP\&.
|
\fBignore\fP\&.
|
||||||
.TP
|
.TP
|
||||||
\fB\-M\fP mode
|
.B \fB\-M mode\fP
|
||||||
Check if a MX record refers to a CNAME. Possible modes are
|
This option checks whether a MX record refers to a CNAME. Possible modes are
|
||||||
\fB"fail"\fP, \fB"warn"\fP (default) and \fB"ignore"\fP\&.
|
\fBfail\fP, \fBwarn\fP (the default), and \fBignore\fP\&.
|
||||||
.TP
|
.TP
|
||||||
\fB\-n\fP mode
|
.B \fB\-n mode\fP
|
||||||
Specify whether NS records should be checked to see if they are
|
This option specifies whether NS records should be checked to see if they are
|
||||||
addresses. Possible modes are \fB"fail"\fP (default for
|
addresses. Possible modes are \fBfail\fP (the default for
|
||||||
\fBnamed\-compilezone\fP), \fB"warn"\fP (default for \fBnamed\-checkzone\fP)
|
\fBnamed\-compilezone\fP), \fBwarn\fP (the default for \fBnamed\-checkzone\fP),
|
||||||
and \fB"ignore"\fP\&.
|
and \fBignore\fP\&.
|
||||||
.TP
|
.TP
|
||||||
\fB\-o\fP filename
|
.B \fB\-o filename\fP
|
||||||
Write zone output to \fBfilename\fP\&. If \fBfilename\fP is \fB\-\fP then
|
This option writes the zone output to \fBfilename\fP\&. If \fBfilename\fP is \fB\-\fP, then
|
||||||
write to standard out. This is mandatory for \fBnamed\-compilezone\fP\&.
|
the zone output is written to standard output. This is mandatory for \fBnamed\-compilezone\fP\&.
|
||||||
.TP
|
.TP
|
||||||
\fB\-r\fP mode
|
.B \fB\-r mode\fP
|
||||||
Check for records that are treated as different by DNSSEC but are
|
This option checks for records that are treated as different by DNSSEC but are
|
||||||
semantically equal in plain DNS. Possible modes are \fB"fail"\fP,
|
semantically equal in plain DNS. Possible modes are \fBfail\fP,
|
||||||
\fB"warn"\fP (default) and \fB"ignore"\fP\&.
|
\fBwarn\fP (the default), and \fBignore\fP\&.
|
||||||
.TP
|
.TP
|
||||||
\fB\-s\fP style
|
.B \fB\-s style\fP
|
||||||
Specify the style of the dumped zone file. Possible styles are
|
This option specifies the style of the dumped zone file. Possible styles are
|
||||||
\fB"full"\fP (default) and \fB"relative"\fP\&. The full format is most
|
\fBfull\fP (the default) and \fBrelative\fP\&. The \fBfull\fP format is most
|
||||||
suitable for processing automatically by a separate script. On the
|
suitable for processing automatically by a separate script.
|
||||||
other hand, the relative format is more human\-readable and is thus
|
The relative format is more human\-readable and is thus
|
||||||
suitable for editing by hand. For \fBnamed\-checkzone\fP this does not
|
suitable for editing by hand. For \fBnamed\-checkzone\fP, this does not
|
||||||
cause any effects unless it dumps the zone contents. It also does not
|
have any effect unless it dumps the zone contents. It also does not
|
||||||
have any meaning if the output format is not text.
|
have any meaning if the output format is not text.
|
||||||
.TP
|
.TP
|
||||||
\fB\-S\fP mode
|
.B \fB\-S mode\fP
|
||||||
Check if a SRV record refers to a CNAME. Possible modes are
|
This option checks whether an SRV record refers to a CNAME. Possible modes are
|
||||||
\fB"fail"\fP, \fB"warn"\fP (default) and \fB"ignore"\fP\&.
|
\fBfail\fP, \fBwarn\fP (the default), and \fBignore\fP\&.
|
||||||
.TP
|
.TP
|
||||||
\fB\-t\fP directory
|
.B \fB\-t directory\fP
|
||||||
Chroot to \fBdirectory\fP so that include directives in the
|
This option tells \fBnamed\fP to chroot to \fBdirectory\fP, so that \fBinclude\fP directives in the
|
||||||
configuration file are processed as if run by a similarly chrooted
|
configuration file are processed as if run by a similarly chrooted
|
||||||
\fBnamed\fP\&.
|
\fBnamed\fP\&.
|
||||||
.TP
|
.TP
|
||||||
\fB\-T\fP mode
|
.B \fB\-T mode\fP
|
||||||
Check if Sender Policy Framework (SPF) records exist and issues a
|
This option checks whether Sender Policy Framework (SPF) records exist and issues a
|
||||||
warning if an SPF\-formatted TXT record is not also present. Possible
|
warning if an SPF\-formatted TXT record is not also present. Possible
|
||||||
modes are \fB"warn"\fP (default), \fB"ignore"\fP\&.
|
modes are \fBwarn\fP (the default) and \fBignore\fP\&.
|
||||||
.TP
|
.TP
|
||||||
\fB\-w\fP directory
|
.B \fB\-w directory\fP
|
||||||
chdir to \fBdirectory\fP so that relative filenames in master file
|
This option instructs \fBnamed\fP to chdir to \fBdirectory\fP, so that relative filenames in master file
|
||||||
$INCLUDE directives work. This is similar to the directory clause in
|
\fB$INCLUDE\fP directives work. This is similar to the directory clause in
|
||||||
\fBnamed.conf\fP\&.
|
\fBnamed.conf\fP\&.
|
||||||
.TP
|
.TP
|
||||||
\fB\-D\fP
|
.B \fB\-D\fP
|
||||||
Dump zone file in canonical format. This is always enabled for
|
This option dumps the zone file in canonical format. This is always enabled for
|
||||||
\fBnamed\-compilezone\fP\&.
|
\fBnamed\-compilezone\fP\&.
|
||||||
.TP
|
.TP
|
||||||
\fB\-W\fP mode
|
.B \fB\-W mode\fP
|
||||||
Specify whether to check for non\-terminal wildcards. Non\-terminal
|
This option specifies whether to check for non\-terminal wildcards. Non\-terminal
|
||||||
wildcards are almost always the result of a failure to understand the
|
wildcards are almost always the result of a failure to understand the
|
||||||
wildcard matching algorithm (\fI\%RFC 1034\fP). Possible modes are \fB"warn"\fP
|
wildcard matching algorithm (\fI\%RFC 1034\fP). Possible modes are \fBwarn\fP
|
||||||
(default) and \fB"ignore"\fP\&.
|
(the default) and \fBignore\fP\&.
|
||||||
.TP
|
.TP
|
||||||
.B zonename
|
.B \fBzonename\fP
|
||||||
The domain name of the zone being checked.
|
This indicates the domain name of the zone being checked.
|
||||||
.TP
|
.TP
|
||||||
.B filename
|
.B \fBfilename\fP
|
||||||
The name of the zone file.
|
This is the name of the zone file.
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.SH RETURN VALUES
|
.SH RETURN VALUES
|
||||||
.sp
|
.sp
|
||||||
|
@@ -47,7 +47,7 @@ appending the extension \fB\&.jnl\fP to the name of the corresponding zone
|
|||||||
file.
|
file.
|
||||||
.sp
|
.sp
|
||||||
\fBnamed\-journalprint\fP converts the contents of a given journal file
|
\fBnamed\-journalprint\fP converts the contents of a given journal file
|
||||||
into a human\-readable text format. Each line begins with "add" or "del",
|
into a human\-readable text format. Each line begins with \fBadd\fP or \fBdel\fP,
|
||||||
to indicate whether the record was added or deleted, and continues with
|
to indicate whether the record was added or deleted, and continues with
|
||||||
the resource record in master\-file format.
|
the resource record in master\-file format.
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
|
@@ -43,8 +43,8 @@ version of BIND to an older version.
|
|||||||
.SH ARGUMENTS
|
.SH ARGUMENTS
|
||||||
.INDENT 0.0
|
.INDENT 0.0
|
||||||
.TP
|
.TP
|
||||||
.B filename
|
.B \fBfilename\fP
|
||||||
The name of the \fB\&.nzd\fP file whose contents should be printed.
|
This is the name of the \fB\&.nzd\fP file whose contents should be printed.
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
.sp
|
.sp
|
||||||
|
@@ -35,22 +35,30 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
|||||||
\fBnamed\-rrchecker\fP [\fB\-h\fP] [\fB\-o\fP origin] [\fB\-p\fP] [\fB\-u\fP] [\fB\-C\fP] [\fB\-T\fP] [\fB\-P\fP]
|
\fBnamed\-rrchecker\fP [\fB\-h\fP] [\fB\-o\fP origin] [\fB\-p\fP] [\fB\-u\fP] [\fB\-C\fP] [\fB\-T\fP] [\fB\-P\fP]
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.sp
|
.sp
|
||||||
\fBnamed\-rrchecker\fP read a individual DNS resource record from standard
|
\fBnamed\-rrchecker\fP reads a individual DNS resource record from standard
|
||||||
input and checks if it is syntactically correct.
|
input and checks whether it is syntactically correct.
|
||||||
.sp
|
.SH OPTIONS
|
||||||
The \fB\-h\fP prints out the help menu.
|
.INDENT 0.0
|
||||||
.sp
|
.TP
|
||||||
The \fB\-o origin\fP option specifies a origin to be used when interpreting
|
.B \fB\-h\fP
|
||||||
|
This option prints out the help menu.
|
||||||
|
.TP
|
||||||
|
.B \fB\-o origin\fP
|
||||||
|
This option specifies the origin to be used when interpreting
|
||||||
the record.
|
the record.
|
||||||
.sp
|
.TP
|
||||||
The \fB\-p\fP prints out the resulting record in canonical form. If there
|
.B \fB\-p\fP
|
||||||
is no canonical form defined then the record will be printed in unknown
|
This option prints out the resulting record in canonical form. If there
|
||||||
|
is no canonical form defined, the record is printed in unknown
|
||||||
record format.
|
record format.
|
||||||
.sp
|
.TP
|
||||||
The \fB\-u\fP prints out the resulting record in unknown record form.
|
.B \fB\-u\fP
|
||||||
.sp
|
This option prints out the resulting record in unknown record form.
|
||||||
The \fB\-C\fP, \fB\-T\fP and \fB\-P\fP print out the known class, standard type
|
.TP
|
||||||
and private type mnemonics respectively.
|
.B \fB\-C\fP, \fB\-T\fP, and \fB\-P\fP
|
||||||
|
These options print out the known class, standard type,
|
||||||
|
and private type mnemonics, respectively.
|
||||||
|
.UNINDENT
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
.sp
|
.sp
|
||||||
\fI\%RFC 1034\fP, \fI\%RFC 1035\fP, \fBnamed(8)\fP\&.
|
\fI\%RFC 1034\fP, \fI\%RFC 1035\fP, \fBnamed(8)\fP\&.
|
||||||
|
@@ -39,81 +39,81 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
|||||||
distribution from ISC. For more information on the DNS, see \fI\%RFC 1033\fP,
|
distribution from ISC. For more information on the DNS, see \fI\%RFC 1033\fP,
|
||||||
\fI\%RFC 1034\fP, and \fI\%RFC 1035\fP\&.
|
\fI\%RFC 1034\fP, and \fI\%RFC 1035\fP\&.
|
||||||
.sp
|
.sp
|
||||||
When invoked without arguments, \fBnamed\fP will read the default
|
When invoked without arguments, \fBnamed\fP reads the default
|
||||||
configuration file \fB/etc/named.conf\fP, read any initial data, and
|
configuration file \fB/etc/named.conf\fP, reads any initial data, and
|
||||||
listen for queries.
|
listens for queries.
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.INDENT 0.0
|
.INDENT 0.0
|
||||||
.TP
|
.TP
|
||||||
\fB\-4\fP
|
.B \fB\-4\fP
|
||||||
Use IPv4 only even if the host machine is capable of IPv6. \fB\-4\fP and
|
This option tells \fBnamed\fP to use only IPv4, even if the host machine is capable of IPv6. \fB\-4\fP and
|
||||||
\fB\-6\fP are mutually exclusive.
|
\fB\-6\fP are mutually exclusive.
|
||||||
.TP
|
.TP
|
||||||
\fB\-6\fP
|
.B \fB\-6\fP
|
||||||
Use IPv6 only even if the host machine is capable of IPv4. \fB\-4\fP and
|
This option tells \fBnamed\fP to use only IPv6, even if the host machine is capable of IPv4. \fB\-4\fP and
|
||||||
\fB\-6\fP are mutually exclusive.
|
\fB\-6\fP are mutually exclusive.
|
||||||
.TP
|
.TP
|
||||||
\fB\-c\fP config\-file
|
.B \fB\-c config\-file\fP
|
||||||
Use config\-file as the configuration file instead of the default,
|
This option tells \fBnamed\fP to use \fBconfig\-file\fP as its configuration file instead of the default,
|
||||||
\fB/etc/named.conf\fP\&. To ensure that reloading the configuration file
|
\fB/etc/named.conf\fP\&. To ensure that the configuration file
|
||||||
continues to work after the server has changed its working directory
|
can be reloaded after the server has changed its working directory
|
||||||
due to to a possible \fBdirectory\fP option in the configuration file,
|
due to to a possible \fBdirectory\fP option in the configuration file,
|
||||||
config\-file should be an absolute pathname.
|
\fBconfig\-file\fP should be an absolute pathname.
|
||||||
.TP
|
.TP
|
||||||
\fB\-d\fP debug\-level
|
.B \fB\-d debug\-level\fP
|
||||||
Set the daemon\(aqs debug level to debug\-level. Debugging traces from
|
This option sets the daemon\(aqs debug level to \fBdebug\-level\fP\&. Debugging traces from
|
||||||
\fBnamed\fP become more verbose as the debug level increases.
|
\fBnamed\fP become more verbose as the debug level increases.
|
||||||
.TP
|
.TP
|
||||||
\fB\-D\fP string
|
.B \fB\-D string\fP
|
||||||
Specifies a string that is used to identify a instance of \fBnamed\fP
|
This option specifies a string that is used to identify a instance of \fBnamed\fP
|
||||||
in a process listing. The contents of string are not examined.
|
in a process listing. The contents of \fBstring\fP are not examined.
|
||||||
.TP
|
.TP
|
||||||
\fB\-E\fP engine\-name
|
.B \fB\-E engine\-name\fP
|
||||||
When applicable, specifies the hardware to use for cryptographic
|
When applicable, this option specifies the hardware to use for cryptographic
|
||||||
operations, such as a secure key store used for signing.
|
operations, such as a secure key store used for signing.
|
||||||
.sp
|
.sp
|
||||||
When BIND is built with OpenSSL PKCS#11 support, this defaults to the
|
When BIND is built with OpenSSL PKCS#11 support, this defaults to the
|
||||||
string "pkcs11", which identifies an OpenSSL engine that can drive a
|
string \fBpkcs11\fP, which identifies an OpenSSL engine that can drive a
|
||||||
cryptographic accelerator or hardware service module. When BIND is
|
cryptographic accelerator or hardware service module. When BIND is
|
||||||
built with native PKCS#11 cryptography (\-\-enable\-native\-pkcs11), it
|
built with native PKCS#11 cryptography (\fB\-\-enable\-native\-pkcs11\fP), it
|
||||||
defaults to the path of the PKCS#11 provider library specified via
|
defaults to the path of the PKCS#11 provider library specified via
|
||||||
"\-\-with\-pkcs11".
|
\fB\-\-with\-pkcs11\fP\&.
|
||||||
.TP
|
.TP
|
||||||
\fB\-f\fP
|
.B \fB\-f\fP
|
||||||
Run the server in the foreground (i.e. do not daemonize).
|
This option runs the server in the foreground (i.e., do not daemonize).
|
||||||
.TP
|
.TP
|
||||||
\fB\-g\fP
|
.B \fB\-g\fP
|
||||||
Run the server in the foreground and force all logging to \fBstderr\fP\&.
|
This option runs the server in the foreground and forces all logging to \fBstderr\fP\&.
|
||||||
.TP
|
.TP
|
||||||
\fB\-L\fP logfile
|
.B \fB\-L logfile\fP
|
||||||
Log to the file \fBlogfile\fP by default instead of the system log.
|
This option sets the log to the file \fBlogfile\fP by default, instead of the system log.
|
||||||
.TP
|
.TP
|
||||||
\fB\-M\fP option
|
.B \fB\-M option\fP
|
||||||
Sets the default memory context options. If set to external, this
|
This option sets the default memory context options. If set to \fBexternal\fP,
|
||||||
causes the internal memory manager to be bypassed in favor of
|
the internal memory manager is bypassed in favor of
|
||||||
system\-provided memory allocation functions. If set to fill, blocks
|
system\-provided memory allocation functions. If set to \fBfill\fP, blocks
|
||||||
of memory will be filled with tag values when allocated or freed, to
|
of memory are filled with tag values when allocated or freed, to
|
||||||
assist debugging of memory problems. (nofill disables this behavior,
|
assist debugging of memory problems. \fBnofill\fP disables this behavior,
|
||||||
and is the default unless \fBnamed\fP has been compiled with developer
|
and is the default unless \fBnamed\fP has been compiled with developer
|
||||||
options.)
|
options.
|
||||||
.TP
|
.TP
|
||||||
\fB\-m\fP flag
|
.B \fB\-m flag\fP
|
||||||
Turn on memory usage debugging flags. Possible flags are usage,
|
This option turns on memory usage debugging flags. Possible flags are \fBusage\fP,
|
||||||
trace, record, size, and mctx. These correspond to the
|
\fBtrace\fP, \fBrecord\fP, \fBsize\fP, and \fBmctx\fP\&. These correspond to the
|
||||||
ISC_MEM_DEBUGXXXX flags described in \fB<isc/mem.h>\fP\&.
|
\fBISC_MEM_DEBUGXXXX\fP flags described in \fB<isc/mem.h>\fP\&.
|
||||||
.TP
|
.TP
|
||||||
\fB\-n\fP #cpus
|
.B \fB\-n #cpus\fP
|
||||||
Create #cpus worker threads to take advantage of multiple CPUs. If
|
This option creates \fB#cpus\fP worker threads to take advantage of multiple CPUs. If
|
||||||
not specified, \fBnamed\fP will try to determine the number of CPUs
|
not specified, \fBnamed\fP tries to determine the number of CPUs
|
||||||
present and create one thread per CPU. If it is unable to determine
|
present and creates one thread per CPU. If it is unable to determine
|
||||||
the number of CPUs, a single worker thread will be created.
|
the number of CPUs, a single worker thread is created.
|
||||||
.TP
|
.TP
|
||||||
\fB\-p\fP port
|
.B \fB\-p port\fP
|
||||||
Listen for queries on port port. If not specified, the default is
|
This option listens for queries on \fBport\fP\&. If not specified, the default is
|
||||||
port 53.
|
port 53.
|
||||||
.TP
|
.TP
|
||||||
\fB\-s\fP
|
.B \fB\-s\fP
|
||||||
Write memory usage statistics to \fBstdout\fP on exit.
|
This option writes memory usage statistics to \fBstdout\fP on exit.
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.sp
|
.sp
|
||||||
\fBNOTE:\fP
|
\fBNOTE:\fP
|
||||||
@@ -125,30 +125,30 @@ removed or changed in a future release.
|
|||||||
.UNINDENT
|
.UNINDENT
|
||||||
.INDENT 0.0
|
.INDENT 0.0
|
||||||
.TP
|
.TP
|
||||||
\fB\-S\fP #max\-socks
|
.B \fB\-S #max\-socks\fP
|
||||||
Allow \fBnamed\fP to use up to #max\-socks sockets. The default value is
|
This option allows \fBnamed\fP to use up to \fB#max\-socks\fP sockets. The default value is
|
||||||
21000 on systems built with default configuration options, and 4096
|
21000 on systems built with default configuration options, and 4096
|
||||||
on systems built with "configure \-\-with\-tuning=small".
|
on systems built with \fBconfigure \-\-with\-tuning=small\fP\&.
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.sp
|
.sp
|
||||||
\fBWARNING:\fP
|
\fBWARNING:\fP
|
||||||
.INDENT 0.0
|
.INDENT 0.0
|
||||||
.INDENT 3.5
|
.INDENT 3.5
|
||||||
This option should be unnecessary for the vast majority of users.
|
This option should be unnecessary for the vast majority of users.
|
||||||
The use of this option could even be harmful because the specified
|
The use of this option could even be harmful, because the specified
|
||||||
value may exceed the limitation of the underlying system API. It
|
value may exceed the limitation of the underlying system API. It
|
||||||
is therefore set only when the default configuration causes
|
is therefore set only when the default configuration causes
|
||||||
exhaustion of file descriptors and the operational environment is
|
exhaustion of file descriptors and the operational environment is
|
||||||
known to support the specified number of sockets. Note also that
|
known to support the specified number of sockets. Note also that
|
||||||
the actual maximum number is normally a little fewer than the
|
the actual maximum number is normally slightly fewer than the
|
||||||
specified value because \fBnamed\fP reserves some file descriptors
|
specified value, because \fBnamed\fP reserves some file descriptors
|
||||||
for its internal use.
|
for its internal use.
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.INDENT 0.0
|
.INDENT 0.0
|
||||||
.TP
|
.TP
|
||||||
\fB\-t\fP directory
|
.B \fB\-t directory\fP
|
||||||
Chroot to directory after processing the command line arguments, but
|
This option tells \fBnamed\fP to chroot to \fBdirectory\fP after processing the command\-line arguments, but
|
||||||
before reading the configuration file.
|
before reading the configuration file.
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.sp
|
.sp
|
||||||
@@ -157,15 +157,15 @@ before reading the configuration file.
|
|||||||
.INDENT 3.5
|
.INDENT 3.5
|
||||||
This option should be used in conjunction with the \fB\-u\fP option,
|
This option should be used in conjunction with the \fB\-u\fP option,
|
||||||
as chrooting a process running as root doesn\(aqt enhance security on
|
as chrooting a process running as root doesn\(aqt enhance security on
|
||||||
most systems; the way \fBchroot(2)\fP is defined allows a process
|
most systems; the way \fBchroot\fP is defined allows a process
|
||||||
with root privileges to escape a chroot jail.
|
with root privileges to escape a chroot jail.
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.INDENT 0.0
|
.INDENT 0.0
|
||||||
.TP
|
.TP
|
||||||
\fB\-U\fP #listeners
|
.B \fB\-U #listeners\fP
|
||||||
Use #listeners worker threads to listen for incoming UDP packets on
|
This option tells \fBnamed\fP the number of \fB#listeners\fP worker threads to listen on, for incoming UDP packets on
|
||||||
each address. If not specified, \fBnamed\fP will calculate a default
|
each address. If not specified, \fBnamed\fP calculates a default
|
||||||
value based on the number of detected CPUs: 1 for 1 CPU, and the
|
value based on the number of detected CPUs: 1 for 1 CPU, and the
|
||||||
number of detected CPUs minus one for machines with more than 1 CPU.
|
number of detected CPUs minus one for machines with more than 1 CPU.
|
||||||
This cannot be increased to a value higher than the number of CPUs.
|
This cannot be increased to a value higher than the number of CPUs.
|
||||||
@@ -174,8 +174,8 @@ CPUs, then \fB\-U\fP may be increased as high as that value, but no
|
|||||||
higher. On Windows, the number of UDP listeners is hardwired to 1 and
|
higher. On Windows, the number of UDP listeners is hardwired to 1 and
|
||||||
this option has no effect.
|
this option has no effect.
|
||||||
.TP
|
.TP
|
||||||
\fB\-u\fP user
|
.B \fB\-u user\fP
|
||||||
Setuid to user after completing privileged operations, such as
|
This option sets the setuid to \fBuser\fP after completing privileged operations, such as
|
||||||
creating sockets that listen on privileged ports.
|
creating sockets that listen on privileged ports.
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.sp
|
.sp
|
||||||
@@ -183,36 +183,36 @@ creating sockets that listen on privileged ports.
|
|||||||
.INDENT 0.0
|
.INDENT 0.0
|
||||||
.INDENT 3.5
|
.INDENT 3.5
|
||||||
On Linux, \fBnamed\fP uses the kernel\(aqs capability mechanism to drop
|
On Linux, \fBnamed\fP uses the kernel\(aqs capability mechanism to drop
|
||||||
all root privileges except the ability to \fBbind(2)\fP to a
|
all root privileges except the ability to \fBbind\fP to a
|
||||||
privileged port and set process resource limits. Unfortunately,
|
privileged port and set process resource limits. Unfortunately,
|
||||||
this means that the \fB\-u\fP option only works when \fBnamed\fP is run
|
this means that the \fB\-u\fP option only works when \fBnamed\fP is run
|
||||||
on kernel 2.2.18 or later, or kernel 2.3.99\-pre3 or later, since
|
on kernel 2.2.18 or later, or kernel 2.3.99\-pre3 or later, since
|
||||||
previous kernels did not allow privileges to be retained after
|
previous kernels did not allow privileges to be retained after
|
||||||
\fBsetuid(2)\fP\&.
|
\fBsetuid\fP\&.
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.INDENT 0.0
|
.INDENT 0.0
|
||||||
.TP
|
.TP
|
||||||
\fB\-v\fP
|
.B \fB\-v\fP
|
||||||
Report the version number and exit.
|
This option reports the version number and exits.
|
||||||
.TP
|
.TP
|
||||||
\fB\-V\fP
|
.B \fB\-V\fP
|
||||||
Report the version number and build options, and exit.
|
This option reports the version number and build options, and exits.
|
||||||
.TP
|
.TP
|
||||||
\fB\-X\fP lock\-file
|
.B \fB\-X lock\-file\fP
|
||||||
Acquire a lock on the specified file at runtime; this helps to
|
This option acquires a lock on the specified file at runtime; this helps to
|
||||||
prevent duplicate \fBnamed\fP instances from running simultaneously.
|
prevent duplicate \fBnamed\fP instances from running simultaneously.
|
||||||
Use of this option overrides the \fBlock\-file\fP option in
|
Use of this option overrides the \fBlock\-file\fP option in
|
||||||
\fBnamed.conf\fP\&. If set to \fBnone\fP, the lock file check is disabled.
|
\fBnamed.conf\fP\&. If set to \fBnone\fP, the lock file check is disabled.
|
||||||
.TP
|
.TP
|
||||||
\fB\-x\fP cache\-file
|
.B \fB\-x cache\-file\fP
|
||||||
Load data from cache\-file into the cache of the default view.
|
This option loads data from \fBcache\-file\fP into the cache of the default view.
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.sp
|
.sp
|
||||||
\fBWARNING:\fP
|
\fBWARNING:\fP
|
||||||
.INDENT 0.0
|
.INDENT 0.0
|
||||||
.INDENT 3.5
|
.INDENT 3.5
|
||||||
This option must not be used. It is only of interest to BIND 9
|
This option must not be used in normal operations. It is only of interest to BIND 9
|
||||||
developers and may be removed or changed in a future release.
|
developers and may be removed or changed in a future release.
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
@@ -223,10 +223,10 @@ nameserver; \fBrndc\fP should be used instead.
|
|||||||
.INDENT 0.0
|
.INDENT 0.0
|
||||||
.TP
|
.TP
|
||||||
.B SIGHUP
|
.B SIGHUP
|
||||||
Force a reload of the server.
|
This signal forces a reload of the server.
|
||||||
.TP
|
.TP
|
||||||
.B SIGINT, SIGTERM
|
.B SIGINT, SIGTERM
|
||||||
Shut down the server.
|
These signals shut down the server.
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.sp
|
.sp
|
||||||
The result of sending any other signals to the server is undefined.
|
The result of sending any other signals to the server is undefined.
|
||||||
|
@@ -41,31 +41,31 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
|||||||
parameters. This can be used to check the validity of NSEC3 records in a
|
parameters. This can be used to check the validity of NSEC3 records in a
|
||||||
signed zone.
|
signed zone.
|
||||||
.sp
|
.sp
|
||||||
If this command is invoked as \fBnsec3hash \-r\fP, it takes arguments in an
|
If this command is invoked as \fBnsec3hash \-r\fP, it takes arguments in
|
||||||
order matching the first four fields of an NSEC3 record, followed by the
|
order, matching the first four fields of an NSEC3 record followed by the
|
||||||
domain name: algorithm, flags, iterations, salt, domain. This makes it
|
domain name: \fBalgorithm\fP, \fBflags\fP, \fBiterations\fP, \fBsalt\fP, \fBdomain\fP\&. This makes it
|
||||||
convenient to copy and paste a portion of an NSEC3 or NSEC3PARAM record
|
convenient to copy and paste a portion of an NSEC3 or NSEC3PARAM record
|
||||||
into a command line to confirm the correctness of an NSEC3 hash.
|
into a command line to confirm the correctness of an NSEC3 hash.
|
||||||
.SH ARGUMENTS
|
.SH ARGUMENTS
|
||||||
.INDENT 0.0
|
.INDENT 0.0
|
||||||
.TP
|
.TP
|
||||||
.B \fBsalt\fP
|
.B \fBsalt\fP
|
||||||
The salt provided to the hash algorithm.
|
This is the salt provided to the hash algorithm.
|
||||||
.TP
|
.TP
|
||||||
.B \fBalgorithm\fP
|
.B \fBalgorithm\fP
|
||||||
A number indicating the hash algorithm. Currently the only supported
|
This is a number indicating the hash algorithm. Currently the only supported
|
||||||
hash algorithm for NSEC3 is SHA\-1, which is indicated by the number
|
hash algorithm for NSEC3 is SHA\-1, which is indicated by the number
|
||||||
1; consequently "1" is the only useful value for this argument.
|
1; consequently "1" is the only useful value for this argument.
|
||||||
.TP
|
.TP
|
||||||
.B \fBflags\fP
|
.B \fBflags\fP
|
||||||
Provided for compatibility with NSEC3 record presentation format, but
|
This is provided for compatibility with NSEC3 record presentation format, but
|
||||||
ignored since the flags do not affect the hash.
|
is ignored since the flags do not affect the hash.
|
||||||
.TP
|
.TP
|
||||||
.B \fBiterations\fP
|
.B \fBiterations\fP
|
||||||
The number of additional times the hash should be performed.
|
This is the number of additional times the hash should be performed.
|
||||||
.TP
|
.TP
|
||||||
.B \fBdomain\fP
|
.B \fBdomain\fP
|
||||||
The domain name to be hashed.
|
This is the domain name to be hashed.
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
.sp
|
.sp
|
||||||
|
@@ -35,18 +35,18 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
|||||||
\fBnslookup\fP [\-option] [name | \-] [server]
|
\fBnslookup\fP [\-option] [name | \-] [server]
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.sp
|
.sp
|
||||||
\fBNslookup\fP is a program to query Internet domain name servers.
|
\fBnslookup\fP is a program to query Internet domain name servers.
|
||||||
\fBNslookup\fP has two modes: interactive and non\-interactive. Interactive
|
\fBnslookup\fP has two modes: interactive and non\-interactive. Interactive
|
||||||
mode allows the user to query name servers for information about various
|
mode allows the user to query name servers for information about various
|
||||||
hosts and domains or to print a list of hosts in a domain.
|
hosts and domains or to print a list of hosts in a domain.
|
||||||
Non\-interactive mode is used to print just the name and requested
|
Non\-interactive mode prints just the name and requested
|
||||||
information for a host or domain.
|
information for a host or domain.
|
||||||
.SH ARGUMENTS
|
.SH ARGUMENTS
|
||||||
.sp
|
.sp
|
||||||
Interactive mode is entered in the following cases:
|
Interactive mode is entered in the following cases:
|
||||||
.INDENT 0.0
|
.INDENT 0.0
|
||||||
.IP a. 3
|
.IP a. 3
|
||||||
when no arguments are given (the default name server will be used)
|
when no arguments are given (the default name server is used);
|
||||||
.IP b. 3
|
.IP b. 3
|
||||||
when the first argument is a hyphen (\-) and the second argument is
|
when the first argument is a hyphen (\-) and the second argument is
|
||||||
the host name or Internet address of a name server.
|
the host name or Internet address of a name server.
|
||||||
@@ -58,7 +58,7 @@ argument specifies the host name or address of a name server.
|
|||||||
.sp
|
.sp
|
||||||
Options can also be specified on the command line if they precede the
|
Options can also be specified on the command line if they precede the
|
||||||
arguments and are prefixed with a hyphen. For example, to change the
|
arguments and are prefixed with a hyphen. For example, to change the
|
||||||
default query type to host information, and the initial timeout to 10
|
default query type to host information, with an initial timeout of 10
|
||||||
seconds, type:
|
seconds, type:
|
||||||
.INDENT 0.0
|
.INDENT 0.0
|
||||||
.INDENT 3.5
|
.INDENT 3.5
|
||||||
@@ -72,59 +72,59 @@ nslookup \-query=hinfo \-timeout=10
|
|||||||
.UNINDENT
|
.UNINDENT
|
||||||
.sp
|
.sp
|
||||||
The \fB\-version\fP option causes \fBnslookup\fP to print the version number
|
The \fB\-version\fP option causes \fBnslookup\fP to print the version number
|
||||||
and immediately exits.
|
and immediately exit.
|
||||||
.SH INTERACTIVE COMMANDS
|
.SH INTERACTIVE COMMANDS
|
||||||
.INDENT 0.0
|
.INDENT 0.0
|
||||||
.TP
|
.TP
|
||||||
.B \fBhost\fP [server]
|
.B \fBhost [server]\fP
|
||||||
Look up information for host using the current default server or
|
This command looks up information for \fBhost\fP using the current default server or
|
||||||
using server, if specified. If host is an Internet address and the
|
using \fBserver\fP, if specified. If \fBhost\fP is an Internet address and the
|
||||||
query type is A or PTR, the name of the host is returned. If host is
|
query type is A or PTR, the name of the host is returned. If \fBhost\fP is
|
||||||
a name and does not have a trailing period, the search list is used
|
a name and does not have a trailing period (\fB\&.\fP), the search list is used
|
||||||
to qualify the name.
|
to qualify the name.
|
||||||
.sp
|
.sp
|
||||||
To look up a host not in the current domain, append a period to the
|
To look up a host not in the current domain, append a period to the
|
||||||
name.
|
name.
|
||||||
.TP
|
.TP
|
||||||
.B \fBserver\fP domain | \fBlserver\fP domain
|
.B \fBserver domain\fP | \fBlserver domain\fP
|
||||||
Change the default server to domain; \fBlserver\fP uses the initial
|
These commands change the default server to \fBdomain\fP; \fBlserver\fP uses the initial
|
||||||
server to look up information about domain, while \fBserver\fP uses the
|
server to look up information about \fBdomain\fP, while \fBserver\fP uses the
|
||||||
current default server. If an authoritative answer can\(aqt be found,
|
current default server. If an authoritative answer cannot be found,
|
||||||
the names of servers that might have the answer are returned.
|
the names of servers that might have the answer are returned.
|
||||||
.TP
|
.TP
|
||||||
.B \fBroot\fP
|
.B \fBroot\fP
|
||||||
not implemented
|
This command is not implemented.
|
||||||
.TP
|
.TP
|
||||||
.B \fBfinger\fP
|
.B \fBfinger\fP
|
||||||
not implemented
|
This command is not implemented.
|
||||||
.TP
|
.TP
|
||||||
.B \fBls\fP
|
.B \fBls\fP
|
||||||
not implemented
|
This command is not implemented.
|
||||||
.TP
|
.TP
|
||||||
.B \fBview\fP
|
.B \fBview\fP
|
||||||
not implemented
|
This command is not implemented.
|
||||||
.TP
|
.TP
|
||||||
.B \fBhelp\fP
|
.B \fBhelp\fP
|
||||||
not implemented
|
This command is not implemented.
|
||||||
.TP
|
.TP
|
||||||
.B \fB?\fP
|
.B \fB?\fP
|
||||||
not implemented
|
This command is not implemented.
|
||||||
.TP
|
.TP
|
||||||
.B \fBexit\fP
|
.B \fBexit\fP
|
||||||
Exits the program.
|
This command exits the program.
|
||||||
.TP
|
.TP
|
||||||
.B \fBset\fP keyword[=value]
|
.B \fBset keyword[=value]\fP
|
||||||
This command is used to change state information that affects the
|
This command is used to change state information that affects the
|
||||||
lookups. Valid keywords are:
|
lookups. Valid keywords are:
|
||||||
.INDENT 7.0
|
.INDENT 7.0
|
||||||
.TP
|
.TP
|
||||||
.B \fBall\fP
|
.B \fBall\fP
|
||||||
Prints the current values of the frequently used options to
|
This keyword prints the current values of the frequently used options to
|
||||||
\fBset\fP\&. Information about the current default server and host is
|
\fBset\fP\&. Information about the current default server and host is
|
||||||
also printed.
|
also printed.
|
||||||
.TP
|
.TP
|
||||||
.B \fBclass=\fPvalue
|
.B \fBclass=value\fP
|
||||||
Change the query class to one of:
|
This keyword changes the query class to one of:
|
||||||
.INDENT 7.0
|
.INDENT 7.0
|
||||||
.TP
|
.TP
|
||||||
.B \fBIN\fP
|
.B \fBIN\fP
|
||||||
@@ -140,74 +140,62 @@ the Hesiod class
|
|||||||
wildcard
|
wildcard
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.sp
|
.sp
|
||||||
The class specifies the protocol group of the information.
|
The class specifies the protocol group of the information. The default
|
||||||
.sp
|
is \fBIN\fP; the abbreviation for this keyword is \fBcl\fP\&.
|
||||||
(Default = IN; abbreviation = cl)
|
|
||||||
.TP
|
.TP
|
||||||
.B \fBnodebug\fP
|
.B \fBnodebug\fP
|
||||||
Turn on or off the display of the full response packet and any
|
This keyword turns on or off the display of the full response packet, and any
|
||||||
intermediate response packets when searching.
|
intermediate response packets, when searching. The default for this keyword is
|
||||||
.sp
|
\fBnodebug\fP; the abbreviation for this keyword is \fB[no]deb\fP\&.
|
||||||
(Default = nodebug; abbreviation = [no]deb)
|
|
||||||
.TP
|
.TP
|
||||||
.B \fBnod2\fP
|
.B \fBnod2\fP
|
||||||
Turn debugging mode on or off. This displays more about what
|
This keyword turns debugging mode on or off. This displays more about what
|
||||||
nslookup is doing.
|
nslookup is doing. The default is \fBnod2\fP\&.
|
||||||
.sp
|
|
||||||
(Default = nod2)
|
|
||||||
.TP
|
.TP
|
||||||
.B \fBdomain=\fPname
|
.B \fBdomain=name\fP
|
||||||
Sets the search list to name.
|
This keyword sets the search list to \fBname\fP\&.
|
||||||
.TP
|
.TP
|
||||||
.B \fBnosearch\fP
|
.B \fBnosearch\fP
|
||||||
If the lookup request contains at least one period but doesn\(aqt end
|
If the lookup request contains at least one period, but does not end
|
||||||
with a trailing period, append the domain names in the domain
|
with a trailing period, this keyword appends the domain names in the domain
|
||||||
search list to the request until an answer is received.
|
search list to the request until an answer is received. The default is \fBsearch\fP\&.
|
||||||
.sp
|
|
||||||
(Default = search)
|
|
||||||
.TP
|
.TP
|
||||||
.B \fBport=\fPvalue
|
.B \fBport=value\fP
|
||||||
Change the default TCP/UDP name server port to value.
|
This keyword changes the default TCP/UDP name server port to \fBvalue\fP from
|
||||||
.sp
|
its default, port 53. The abbreviation for this keyword is \fBpo\fP\&.
|
||||||
(Default = 53; abbreviation = po)
|
|
||||||
.TP
|
.TP
|
||||||
.B \fBquerytype=\fPvalue | \fBtype=\fPvalue
|
.B \fBquerytype=value\fP | \fBtype=value\fP
|
||||||
Change the type of the information query.
|
This keyword changes the type of the information query to \fBvalue\fP\&. The
|
||||||
|
defaults are A and then AAAA; the abbreviations for these keywords are
|
||||||
|
\fBq\fP and \fBty\fP\&.
|
||||||
.sp
|
.sp
|
||||||
(Default = A and then AAAA; abbreviations = q, ty)
|
Please note that it is only possible to specify one query type. Only the default
|
||||||
.INDENT 7.0
|
|
||||||
.TP
|
|
||||||
\fBNote:\fP It is only possible to specify one query type, only the default
|
|
||||||
behavior looks up both when an alternative is not specified.
|
behavior looks up both when an alternative is not specified.
|
||||||
.UNINDENT
|
|
||||||
.TP
|
.TP
|
||||||
.B \fBnorecurse\fP
|
.B \fBnorecurse\fP
|
||||||
Tell the name server to query other servers if it does not have
|
This keyword tells the name server to query other servers if it does not have
|
||||||
the information.
|
the information. The default is \fBrecurse\fP; the abbreviation for this
|
||||||
.sp
|
keyword is \fB[no]rec\fP\&.
|
||||||
(Default = recurse; abbreviation = [no]rec)
|
|
||||||
.TP
|
.TP
|
||||||
.B \fBndots=\fPnumber
|
.B \fBndots=number\fP
|
||||||
Set the number of dots (label separators) in a domain that will
|
This keyword sets the number of dots (label separators) in a domain that
|
||||||
disable searching. Absolute names always stop searching.
|
disables searching. Absolute names always stop searching.
|
||||||
.TP
|
.TP
|
||||||
.B \fBretry=\fPnumber
|
.B \fBretry=number\fP
|
||||||
Set the number of retries to number.
|
This keyword sets the number of retries to \fBnumber\fP\&.
|
||||||
.TP
|
.TP
|
||||||
.B \fBtimeout=\fPnumber
|
.B \fBtimeout=number\fP
|
||||||
Change the initial timeout interval for waiting for a reply to
|
This keyword changes the initial timeout interval to wait for a reply to
|
||||||
number seconds.
|
\fBnumber\fP, in seconds.
|
||||||
.TP
|
.TP
|
||||||
.B \fBnovc\fP
|
.B \fBnovc\fP
|
||||||
Always use a virtual circuit when sending requests to the server.
|
This keyword indicates that a virtual circuit should always be used when sending requests to the server.
|
||||||
.sp
|
\fBnovc\fP is the default.
|
||||||
(Default = novc)
|
|
||||||
.TP
|
.TP
|
||||||
.B \fBnofail\fP
|
.B \fBnofail\fP
|
||||||
Try the next nameserver if a nameserver responds with SERVFAIL or
|
This keyword tries the next nameserver if a nameserver responds with SERVFAIL or
|
||||||
a referral (nofail) or terminate query (fail) on such a response.
|
a referral (nofail), or terminates the query (fail) on such a response. The
|
||||||
.sp
|
default is \fBnofail\fP\&.
|
||||||
(Default = nofail)
|
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.SH RETURN VALUES
|
.SH RETURN VALUES
|
||||||
@@ -218,11 +206,11 @@ otherwise.
|
|||||||
.sp
|
.sp
|
||||||
If \fBnslookup\fP has been built with IDN (internationalized domain name)
|
If \fBnslookup\fP has been built with IDN (internationalized domain name)
|
||||||
support, it can accept and display non\-ASCII domain names. \fBnslookup\fP
|
support, it can accept and display non\-ASCII domain names. \fBnslookup\fP
|
||||||
appropriately converts character encoding of domain name before sending
|
appropriately converts character encoding of a domain name before sending
|
||||||
a request to DNS server or displaying a reply from the server. If you\(aqd
|
a request to a DNS server or displaying a reply from the server.
|
||||||
like to turn off the IDN support for some reason, define the IDN_DISABLE
|
To turn off IDN support, define the \fBIDN_DISABLE\fP
|
||||||
environment variable. The IDN support is disabled if the variable is set
|
environment variable. IDN support is disabled if the variable is set
|
||||||
when \fBnslookup\fP runs or when the standard output is not a tty.
|
when \fBnslookup\fP runs, or when the standard output is not a tty.
|
||||||
.SH FILES
|
.SH FILES
|
||||||
.sp
|
.sp
|
||||||
\fB/etc/resolv.conf\fP
|
\fB/etc/resolv.conf\fP
|
||||||
|
@@ -35,8 +35,8 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
|||||||
\fBnsupdate\fP [\fB\-d\fP] [\fB\-D\fP] [\fB\-i\fP] [\fB\-L\fP level] [ [\fB\-g\fP] | [\fB\-o\fP] | [\fB\-l\fP] | [\fB\-y\fP [hmac:]keyname:secret] | [\fB\-k\fP keyfile] ] [\fB\-t\fP timeout] [\fB\-u\fP udptimeout] [\fB\-r\fP udpretries] [\fB\-v\fP] [\fB\-T\fP] [\fB\-P\fP] [\fB\-V\fP] [ [\fB\-4\fP] | [\fB\-6\fP] ] [filename]
|
\fBnsupdate\fP [\fB\-d\fP] [\fB\-D\fP] [\fB\-i\fP] [\fB\-L\fP level] [ [\fB\-g\fP] | [\fB\-o\fP] | [\fB\-l\fP] | [\fB\-y\fP [hmac:]keyname:secret] | [\fB\-k\fP keyfile] ] [\fB\-t\fP timeout] [\fB\-u\fP udptimeout] [\fB\-r\fP udpretries] [\fB\-v\fP] [\fB\-T\fP] [\fB\-P\fP] [\fB\-V\fP] [ [\fB\-4\fP] | [\fB\-6\fP] ] [filename]
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.sp
|
.sp
|
||||||
\fBnsupdate\fP is used to submit Dynamic DNS Update requests as defined in
|
\fBnsupdate\fP is used to submit Dynamic DNS Update requests, as defined in
|
||||||
\fI\%RFC 2136\fP to a name server. This allows resource records to be added or
|
\fI\%RFC 2136\fP, to a name server. This allows resource records to be added or
|
||||||
removed from a zone without manually editing the zone file. A single
|
removed from a zone without manually editing the zone file. A single
|
||||||
update request can contain requests to add or remove more than one
|
update request can contain requests to add or remove more than one
|
||||||
resource record.
|
resource record.
|
||||||
@@ -46,23 +46,23 @@ should not be edited by hand. Manual edits could conflict with dynamic
|
|||||||
updates and cause data to be lost.
|
updates and cause data to be lost.
|
||||||
.sp
|
.sp
|
||||||
The resource records that are dynamically added or removed with
|
The resource records that are dynamically added or removed with
|
||||||
\fBnsupdate\fP have to be in the same zone. Requests are sent to the
|
\fBnsupdate\fP must be in the same zone. Requests are sent to the
|
||||||
zone\(aqs master server. This is identified by the MNAME field of the
|
zone\(aqs primary server, which is identified by the MNAME field of the
|
||||||
zone\(aqs SOA record.
|
zone\(aqs SOA record.
|
||||||
.sp
|
.sp
|
||||||
Transaction signatures can be used to authenticate the Dynamic DNS
|
Transaction signatures can be used to authenticate the Dynamic DNS
|
||||||
updates. These use the TSIG resource record type described in \fI\%RFC 2845\fP
|
updates. These use the TSIG resource record type described in \fI\%RFC 2845\fP,
|
||||||
or the SIG(0) record described in \fI\%RFC 2535\fP and \fI\%RFC 2931\fP or GSS\-TSIG as
|
the SIG(0) record described in \fI\%RFC 2535\fP and \fI\%RFC 2931\fP, or GSS\-TSIG as
|
||||||
described in \fI\%RFC 3645\fP\&.
|
described in \fI\%RFC 3645\fP\&.
|
||||||
.sp
|
.sp
|
||||||
TSIG relies on a shared secret that should only be known to \fBnsupdate\fP
|
TSIG relies on a shared secret that should only be known to \fBnsupdate\fP
|
||||||
and the name server. For instance, suitable \fBkey\fP and \fBserver\fP
|
and the name server. For instance, suitable \fBkey\fP and \fBserver\fP
|
||||||
statements would be added to \fB/etc/named.conf\fP so that the name server
|
statements are added to \fB/etc/named.conf\fP so that the name server
|
||||||
can associate the appropriate secret key and algorithm with the IP
|
can associate the appropriate secret key and algorithm with the IP
|
||||||
address of the client application that will be using TSIG
|
address of the client application that is using TSIG
|
||||||
authentication. You can use \fBddns\-confgen\fP to generate suitable
|
authentication. \fBddns\-confgen\fP can generate suitable
|
||||||
configuration fragments. \fBnsupdate\fP uses the \fB\-y\fP or \fB\-k\fP options
|
configuration fragments. \fBnsupdate\fP uses the \fB\-y\fP or \fB\-k\fP options
|
||||||
to provide the TSIG shared secret. These options are mutually exclusive.
|
to provide the TSIG shared secret; these options are mutually exclusive.
|
||||||
.sp
|
.sp
|
||||||
SIG(0) uses public key cryptography. To use a SIG(0) key, the public key
|
SIG(0) uses public key cryptography. To use a SIG(0) key, the public key
|
||||||
must be stored in a KEY record in a zone served by the name server.
|
must be stored in a KEY record in a zone served by the name server.
|
||||||
@@ -73,96 +73,96 @@ used by Windows 2000 can be switched on with the \fB\-o\fP flag.
|
|||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.INDENT 0.0
|
.INDENT 0.0
|
||||||
.TP
|
.TP
|
||||||
\fB\-4\fP
|
.B \fB\-4\fP
|
||||||
Use IPv4 only.
|
This option sets use of IPv4 only.
|
||||||
.TP
|
.TP
|
||||||
\fB\-6\fP
|
.B \fB\-6\fP
|
||||||
Use IPv6 only.
|
This option sets use of IPv6 only.
|
||||||
.TP
|
.TP
|
||||||
\fB\-d\fP
|
.B \fB\-d\fP
|
||||||
Debug mode. This provides tracing information about the update
|
This option sets debug mode, which provides tracing information about the update
|
||||||
requests that are made and the replies received from the name server.
|
requests that are made and the replies received from the name server.
|
||||||
.TP
|
.TP
|
||||||
\fB\-D\fP
|
.B \fB\-D\fP
|
||||||
Extra debug mode.
|
This option sets extra debug mode.
|
||||||
.TP
|
.TP
|
||||||
\fB\-i\fP
|
.B \fB\-i\fP
|
||||||
Force interactive mode, even when standard input is not a terminal.
|
This option forces interactive mode, even when standard input is not a terminal.
|
||||||
.TP
|
.TP
|
||||||
\fB\-k\fP keyfile
|
.B \fB\-k keyfile\fP
|
||||||
The file containing the TSIG authentication key. Keyfiles may be in
|
This option indicates the file containing the TSIG authentication key. Keyfiles may be in
|
||||||
two formats: a single file containing a \fBnamed.conf\fP\-format \fBkey\fP
|
two formats: a single file containing a \fBnamed.conf\fP\-format \fBkey\fP
|
||||||
statement, which may be generated automatically by \fBddns\-confgen\fP,
|
statement, which may be generated automatically by \fBddns\-confgen\fP;
|
||||||
or a pair of files whose names are of the format
|
or a pair of files whose names are of the format
|
||||||
\fBK{name}.+157.+{random}.key\fP and
|
\fBK{name}.+157.+{random}.key\fP and
|
||||||
\fBK{name}.+157.+{random}.private\fP, which can be generated by
|
\fBK{name}.+157.+{random}.private\fP, which can be generated by
|
||||||
\fBdnssec\-keygen\fP\&. The \fB\-k\fP may also be used to specify a SIG(0)
|
\fBdnssec\-keygen\fP\&. The \fB\-k\fP option can also be used to specify a SIG(0)
|
||||||
key used to authenticate Dynamic DNS update requests. In this case,
|
key used to authenticate Dynamic DNS update requests. In this case,
|
||||||
the key specified is not an HMAC\-MD5 key.
|
the key specified is not an HMAC\-MD5 key.
|
||||||
.TP
|
.TP
|
||||||
\fB\-l\fP
|
.B \fB\-l\fP
|
||||||
Local\-host only mode. This sets the server address to localhost
|
This option sets local\-host only mode, which sets the server address to localhost
|
||||||
(disabling the \fBserver\fP so that the server address cannot be
|
(disabling the \fBserver\fP so that the server address cannot be
|
||||||
overridden). Connections to the local server will use a TSIG key
|
overridden). Connections to the local server use a TSIG key
|
||||||
found in \fB/var/run/named/session.key\fP, which is automatically
|
found in \fB/var/run/named/session.key\fP, which is automatically
|
||||||
generated by \fBnamed\fP if any local master zone has set
|
generated by \fBnamed\fP if any local \fBprimary\fP zone has set
|
||||||
\fBupdate\-policy\fP to \fBlocal\fP\&. The location of this key file can be
|
\fBupdate\-policy\fP to \fBlocal\fP\&. The location of this key file can be
|
||||||
overridden with the \fB\-k\fP option.
|
overridden with the \fB\-k\fP option.
|
||||||
.TP
|
.TP
|
||||||
\fB\-L\fP level
|
.B \fB\-L level\fP
|
||||||
Set the logging debug level. If zero, logging is disabled.
|
This option sets the logging debug level. If zero, logging is disabled.
|
||||||
.TP
|
.TP
|
||||||
\fB\-p\fP port
|
.B \fB\-p port\fP
|
||||||
Set the port to use for connections to a name server. The default is
|
This option sets the port to use for connections to a name server. The default is
|
||||||
53.
|
53.
|
||||||
.TP
|
.TP
|
||||||
\fB\-P\fP
|
.B \fB\-P\fP
|
||||||
Print the list of private BIND\-specific resource record types whose
|
This option prints the list of private BIND\-specific resource record types whose
|
||||||
format is understood by \fBnsupdate\fP\&. See also the \fB\-T\fP option.
|
format is understood by \fBnsupdate\fP\&. See also the \fB\-T\fP option.
|
||||||
.TP
|
.TP
|
||||||
\fB\-r\fP udpretries
|
.B \fB\-r udpretries\fP
|
||||||
The number of UDP retries. The default is 3. If zero, only one update
|
This option sets the number of UDP retries. The default is 3. If zero, only one update
|
||||||
request will be made.
|
request is made.
|
||||||
.TP
|
.TP
|
||||||
\fB\-t\fP timeout
|
.B \fB\-t timeout\fP
|
||||||
The maximum time an update request can take before it is aborted. The
|
This option sets the maximum time an update request can take before it is aborted. The
|
||||||
default is 300 seconds. Zero can be used to disable the timeout.
|
default is 300 seconds. If zero, the timeout is disabled.
|
||||||
.TP
|
.TP
|
||||||
\fB\-T\fP
|
.B \fB\-T\fP
|
||||||
Print the list of IANA standard resource record types whose format is
|
This option prints the list of IANA standard resource record types whose format is
|
||||||
understood by \fBnsupdate\fP\&. \fBnsupdate\fP will exit after the lists
|
understood by \fBnsupdate\fP\&. \fBnsupdate\fP exits after the lists
|
||||||
are printed. The \fB\-T\fP option can be combined with the \fB\-P\fP
|
are printed. The \fB\-T\fP option can be combined with the \fB\-P\fP
|
||||||
option.
|
option.
|
||||||
.sp
|
.sp
|
||||||
Other types can be entered using "TYPEXXXXX" where "XXXXX" is the
|
Other types can be entered using \fBTYPEXXXXX\fP where \fBXXXXX\fP is the
|
||||||
decimal value of the type with no leading zeros. The rdata, if
|
decimal value of the type with no leading zeros. The rdata, if
|
||||||
present, will be parsed using the UNKNOWN rdata format, (<backslash>
|
present, is parsed using the UNKNOWN rdata format, (<backslash>
|
||||||
<hash> <space> <length> <space> <hexstring>).
|
<hash> <space> <length> <space> <hexstring>).
|
||||||
.TP
|
.TP
|
||||||
\fB\-u\fP udptimeout
|
.B \fB\-u udptimeout\fP
|
||||||
The UDP retry interval. The default is 3 seconds. If zero, the
|
This option sets the UDP retry interval. The default is 3 seconds. If zero, the
|
||||||
interval will be computed from the timeout interval and number of UDP
|
interval is computed from the timeout interval and number of UDP
|
||||||
retries.
|
retries.
|
||||||
.TP
|
.TP
|
||||||
\fB\-v\fP
|
.B \fB\-v\fP
|
||||||
Use TCP even for small update requests. By default, \fBnsupdate\fP uses
|
This option specifies that TCP should be used even for small update requests. By default, \fBnsupdate\fP uses
|
||||||
UDP to send update requests to the name server unless they are too
|
UDP to send update requests to the name server unless they are too
|
||||||
large to fit in a UDP request in which case TCP will be used. TCP may
|
large to fit in a UDP request, in which case TCP is used. TCP may
|
||||||
be preferable when a batch of update requests is made.
|
be preferable when a batch of update requests is made.
|
||||||
.TP
|
.TP
|
||||||
\fB\-V\fP
|
.B \fB\-V\fP
|
||||||
Print the version number and exit.
|
This option prints the version number and exits.
|
||||||
.TP
|
.TP
|
||||||
\fB\-y\fP [hmac:]keyname:secret
|
.B \fB\-y [hmac:]keyname:secret\fP
|
||||||
Literal TSIG authentication key. \fBkeyname\fP is the name of the key,
|
This option sets the literal TSIG authentication key. \fBkeyname\fP is the name of the key,
|
||||||
and \fBsecret\fP is the base64 encoded shared secret. \fBhmac\fP is the
|
and \fBsecret\fP is the base64 encoded shared secret. \fBhmac\fP is the
|
||||||
name of the key algorithm; valid choices are \fBhmac\-md5\fP,
|
name of the key algorithm; valid choices are \fBhmac\-md5\fP,
|
||||||
\fBhmac\-sha1\fP, \fBhmac\-sha224\fP, \fBhmac\-sha256\fP, \fBhmac\-sha384\fP, or
|
\fBhmac\-sha1\fP, \fBhmac\-sha224\fP, \fBhmac\-sha256\fP, \fBhmac\-sha384\fP, or
|
||||||
\fBhmac\-sha512\fP\&. If \fBhmac\fP is not specified, the default is
|
\fBhmac\-sha512\fP\&. If \fBhmac\fP is not specified, the default is
|
||||||
\fBhmac\-md5\fP or if MD5 was disabled \fBhmac\-sha256\fP\&.
|
\fBhmac\-md5\fP, or if MD5 was disabled, \fBhmac\-sha256\fP\&.
|
||||||
.sp
|
.sp
|
||||||
NOTE: Use of the \fB\-y\fP option is discouraged because the shared
|
NOTE: Use of the \fB\-y\fP option is discouraged because the shared
|
||||||
secret is supplied as a command line argument in clear text. This may
|
secret is supplied as a command\-line argument in clear text. This may
|
||||||
be visible in the output from ps1 or in a history file maintained by
|
be visible in the output from ps1 or in a history file maintained by
|
||||||
the user\(aqs shell.
|
the user\(aqs shell.
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
@@ -170,142 +170,142 @@ the user\(aqs shell.
|
|||||||
.sp
|
.sp
|
||||||
\fBnsupdate\fP reads input from \fBfilename\fP or standard input. Each
|
\fBnsupdate\fP reads input from \fBfilename\fP or standard input. Each
|
||||||
command is supplied on exactly one line of input. Some commands are for
|
command is supplied on exactly one line of input. Some commands are for
|
||||||
administrative purposes. The others are either update instructions or
|
administrative purposes; others are either update instructions or
|
||||||
prerequisite checks on the contents of the zone. These checks set
|
prerequisite checks on the contents of the zone. These checks set
|
||||||
conditions that some name or set of resource records (RRset) either
|
conditions that some name or set of resource records (RRset) either
|
||||||
exists or is absent from the zone. These conditions must be met if the
|
exists or is absent from the zone. These conditions must be met if the
|
||||||
entire update request is to succeed. Updates will be rejected if the
|
entire update request is to succeed. Updates are rejected if the
|
||||||
tests for the prerequisite conditions fail.
|
tests for the prerequisite conditions fail.
|
||||||
.sp
|
.sp
|
||||||
Every update request consists of zero or more prerequisites and zero or
|
Every update request consists of zero or more prerequisites and zero or
|
||||||
more updates. This allows a suitably authenticated update request to
|
more updates. This allows a suitably authenticated update request to
|
||||||
proceed if some specified resource records are present or missing from
|
proceed if some specified resource records are either present or missing from
|
||||||
the zone. A blank input line (or the \fBsend\fP command) causes the
|
the zone. A blank input line (or the \fBsend\fP command) causes the
|
||||||
accumulated commands to be sent as one Dynamic DNS update request to the
|
accumulated commands to be sent as one Dynamic DNS update request to the
|
||||||
name server.
|
name server.
|
||||||
.sp
|
.sp
|
||||||
The command formats and their meaning are as follows:
|
The command formats and their meanings are as follows:
|
||||||
.INDENT 0.0
|
.INDENT 0.0
|
||||||
.TP
|
.TP
|
||||||
.B \fBserver\fP servername port
|
.B \fBserver servername port\fP
|
||||||
Sends all dynamic update requests to the name server \fBservername\fP\&.
|
This command sends all dynamic update requests to the name server \fBservername\fP\&.
|
||||||
When no server statement is provided, \fBnsupdate\fP will send updates
|
When no server statement is provided, \fBnsupdate\fP sends updates
|
||||||
to the master server of the correct zone. The MNAME field of that
|
to the primary server of the correct zone. The MNAME field of that
|
||||||
zone\(aqs SOA record will identify the master server for that zone.
|
zone\(aqs SOA record identify the primary server for that zone.
|
||||||
\fBport\fP is the port number on \fBservername\fP where the dynamic
|
\fBport\fP is the port number on \fBservername\fP where the dynamic
|
||||||
update requests get sent. If no port number is specified, the default
|
update requests are sent. If no port number is specified, the default
|
||||||
DNS port number of 53 is used.
|
DNS port number of 53 is used.
|
||||||
.TP
|
.TP
|
||||||
.B \fBlocal\fP address port
|
.B \fBlocal address port\fP
|
||||||
Sends all dynamic update requests using the local \fBaddress\fP\&. When
|
This command sends all dynamic update requests using the local \fBaddress\fP\&. When
|
||||||
no local statement is provided, \fBnsupdate\fP will send updates using
|
no local statement is provided, \fBnsupdate\fP sends updates using
|
||||||
an address and port chosen by the system. \fBport\fP can additionally
|
an address and port chosen by the system. \fBport\fP can also
|
||||||
be used to make requests come from a specific port. If no port number
|
be used to force requests to come from a specific port. If no port number
|
||||||
is specified, the system will assign one.
|
is specified, the system assigns one.
|
||||||
.TP
|
.TP
|
||||||
.B \fBzone\fP zonename
|
.B \fBzone zonename\fP
|
||||||
Specifies that all updates are to be made to the zone \fBzonename\fP\&.
|
This command specifies that all updates are to be made to the zone \fBzonename\fP\&.
|
||||||
If no \fBzone\fP statement is provided, \fBnsupdate\fP will attempt
|
If no \fBzone\fP statement is provided, \fBnsupdate\fP attempts to
|
||||||
determine the correct zone to update based on the rest of the input.
|
determine the correct zone to update based on the rest of the input.
|
||||||
.TP
|
.TP
|
||||||
.B \fBclass\fP classname
|
.B \fBclass classname\fP
|
||||||
Specify the default class. If no \fBclass\fP is specified, the default
|
This command specifies the default class. If no \fBclass\fP is specified, the default
|
||||||
class is \fBIN\fP\&.
|
class is \fBIN\fP\&.
|
||||||
.TP
|
.TP
|
||||||
.B \fBttl\fP seconds
|
.B \fBttl seconds\fP
|
||||||
Specify the default time to live for records to be added. The value
|
This command specifies the default time\-to\-live, in seconds, for records to be added. The value
|
||||||
\fBnone\fP will clear the default ttl.
|
\fBnone\fP clears the default TTL.
|
||||||
.TP
|
.TP
|
||||||
.B \fBkey\fP hmac:keyname secret
|
.B \fBkey hmac:keyname secret\fP
|
||||||
Specifies that all updates are to be TSIG\-signed using the
|
This command specifies that all updates are to be TSIG\-signed using the
|
||||||
\fBkeyname\fP \fBsecret\fP pair. If \fBhmac\fP is specified, then it sets
|
\fBkeyname\fP\-\fBsecret\fP pair. If \fBhmac\fP is specified, it sets
|
||||||
the signing algorithm in use; the default is \fBhmac\-md5\fP or if MD5
|
the signing algorithm in use. The default is \fBhmac\-md5\fP; if MD5
|
||||||
was disabled \fBhmac\-sha256\fP\&. The \fBkey\fP command overrides any key
|
was disabled, the default is \fBhmac\-sha256\fP\&. The \fBkey\fP command overrides any key
|
||||||
specified on the command line via \fB\-y\fP or \fB\-k\fP\&.
|
specified on the command line via \fB\-y\fP or \fB\-k\fP\&.
|
||||||
.TP
|
.TP
|
||||||
.B \fBgsstsig\fP
|
.B \fBgsstsig\fP
|
||||||
Use GSS\-TSIG to sign the updated. This is equivalent to specifying
|
This command uses GSS\-TSIG to sign the updates. This is equivalent to specifying
|
||||||
\fB\-g\fP on the command line.
|
\fB\-g\fP on the command line.
|
||||||
.TP
|
.TP
|
||||||
.B \fBoldgsstsig\fP
|
.B \fBoldgsstsig\fP
|
||||||
Use the Windows 2000 version of GSS\-TSIG to sign the updated. This is
|
This command uses the Windows 2000 version of GSS\-TSIG to sign the updates. This is
|
||||||
equivalent to specifying \fB\-o\fP on the command line.
|
equivalent to specifying \fB\-o\fP on the command line.
|
||||||
.TP
|
.TP
|
||||||
.B \fBrealm\fP [realm_name]
|
.B \fBrealm [realm_name]\fP
|
||||||
When using GSS\-TSIG use \fBrealm_name\fP rather than the default realm
|
When using GSS\-TSIG, this command specifies the use of \fBrealm_name\fP rather than the default realm
|
||||||
in \fBkrb5.conf\fP\&. If no realm is specified the saved realm is
|
in \fBkrb5.conf\fP\&. If no realm is specified, the saved realm is
|
||||||
cleared.
|
cleared.
|
||||||
.TP
|
.TP
|
||||||
.B \fBcheck\-names\fP [yes_or_no]
|
.B \fBcheck\-names [yes_or_no]\fP
|
||||||
Turn on or off check\-names processing on records to be added.
|
This command turns on or off check\-names processing on records to be added.
|
||||||
Check\-names has no effect on prerequisites or records to be deleted.
|
Check\-names has no effect on prerequisites or records to be deleted.
|
||||||
By default check\-names processing is on. If check\-names processing
|
By default check\-names processing is on. If check\-names processing
|
||||||
fails the record will not be added to the UPDATE message.
|
fails, the record is not added to the UPDATE message.
|
||||||
.TP
|
.TP
|
||||||
.B \fBprereq nxdomain\fP domain\-name
|
.B \fBprereq nxdomain domain\-name\fP
|
||||||
Requires that no resource record of any type exists with name
|
This command requires that no resource record of any type exist with the name
|
||||||
\fBdomain\-name\fP\&.
|
\fBdomain\-name\fP\&.
|
||||||
.TP
|
.TP
|
||||||
.B \fBprereq yxdomain\fP domain\-name
|
.B \fBprereq yxdomain domain\-name\fP
|
||||||
Requires that \fBdomain\-name\fP exists (has as at least one resource
|
This command requires that \fBdomain\-name\fP exist (as at least one resource
|
||||||
record, of any type).
|
record, of any type).
|
||||||
.TP
|
.TP
|
||||||
.B \fBprereq nxrrset\fP domain\-name class type
|
.B \fBprereq nxrrset domain\-name class type\fP
|
||||||
Requires that no resource record exists of the specified \fBtype\fP,
|
This command requires that no resource record exist of the specified \fBtype\fP,
|
||||||
\fBclass\fP and \fBdomain\-name\fP\&. If \fBclass\fP is omitted, IN (internet)
|
\fBclass\fP, and \fBdomain\-name\fP\&. If \fBclass\fP is omitted, IN (Internet)
|
||||||
is assumed.
|
is assumed.
|
||||||
.TP
|
.TP
|
||||||
.B \fBprereq yxrrset\fP domain\-name class type
|
.B \fBprereq yxrrset domain\-name class type\fP
|
||||||
This requires that a resource record of the specified \fBtype\fP,
|
This command requires that a resource record of the specified \fBtype\fP,
|
||||||
\fBclass\fP and \fBdomain\-name\fP must exist. If \fBclass\fP is omitted, IN
|
\fBclass\fP and \fBdomain\-name\fP exist. If \fBclass\fP is omitted, IN
|
||||||
(internet) is assumed.
|
(internet) is assumed.
|
||||||
.TP
|
.TP
|
||||||
.B \fBprereq yxrrset\fP domain\-name class type data
|
.B \fBprereq yxrrset domain\-name class type data\fP
|
||||||
The \fBdata\fP from each set of prerequisites of this form sharing a
|
With this command, the \fBdata\fP from each set of prerequisites of this form sharing a
|
||||||
common \fBtype\fP, \fBclass\fP, and \fBdomain\-name\fP are combined to form
|
common \fBtype\fP, \fBclass\fP, and \fBdomain\-name\fP are combined to form
|
||||||
a set of RRs. This set of RRs must exactly match the set of RRs
|
a set of RRs. This set of RRs must exactly match the set of RRs
|
||||||
existing in the zone at the given \fBtype\fP, \fBclass\fP, and
|
existing in the zone at the given \fBtype\fP, \fBclass\fP, and
|
||||||
\fBdomain\-name\fP\&. The \fBdata\fP are written in the standard text
|
\fBdomain\-name\fP\&. The \fBdata\fP are written in the standard text
|
||||||
representation of the resource record\(aqs RDATA.
|
representation of the resource record\(aqs RDATA.
|
||||||
.TP
|
.TP
|
||||||
.B \fBupdate delete\fP domain\-name ttl class type data
|
.B \fBupdate delete domain\-name ttl class type data\fP
|
||||||
Deletes any resource records named \fBdomain\-name\fP\&. If \fBtype\fP and
|
This command deletes any resource records named \fBdomain\-name\fP\&. If \fBtype\fP and
|
||||||
\fBdata\fP is provided, only matching resource records will be removed.
|
\fBdata\fP are provided, only matching resource records are removed.
|
||||||
The internet class is assumed if \fBclass\fP is not supplied. The
|
The Internet class is assumed if \fBclass\fP is not supplied. The
|
||||||
\fBttl\fP is ignored, and is only allowed for compatibility.
|
\fBttl\fP is ignored, and is only allowed for compatibility.
|
||||||
.TP
|
.TP
|
||||||
.B \fBupdate add\fP domain\-name ttl class type data
|
.B \fBupdate add domain\-name ttl class type data\fP
|
||||||
Adds a new resource record with the specified \fBttl\fP, \fBclass\fP and
|
This command adds a new resource record with the specified \fBttl\fP, \fBclass\fP, and
|
||||||
\fBdata\fP\&.
|
\fBdata\fP\&.
|
||||||
.TP
|
.TP
|
||||||
.B \fBshow\fP
|
.B \fBshow\fP
|
||||||
Displays the current message, containing all of the prerequisites and
|
This command displays the current message, containing all of the prerequisites and
|
||||||
updates specified since the last send.
|
updates specified since the last send.
|
||||||
.TP
|
.TP
|
||||||
.B \fBsend\fP
|
.B \fBsend\fP
|
||||||
Sends the current message. This is equivalent to entering a blank
|
This command sends the current message. This is equivalent to entering a blank
|
||||||
line.
|
line.
|
||||||
.TP
|
.TP
|
||||||
.B \fBanswer\fP
|
.B \fBanswer\fP
|
||||||
Displays the answer.
|
This command displays the answer.
|
||||||
.TP
|
.TP
|
||||||
.B \fBdebug\fP
|
.B \fBdebug\fP
|
||||||
Turn on debugging.
|
This command turns on debugging.
|
||||||
.TP
|
.TP
|
||||||
.B \fBversion\fP
|
.B \fBversion\fP
|
||||||
Print version number.
|
This command prints the version number.
|
||||||
.TP
|
.TP
|
||||||
.B \fBhelp\fP
|
.B \fBhelp\fP
|
||||||
Print a list of commands.
|
This command prints a list of commands.
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.sp
|
.sp
|
||||||
Lines beginning with a semicolon are comments and are ignored.
|
Lines beginning with a semicolon (;) are comments and are ignored.
|
||||||
.SH EXAMPLES
|
.SH EXAMPLES
|
||||||
.sp
|
.sp
|
||||||
The examples below show how \fBnsupdate\fP could be used to insert and
|
The examples below show how \fBnsupdate\fP can be used to insert and
|
||||||
delete resource records from the \fBexample.com\fP zone. Notice that the
|
delete resource records from the \fBexample.com\fP zone. Notice that the
|
||||||
input in each example contains a trailing blank line so that a group of
|
input in each example contains a trailing blank line, so that a group of
|
||||||
commands are sent as one dynamic update request to the master name
|
commands is sent as one dynamic update request to the primary name
|
||||||
server for \fBexample.com\fP\&.
|
server for \fBexample.com\fP\&.
|
||||||
.INDENT 0.0
|
.INDENT 0.0
|
||||||
.INDENT 3.5
|
.INDENT 3.5
|
||||||
@@ -321,9 +321,9 @@ server for \fBexample.com\fP\&.
|
|||||||
.UNINDENT
|
.UNINDENT
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.sp
|
.sp
|
||||||
Any A records for \fBoldhost.example.com\fP are deleted. And an A record
|
Any A records for \fBoldhost.example.com\fP are deleted, and an A record
|
||||||
for \fBnewhost.example.com\fP with IP address 172.16.1.1 is added. The
|
for \fBnewhost.example.com\fP with IP address 172.16.1.1 is added. The
|
||||||
newly\-added record has a 1 day TTL (86400 seconds).
|
newly added record has a TTL of 1 day (86400 seconds).
|
||||||
.INDENT 0.0
|
.INDENT 0.0
|
||||||
.INDENT 3.5
|
.INDENT 3.5
|
||||||
.sp
|
.sp
|
||||||
@@ -338,28 +338,28 @@ newly\-added record has a 1 day TTL (86400 seconds).
|
|||||||
.UNINDENT
|
.UNINDENT
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.sp
|
.sp
|
||||||
The prerequisite condition gets the name server to check that there are
|
The prerequisite condition tells the name server to verify that there are
|
||||||
no resource records of any type for \fBnickname.example.com\fP\&. If there
|
no resource records of any type for \fBnickname.example.com\fP\&. If there
|
||||||
are, the update request fails. If this name does not exist, a CNAME for
|
are, the update request fails. If this name does not exist, a CNAME for
|
||||||
it is added. This ensures that when the CNAME is added, it cannot
|
it is added. This ensures that when the CNAME is added, it cannot
|
||||||
conflict with the long\-standing rule in \fI\%RFC 1034\fP that a name must not
|
conflict with the long\-standing rule in \fI\%RFC 1034\fP that a name must not
|
||||||
exist as any other record type if it exists as a CNAME. (The rule has
|
exist as any other record type if it exists as a CNAME. (The rule has
|
||||||
been updated for DNSSEC in \fI\%RFC 2535\fP to allow CNAMEs to have RRSIG,
|
been updated for DNSSEC in \fI\%RFC 2535\fP to allow CNAMEs to have RRSIG,
|
||||||
DNSKEY and NSEC records.)
|
DNSKEY, and NSEC records.)
|
||||||
.SH FILES
|
.SH FILES
|
||||||
.INDENT 0.0
|
.INDENT 0.0
|
||||||
.TP
|
.TP
|
||||||
.B \fB/etc/resolv.conf\fP
|
.B \fB/etc/resolv.conf\fP
|
||||||
used to identify default name server
|
Used to identify the default name server
|
||||||
.TP
|
.TP
|
||||||
.B \fB/var/run/named/session.key\fP
|
.B \fB/var/run/named/session.key\fP
|
||||||
sets the default TSIG key for use in local\-only mode
|
Sets the default TSIG key for use in local\-only mode
|
||||||
.TP
|
.TP
|
||||||
.B \fBK{name}.+157.+{random}.key\fP
|
.B \fBK{name}.+157.+{random}.key\fP
|
||||||
base\-64 encoding of HMAC\-MD5 key created by dnssec\-keygen8.
|
Base\-64 encoding of the HMAC\-MD5 key created by \fBdnssec\-keygen\fP\&.
|
||||||
.TP
|
.TP
|
||||||
.B \fBK{name}.+157.+{random}.private\fP
|
.B \fBK{name}.+157.+{random}.private\fP
|
||||||
base\-64 encoding of HMAC\-MD5 key created by dnssec\-keygen8.
|
Base\-64 encoding of the HMAC\-MD5 key created by \fBdnssec\-keygen\fP\&.
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
.sp
|
.sp
|
||||||
@@ -368,7 +368,7 @@ base\-64 encoding of HMAC\-MD5 key created by dnssec\-keygen8.
|
|||||||
.SH BUGS
|
.SH BUGS
|
||||||
.sp
|
.sp
|
||||||
The TSIG key is redundantly stored in two separate files. This is a
|
The TSIG key is redundantly stored in two separate files. This is a
|
||||||
consequence of nsupdate using the DST library for its cryptographic
|
consequence of \fBnsupdate\fP using the DST library for its cryptographic
|
||||||
operations, and may change in future releases.
|
operations, and may change in future releases.
|
||||||
.SH AUTHOR
|
.SH AUTHOR
|
||||||
Internet Systems Consortium
|
Internet Systems Consortium
|
||||||
|
@@ -38,30 +38,30 @@ pkcs11\-destroy \- destroy PKCS#11 objects
|
|||||||
by their \fBID\fP or \fBlabel\fP\&.
|
by their \fBID\fP or \fBlabel\fP\&.
|
||||||
.sp
|
.sp
|
||||||
Matching keys are displayed before being destroyed. By default, there is
|
Matching keys are displayed before being destroyed. By default, there is
|
||||||
a five second delay to allow the user to interrupt the process before
|
a five\-second delay to allow the user to interrupt the process before
|
||||||
the destruction takes place.
|
the destruction takes place.
|
||||||
.INDENT 0.0
|
.INDENT 0.0
|
||||||
.TP
|
.TP
|
||||||
\fB\-m\fP module
|
.B \fB\-m module\fP
|
||||||
Specify the PKCS#11 provider module. This must be the full path to a
|
This option specifies the PKCS#11 provider module. This must be the full path to a
|
||||||
shared library object implementing the PKCS#11 API for the device.
|
shared library object implementing the PKCS#11 API for the device.
|
||||||
.TP
|
.TP
|
||||||
\fB\-s\fP slot
|
.B \fB\-s slot\fP
|
||||||
Open the session with the given PKCS#11 slot. The default is slot 0.
|
This option opens the session with the given PKCS#11 slot. The default is slot 0.
|
||||||
.TP
|
.TP
|
||||||
\fB\-i\fP ID
|
.B \fB\-i ID\fP
|
||||||
Destroy keys with the given object ID.
|
This option destroys keys with the given object ID.
|
||||||
.TP
|
.TP
|
||||||
\fB\-l\fP label
|
.B \fB\-l label\fP
|
||||||
Destroy keys with the given label.
|
This option destroys keys with the given label.
|
||||||
.TP
|
.TP
|
||||||
\fB\-p\fP PIN
|
.B \fB\-p PIN\fP
|
||||||
Specify the PIN for the device. If no PIN is provided on the command
|
This option specifies the \fBPIN\fP for the device. If no \fBPIN\fP is provided on the command
|
||||||
line, \fBpkcs11\-destroy\fP will prompt for it.
|
line, \fBpkcs11\-destroy\fP prompts for it.
|
||||||
.TP
|
.TP
|
||||||
\fB\-w\fP seconds
|
.B \fB\-w seconds\fP
|
||||||
Specify how long to pause before carrying out key destruction. The
|
This option specifies how long, in seconds, to pause before carrying out key destruction. The
|
||||||
default is five seconds. If set to \fB0\fP, destruction will be
|
default is 5 seconds. If set to \fB0\fP, destruction is
|
||||||
immediate.
|
immediate.
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.sp
|
.sp
|
||||||
|
@@ -38,51 +38,51 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
|||||||
\fBpkcs11\-keygen\fP causes a PKCS#11 device to generate a new key pair
|
\fBpkcs11\-keygen\fP causes a PKCS#11 device to generate a new key pair
|
||||||
with the given \fBlabel\fP (which must be unique) and with \fBkeysize\fP
|
with the given \fBlabel\fP (which must be unique) and with \fBkeysize\fP
|
||||||
bits of prime.
|
bits of prime.
|
||||||
.SH ARGUMENTS
|
.SH OPTIONS
|
||||||
.INDENT 0.0
|
.INDENT 0.0
|
||||||
.TP
|
.TP
|
||||||
\fB\-a\fP algorithm
|
.B \fB\-a algorithm\fP
|
||||||
Specify the key algorithm class: Supported classes are RSA, DSA, DH,
|
This option specifies the key algorithm class: supported classes are RSA, DSA, DH,
|
||||||
ECC and ECX. In addition to these strings, the \fBalgorithm\fP can be
|
ECC, and ECX. In addition to these strings, the \fBalgorithm\fP can be
|
||||||
specified as a DNSSEC signing algorithm that will be used with this
|
specified as a DNSSEC signing algorithm to be used with this
|
||||||
key; for example, NSEC3RSASHA1 maps to RSA, ECDSAP256SHA256 maps to
|
key; for example, NSEC3RSASHA1 maps to RSA, ECDSAP256SHA256 maps to
|
||||||
ECC, and ED25519 to ECX. The default class is "RSA".
|
ECC, and ED25519 to ECX. The default class is \fBRSA\fP\&.
|
||||||
.TP
|
.TP
|
||||||
\fB\-b\fP keysize
|
.B \fB\-b keysize\fP
|
||||||
Create the key pair with \fBkeysize\fP bits of prime. For ECC keys, the
|
This option creates the key pair with \fBkeysize\fP bits of prime. For ECC keys, the
|
||||||
only valid values are 256 and 384, and the default is 256. For ECX
|
only valid values are 256 and 384, and the default is 256. For ECX
|
||||||
keys, the only valid values are 256 and 456, and the default is 256.
|
keys, the only valid values are 256 and 456, and the default is 256.
|
||||||
.TP
|
.TP
|
||||||
\fB\-e\fP
|
.B \fB\-e\fP
|
||||||
For RSA keys only, use a large exponent.
|
For RSA keys only, this option specifies use of a large exponent.
|
||||||
.TP
|
.TP
|
||||||
\fB\-i\fP id
|
.B \fB\-i id\fP
|
||||||
Create key objects with id. The id is either an unsigned short 2 byte
|
This option creates key objects with \fBid\fP\&. The ID is either an unsigned short 2\-byte
|
||||||
or an unsigned long 4 byte number.
|
or an unsigned long 4\-byte number.
|
||||||
.TP
|
.TP
|
||||||
\fB\-m\fP module
|
.B \fB\-m module\fP
|
||||||
Specify the PKCS#11 provider module. This must be the full path to a
|
This option specifies the PKCS#11 provider module. This must be the full path to a
|
||||||
shared library object implementing the PKCS#11 API for the device.
|
shared library object implementing the PKCS#11 API for the device.
|
||||||
.TP
|
.TP
|
||||||
\fB\-P\fP
|
.B \fB\-P\fP
|
||||||
Set the new private key to be non\-sensitive and extractable. The
|
This option sets the new private key to be non\-sensitive and extractable, and
|
||||||
allows the private key data to be read from the PKCS#11 device. The
|
allows the private key data to be read from the PKCS#11 device. The
|
||||||
default is for private keys to be sensitive and non\-extractable.
|
default is for private keys to be sensitive and non\-extractable.
|
||||||
.TP
|
.TP
|
||||||
\fB\-p\fP PIN
|
.B \fB\-p PIN\fP
|
||||||
Specify the PIN for the device. If no PIN is provided on the command
|
This option specifies the \fBPIN\fP for the device. If no \fBPIN\fP is provided on the command
|
||||||
line, \fBpkcs11\-keygen\fP will prompt for it.
|
line, \fBpkcs11\-keygen\fP prompts for it.
|
||||||
.TP
|
.TP
|
||||||
\fB\-q\fP
|
.B \fB\-q\fP
|
||||||
Quiet mode: suppress unnecessary output.
|
This option sets quiet mode, which suppresses unnecessary output.
|
||||||
.TP
|
.TP
|
||||||
\fB\-S\fP
|
.B \fB\-S\fP
|
||||||
For Diffie\-Hellman (DH) keys only, use a special prime of 768, 1024
|
For Diffie\-Hellman (DH) keys only, this option specifies use of a special prime of 768\-, 1024\-,
|
||||||
or 1536 bit size and base (aka generator) 2. If not specified, bit
|
or 1536\-bit size and base (AKA generator) 2. If not specified, bit
|
||||||
size will default to 1024.
|
size defaults to 1024.
|
||||||
.TP
|
.TP
|
||||||
\fB\-s\fP slot
|
.B \fB\-s slot\fP
|
||||||
Open the session with the given PKCS#11 slot. The default is slot 0.
|
This option opens the session with the given PKCS#11 slot. The default is slot 0.
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
.sp
|
.sp
|
||||||
|
@@ -34,33 +34,33 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
|||||||
\fBpkcs11\-list\fP [\fB\-P\fP] [\fB\-m\fP module] [\fB\-s\fP slot] [\fB\-i\fP ID \fB] [\-l\fP label] [\fB\-p\fP PIN]
|
\fBpkcs11\-list\fP [\fB\-P\fP] [\fB\-m\fP module] [\fB\-s\fP slot] [\fB\-i\fP ID \fB] [\-l\fP label] [\fB\-p\fP PIN]
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.sp
|
.sp
|
||||||
\fBpkcs11\-list\fP lists the PKCS#11 objects with \fBID\fP or \fBlabel\fP or by
|
\fBpkcs11\-list\fP lists the PKCS#11 objects with \fBID\fP or \fBlabel\fP or, by
|
||||||
default all objects. The object class, label, and ID are displayed for
|
default, all objects. The object class, label, and ID are displayed for
|
||||||
all keys. For private or secret keys, the extractability attribute is
|
all keys. For private or secret keys, the extractability attribute is
|
||||||
also displayed, as either \fBtrue\fP, \fBfalse\fP, or \fBnever\fP\&.
|
also displayed, as either \fBtrue\fP, \fBfalse\fP, or \fBnever\fP\&.
|
||||||
.SH ARGUMENTS
|
.SH OPTIONS
|
||||||
.INDENT 0.0
|
.INDENT 0.0
|
||||||
.TP
|
.TP
|
||||||
\fB\-P\fP
|
.B \fB\-P\fP
|
||||||
List only the public objects. (Note that on some PKCS#11 devices, all
|
This option lists only the public objects. (Note that on some PKCS#11 devices, all
|
||||||
objects are private.)
|
objects are private.)
|
||||||
.TP
|
.TP
|
||||||
\fB\-m\fP module
|
.B \fB\-m module\fP
|
||||||
Specify the PKCS#11 provider module. This must be the full path to a
|
This option specifies the PKCS#11 provider module. This must be the full path to a
|
||||||
shared library object implementing the PKCS#11 API for the device.
|
shared library object implementing the PKCS#11 API for the device.
|
||||||
.TP
|
.TP
|
||||||
\fB\-s\fP slot
|
.B \fB\-s slot\fP
|
||||||
Open the session with the given PKCS#11 slot. The default is slot 0.
|
This option opens the session with the given PKCS#11 slot. The default is slot 0.
|
||||||
.TP
|
.TP
|
||||||
\fB\-i\fP ID
|
.B \fB\-i ID\fP
|
||||||
List only key objects with the given object ID.
|
This option lists only key objects with the given object ID.
|
||||||
.TP
|
.TP
|
||||||
\fB\-l\fP label
|
.B \fB\-l label\fP
|
||||||
List only key objects with the given label.
|
This option lists only key objects with the given label.
|
||||||
.TP
|
.TP
|
||||||
\fB\-p\fP PIN
|
.B \fB\-p PIN\fP
|
||||||
Specify the PIN for the device. If no PIN is provided on the command
|
This option specifies the \fBPIN\fP for the device. If no \fBPIN\fP is provided on the command
|
||||||
line, \fBpkcs11\-list\fP will prompt for it.
|
line, \fBpkcs11\-list\fP prompts for it.
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
.sp
|
.sp
|
||||||
|
@@ -37,15 +37,15 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
|||||||
.sp
|
.sp
|
||||||
\fBpkcs11\-tokens\fP lists the PKCS#11 available tokens with defaults from
|
\fBpkcs11\-tokens\fP lists the PKCS#11 available tokens with defaults from
|
||||||
the slot/token scan performed at application initialization.
|
the slot/token scan performed at application initialization.
|
||||||
.SH ARGUMENTS
|
.SH OPTIONS
|
||||||
.INDENT 0.0
|
.INDENT 0.0
|
||||||
.TP
|
.TP
|
||||||
\fB\-m\fP module
|
.B \fB\-m module\fP
|
||||||
Specify the PKCS#11 provider module. This must be the full path to a
|
This option specifies the PKCS#11 provider module. This must be the full path to a
|
||||||
shared library object implementing the PKCS#11 API for the device.
|
shared library object implementing the PKCS#11 API for the device.
|
||||||
.TP
|
.TP
|
||||||
\fB\-v\fP
|
.B \fB\-v\fP
|
||||||
Make the PKCS#11 libisc initialization verbose.
|
This option makes the PKCS#11 libisc initialization verbose.
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
.sp
|
.sp
|
||||||
|
@@ -41,78 +41,74 @@ the corresponding \fBcontrols\fP and \fBkey\fP statements in \fBnamed.conf\fP
|
|||||||
by hand. Alternatively, it can be run with the \fB\-a\fP option to set up a
|
by hand. Alternatively, it can be run with the \fB\-a\fP option to set up a
|
||||||
\fBrndc.key\fP file and avoid the need for a \fBrndc.conf\fP file and a
|
\fBrndc.key\fP file and avoid the need for a \fBrndc.conf\fP file and a
|
||||||
\fBcontrols\fP statement altogether.
|
\fBcontrols\fP statement altogether.
|
||||||
.SH ARGUMENTS
|
.SH OPTIONS
|
||||||
.INDENT 0.0
|
.INDENT 0.0
|
||||||
.TP
|
.TP
|
||||||
\fB\-a\fP
|
.B \fB\-a\fP
|
||||||
Do automatic \fBrndc\fP configuration. This creates a file \fBrndc.key\fP
|
This option sets automatic \fBrndc\fP configuration, which creates a file \fBrndc.key\fP
|
||||||
in \fB/etc\fP (or whatever \fBsysconfdir\fP was specified as when BIND
|
in \fB/etc\fP (or a different \fBsysconfdir\fP specified when BIND
|
||||||
was built) that is read by both \fBrndc\fP and \fBnamed\fP on startup.
|
was built) that is read by both \fBrndc\fP and \fBnamed\fP on startup.
|
||||||
The \fBrndc.key\fP file defines a default command channel and
|
The \fBrndc.key\fP file defines a default command channel and
|
||||||
authentication key allowing \fBrndc\fP to communicate with \fBnamed\fP on
|
authentication key allowing \fBrndc\fP to communicate with \fBnamed\fP on
|
||||||
the local host with no further configuration.
|
the local host with no further configuration.
|
||||||
.sp
|
.sp
|
||||||
Running \fBrndc\-confgen \-a\fP allows BIND 9 and \fBrndc\fP to be used as
|
|
||||||
drop\-in replacements for BIND 8 and \fBndc\fP, with no changes to the
|
|
||||||
existing BIND 8 \fBnamed.conf\fP file.
|
|
||||||
.sp
|
|
||||||
If a more elaborate configuration than that generated by
|
If a more elaborate configuration than that generated by
|
||||||
\fBrndc\-confgen \-a\fP is required, for example if rndc is to be used
|
\fBrndc\-confgen \-a\fP is required, for example if rndc is to be used
|
||||||
remotely, you should run \fBrndc\-confgen\fP without the \fB\-a\fP option
|
remotely, run \fBrndc\-confgen\fP without the \fB\-a\fP option
|
||||||
and set up a \fBrndc.conf\fP and \fBnamed.conf\fP as directed.
|
and set up \fBrndc.conf\fP and \fBnamed.conf\fP as directed.
|
||||||
.TP
|
.TP
|
||||||
\fB\-A\fP algorithm
|
.B \fB\-A algorithm\fP
|
||||||
Specifies the algorithm to use for the TSIG key. Available choices
|
This option specifies the algorithm to use for the TSIG key. Available choices
|
||||||
are: hmac\-md5, hmac\-sha1, hmac\-sha224, hmac\-sha256, hmac\-sha384 and
|
are: hmac\-md5, hmac\-sha1, hmac\-sha224, hmac\-sha256, hmac\-sha384, and
|
||||||
hmac\-sha512. The default is hmac\-sha256.
|
hmac\-sha512. The default is hmac\-sha256.
|
||||||
.TP
|
.TP
|
||||||
\fB\-b\fP keysize
|
.B \fB\-b keysize\fP
|
||||||
Specifies the size of the authentication key in bits. Must be between
|
This option specifies the size of the authentication key in bits. The size must be between
|
||||||
1 and 512 bits; the default is the hash size.
|
1 and 512 bits; the default is the hash size.
|
||||||
.TP
|
.TP
|
||||||
\fB\-c\fP keyfile
|
.B \fB\-c keyfile\fP
|
||||||
Used with the \fB\-a\fP option to specify an alternate location for
|
This option is used with the \fB\-a\fP option to specify an alternate location for
|
||||||
\fBrndc.key\fP\&.
|
\fBrndc.key\fP\&.
|
||||||
.TP
|
.TP
|
||||||
\fB\-h\fP
|
.B \fB\-h\fP
|
||||||
Prints a short summary of the options and arguments to
|
This option prints a short summary of the options and arguments to
|
||||||
\fBrndc\-confgen\fP\&.
|
\fBrndc\-confgen\fP\&.
|
||||||
.TP
|
.TP
|
||||||
\fB\-k\fP keyname
|
.B \fB\-k keyname\fP
|
||||||
Specifies the key name of the rndc authentication key. This must be a
|
This option specifies the key name of the \fBrndc\fP authentication key. This must be a
|
||||||
valid domain name. The default is \fBrndc\-key\fP\&.
|
valid domain name. The default is \fBrndc\-key\fP\&.
|
||||||
.TP
|
.TP
|
||||||
\fB\-p\fP port
|
.B \fB\-p port\fP
|
||||||
Specifies the command channel port where \fBnamed\fP listens for
|
This option specifies the command channel port where \fBnamed\fP listens for
|
||||||
connections from \fBrndc\fP\&. The default is 953.
|
connections from \fBrndc\fP\&. The default is 953.
|
||||||
.TP
|
.TP
|
||||||
\fB\-q\fP
|
.B \fB\-q\fP
|
||||||
Omits printing written path in automatic configuration mode.
|
This option prevets printing the written path in automatic configuration mode.
|
||||||
.TP
|
.TP
|
||||||
\fB\-s\fP address
|
.B \fB\-s address\fP
|
||||||
Specifies the IP address where \fBnamed\fP listens for command channel
|
This option specifies the IP address where \fBnamed\fP listens for command\-channel
|
||||||
connections from \fBrndc\fP\&. The default is the loopback address
|
connections from \fBrndc\fP\&. The default is the loopback address
|
||||||
127.0.0.1.
|
127.0.0.1.
|
||||||
.TP
|
.TP
|
||||||
\fB\-t\fP chrootdir
|
.B \fB\-t chrootdir\fP
|
||||||
Used with the \fB\-a\fP option to specify a directory where \fBnamed\fP
|
This option is used with the \fB\-a\fP option to specify a directory where \fBnamed\fP
|
||||||
will run chrooted. An additional copy of the \fBrndc.key\fP will be
|
runs chrooted. An additional copy of the \fBrndc.key\fP is
|
||||||
written relative to this directory so that it will be found by the
|
written relative to this directory, so that it is found by the
|
||||||
chrooted \fBnamed\fP\&.
|
chrooted \fBnamed\fP\&.
|
||||||
.TP
|
.TP
|
||||||
\fB\-u\fP user
|
.B \fB\-u user\fP
|
||||||
Used with the \fB\-a\fP option to set the owner of the \fBrndc.key\fP file
|
This option is used with the \fB\-a\fP option to set the owner of the generated \fBrndc.key\fP file.
|
||||||
generated. If \fB\-t\fP is also specified only the file in the chroot
|
If \fB\-t\fP is also specified, only the file in the chroot
|
||||||
area has its owner changed.
|
area has its owner changed.
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.SH EXAMPLES
|
.SH EXAMPLES
|
||||||
.sp
|
.sp
|
||||||
To allow \fBrndc\fP to be used with no manual configuration, run
|
To allow \fBrndc\fP to be used with no manual configuration, run:
|
||||||
.sp
|
.sp
|
||||||
\fBrndc\-confgen \-a\fP
|
\fBrndc\-confgen \-a\fP
|
||||||
.sp
|
.sp
|
||||||
To print a sample \fBrndc.conf\fP file and corresponding \fBcontrols\fP and
|
To print a sample \fBrndc.conf\fP file and the corresponding \fBcontrols\fP and
|
||||||
\fBkey\fP statements to be manually inserted into \fBnamed.conf\fP, run
|
\fBkey\fP statements to be manually inserted into \fBnamed.conf\fP, run:
|
||||||
.sp
|
.sp
|
||||||
\fBrndc\-confgen\fP
|
\fBrndc\-confgen\fP
|
||||||
.SH SEE ALSO
|
.SH SEE ALSO
|
||||||
|
357
doc/man/rndc.8in
357
doc/man/rndc.8in
@@ -35,8 +35,8 @@ level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
|||||||
\fBrndc\fP [\fB\-b\fP source\-address] [\fB\-c\fP config\-file] [\fB\-k\fP key\-file] [\fB\-s\fP server] [\fB\-p\fP port] [\fB\-q\fP] [\fB\-r\fP] [\fB\-V\fP] [\fB\-y\fP key_id] [[\fB\-4\fP] | [\fB\-6\fP]] {command}
|
\fBrndc\fP [\fB\-b\fP source\-address] [\fB\-c\fP config\-file] [\fB\-k\fP key\-file] [\fB\-s\fP server] [\fB\-p\fP port] [\fB\-q\fP] [\fB\-r\fP] [\fB\-V\fP] [\fB\-y\fP key_id] [[\fB\-4\fP] | [\fB\-6\fP]] {command}
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
.sp
|
.sp
|
||||||
\fBrndc\fP controls the operation of a name server. It supersedes the
|
\fBrndc\fP controls the operation of a name server; it supersedes the
|
||||||
\fBndc\fP utility that was provided in old BIND releases. If \fBrndc\fP is
|
\fBndc\fP utility. If \fBrndc\fP is
|
||||||
invoked with no command line options or arguments, it prints a short
|
invoked with no command line options or arguments, it prints a short
|
||||||
summary of the supported commands and the available options and their
|
summary of the supported commands and the available options and their
|
||||||
arguments.
|
arguments.
|
||||||
@@ -45,8 +45,8 @@ arguments.
|
|||||||
sending commands authenticated with digital signatures. In the current
|
sending commands authenticated with digital signatures. In the current
|
||||||
versions of \fBrndc\fP and \fBnamed\fP, the only supported authentication
|
versions of \fBrndc\fP and \fBnamed\fP, the only supported authentication
|
||||||
algorithms are HMAC\-MD5 (for compatibility), HMAC\-SHA1, HMAC\-SHA224,
|
algorithms are HMAC\-MD5 (for compatibility), HMAC\-SHA1, HMAC\-SHA224,
|
||||||
HMAC\-SHA256 (default), HMAC\-SHA384 and HMAC\-SHA512. They use a shared
|
HMAC\-SHA256 (default), HMAC\-SHA384, and HMAC\-SHA512. They use a shared
|
||||||
secret on each end of the connection. This provides TSIG\-style
|
secret on each end of the connection, which provides TSIG\-style
|
||||||
authentication for the command request and the name server\(aqs response.
|
authentication for the command request and the name server\(aqs response.
|
||||||
All commands sent over the channel must be signed by a key_id known to
|
All commands sent over the channel must be signed by a key_id known to
|
||||||
the server.
|
the server.
|
||||||
@@ -56,59 +56,58 @@ server and decide what algorithm and key it should use.
|
|||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
.INDENT 0.0
|
.INDENT 0.0
|
||||||
.TP
|
.TP
|
||||||
\fB\-4\fP
|
.B \fB\-4\fP
|
||||||
Use IPv4 only.
|
This option indicates use of IPv4 only.
|
||||||
.TP
|
.TP
|
||||||
\fB\-6\fP
|
.B \fB\-6\fP
|
||||||
Use IPv6 only.
|
This option indicates use of IPv6 only.
|
||||||
.TP
|
.TP
|
||||||
\fB\-b\fP source\-address
|
.B \fB\-b source\-address\fP
|
||||||
Use source\-address as the source address for the connection to the
|
This option indicates \fBsource\-address\fP as the source address for the connection to the
|
||||||
server. Multiple instances are permitted to allow setting of both the
|
server. Multiple instances are permitted, to allow setting of both the
|
||||||
IPv4 and IPv6 source addresses.
|
IPv4 and IPv6 source addresses.
|
||||||
.TP
|
.TP
|
||||||
\fB\-c\fP config\-file
|
.B \fB\-c config\-file\fP
|
||||||
Use config\-file as the configuration file instead of the default,
|
This option indicates \fBconfig\-file\fP as the configuration file instead of the default,
|
||||||
\fB/etc/rndc.conf\fP\&.
|
\fB/etc/rndc.conf\fP\&.
|
||||||
.TP
|
.TP
|
||||||
\fB\-k\fP key\-file
|
.B \fB\-k key\-file\fP
|
||||||
Use key\-file as the key file instead of the default,
|
This option indicates \fBkey\-file\fP as the key file instead of the default,
|
||||||
\fB/etc/rndc.key\fP\&. The key in \fB/etc/rndc.key\fP will be used to
|
\fB/etc/rndc.key\fP\&. The key in \fB/etc/rndc.key\fP is used to
|
||||||
authenticate commands sent to the server if the config\-file does not
|
authenticate commands sent to the server if the config\-file does not
|
||||||
exist.
|
exist.
|
||||||
.TP
|
.TP
|
||||||
\fB\-s\fP server
|
.B \fB\-s server\fP
|
||||||
server is the name or address of the server which matches a server
|
\fBserver\fP is the name or address of the server which matches a server
|
||||||
statement in the configuration file for \fBrndc\fP\&. If no server is
|
statement in the configuration file for \fBrndc\fP\&. If no server is
|
||||||
supplied on the command line, the host named by the default\-server
|
supplied on the command line, the host named by the default\-server
|
||||||
clause in the options statement of the \fBrndc\fP configuration file
|
clause in the options statement of the \fBrndc\fP configuration file
|
||||||
will be used.
|
is used.
|
||||||
.TP
|
.TP
|
||||||
\fB\-p\fP port
|
.B \fB\-p port\fP
|
||||||
Send commands to TCP port port instead of BIND 9\(aqs default control
|
This option instructs BIND 9 to send commands to TCP port \fBport\fP instead of its default control
|
||||||
channel port, 953.
|
channel port, 953.
|
||||||
.TP
|
.TP
|
||||||
\fB\-q\fP
|
.B \fB\-q\fP
|
||||||
Quiet mode: Message text returned by the server will not be printed
|
This option sets quiet mode, where message text returned by the server is not printed
|
||||||
except when there is an error.
|
unless there is an error.
|
||||||
.TP
|
.TP
|
||||||
\fB\-r\fP
|
.B \fB\-r\fP
|
||||||
Instructs \fBrndc\fP to print the result code returned by \fBnamed\fP
|
This option instructs \fBrndc\fP to print the result code returned by \fBnamed\fP
|
||||||
after executing the requested command (e.g., ISC_R_SUCCESS,
|
after executing the requested command (e.g., ISC_R_SUCCESS,
|
||||||
ISC_R_FAILURE, etc).
|
ISC_R_FAILURE, etc.).
|
||||||
.TP
|
.TP
|
||||||
\fB\-V\fP
|
.B \fB\-V\fP
|
||||||
Enable verbose logging.
|
This option enables verbose logging.
|
||||||
.TP
|
.TP
|
||||||
\fB\-y\fP key_id
|
.B \fB\-y key_id\fP
|
||||||
Use the key key_id from the configuration file. key_id must be known
|
This option indicates use of the key \fBkey_id\fP from the configuration file. For control message validation to succeed, \fBkey_id\fP must be known
|
||||||
by \fBnamed\fP with the same algorithm and secret string in order for
|
by \fBnamed\fP with the same algorithm and secret string. If no \fBkey_id\fP is specified,
|
||||||
control message validation to succeed. If no key_id is specified,
|
\fBrndc\fP first looks for a key clause in the server statement of
|
||||||
\fBrndc\fP will first look for a key clause in the server statement of
|
|
||||||
the server being used, or if no server statement is present for that
|
the server being used, or if no server statement is present for that
|
||||||
host, then the default\-key clause of the options statement. Note that
|
host, then in the default\-key clause of the options statement. Note that
|
||||||
the configuration file contains shared secrets which are used to send
|
the configuration file contains shared secrets which are used to send
|
||||||
authenticated control commands to name servers. It should therefore
|
authenticated control commands to name servers, and should therefore
|
||||||
not have general read or write access.
|
not have general read or write access.
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.SH COMMANDS
|
.SH COMMANDS
|
||||||
@@ -120,45 +119,45 @@ Currently supported commands are:
|
|||||||
.INDENT 0.0
|
.INDENT 0.0
|
||||||
.TP
|
.TP
|
||||||
.B \fBaddzone\fP \fIzone\fP [\fIclass\fP [\fIview\fP]] \fIconfiguration\fP
|
.B \fBaddzone\fP \fIzone\fP [\fIclass\fP [\fIview\fP]] \fIconfiguration\fP
|
||||||
Add a zone while the server is running. This command requires the
|
This command adds a zone while the server is running. This command requires the
|
||||||
\fBallow\-new\-zones\fP option to be set to \fByes\fP\&. The configuration
|
\fBallow\-new\-zones\fP option to be set to \fByes\fP\&. The configuration
|
||||||
string specified on the command line is the zone configuration text
|
string specified on the command line is the zone configuration text
|
||||||
that would ordinarily be placed in \fBnamed.conf(5)\fP\&.
|
that would ordinarily be placed in \fBnamed.conf\fP\&.
|
||||||
.sp
|
.sp
|
||||||
The configuration is saved in a file called \fBviewname.nzf\fP (or, if
|
The configuration is saved in a file called \fBviewname.nzf\fP (or, if
|
||||||
\fBnamed(8)\fP is compiled with liblmdb, an LMDB database file called
|
\fBnamed\fP is compiled with liblmdb, an LMDB database file called
|
||||||
\fBviewname.nzd\fP). viewname is the name of the view, unless the view
|
\fBviewname.nzd\fP). \fBviewname\fP is the name of the view, unless the view
|
||||||
name contains characters that are incompatible with use as a file
|
name contains characters that are incompatible with use as a file
|
||||||
name, in which case a cryptographic hash of the view name is used
|
name, in which case a cryptographic hash of the view name is used
|
||||||
instead. When \fBnamed(8)\fP is restarted, the file will be loaded into
|
instead. When \fBnamed\fP is restarted, the file is loaded into
|
||||||
the view configuration, so that zones that were added can persist
|
the view configuration so that zones that were added can persist
|
||||||
after a restart.
|
after a restart.
|
||||||
.sp
|
.sp
|
||||||
This sample \fBaddzone\fP command would add the zone \fBexample.com\fP to
|
This sample \fBaddzone\fP command adds the zone \fBexample.com\fP to
|
||||||
the default view:
|
the default view:
|
||||||
.sp
|
.sp
|
||||||
\fB$\fP\fBrndc addzone example.com \(aq{ type master; file "example.com.db"; };\(aq\fP
|
\fB$ \e rndc addzone example.com \(aq{ type master; file "example.com.db"; };\(aq\fP
|
||||||
.sp
|
.sp
|
||||||
(Note the brackets and semi\-colon around the zone configuration
|
(Note the brackets around and semi\-colon after the zone configuration
|
||||||
text.)
|
text.)
|
||||||
.sp
|
.sp
|
||||||
See also \fBrndc delzone\fP and \fBrndc modzone\fP\&.
|
See also \fBrndc delzone\fP and \fBrndc modzone\fP\&.
|
||||||
.TP
|
.TP
|
||||||
\fBdelzone\fP [\fB\-clean\fP] \fIzone\fP [\fIclass\fP [\fIview\fP]]
|
\fBdelzone\fP [\fB\-clean\fP] \fIzone\fP [\fIclass\fP [\fIview\fP]]
|
||||||
Delete a zone while the server is running.
|
This command deletes a zone while the server is running.
|
||||||
.sp
|
.sp
|
||||||
If the \fB\-clean\fP argument is specified, the zone\(aqs master file (and
|
If the \fB\-clean\fP argument is specified, the zone\(aqs master file (and
|
||||||
journal file, if any) will be deleted along with the zone. Without
|
journal file, if any) are deleted along with the zone. Without
|
||||||
the \fB\-clean\fP option, zone files must be cleaned up by hand. (If the
|
the \fB\-clean\fP option, zone files must be deleted manually. (If the
|
||||||
zone is of type "slave" or "stub", the files needing to be cleaned up
|
zone is of type \fBsecondary\fP or \fBstub\fP, the files needing to be removed
|
||||||
will be reported in the output of the \fBrndc delzone\fP command.)
|
are reported in the output of the \fBrndc delzone\fP command.)
|
||||||
.sp
|
.sp
|
||||||
If the zone was originally added via \fBrndc addzone\fP, then it will
|
If the zone was originally added via \fBrndc addzone\fP, then it is
|
||||||
be removed permanently. However, if it was originally configured in
|
removed permanently. However, if it was originally configured in
|
||||||
\fBnamed.conf\fP, then that original configuration is still in place;
|
\fBnamed.conf\fP, then that original configuration remains in place;
|
||||||
when the server is restarted or reconfigured, the zone will come
|
when the server is restarted or reconfigured, the zone is
|
||||||
back. To remove it permanently, it must also be removed from
|
recreated. To remove it permanently, it must also be removed from
|
||||||
\fBnamed.conf\fP
|
\fBnamed.conf\fP\&.
|
||||||
.sp
|
.sp
|
||||||
See also \fBrndc addzone\fP and \fBrndc modzone\fP\&.
|
See also \fBrndc addzone\fP and \fBrndc modzone\fP\&.
|
||||||
.TP
|
.TP
|
||||||
@@ -167,79 +166,79 @@ Show the DNSSEC signing state for the specified zone. Requires the
|
|||||||
zone to have a "dnssec\-policy".
|
zone to have a "dnssec\-policy".
|
||||||
.TP
|
.TP
|
||||||
\fBdnstap\fP ( \fB\-reopen\fP | \fB\-roll\fP [\fInumber\fP] )
|
\fBdnstap\fP ( \fB\-reopen\fP | \fB\-roll\fP [\fInumber\fP] )
|
||||||
Close and re\-open DNSTAP output files. \fBrndc dnstap \-reopen\fP allows
|
This command closes and re\-opens DNSTAP output files. \fBrndc dnstap \-reopen\fP allows
|
||||||
the output file to be renamed externally, so that \fBnamed(8)\fP can
|
the output file to be renamed externally, so that \fBnamed\fP can
|
||||||
truncate and re\-open it. \fBrndc dnstap \-roll\fP causes the output file
|
truncate and re\-open it. \fBrndc dnstap \-roll\fP causes the output file
|
||||||
to be rolled automatically, similar to log files; the most recent
|
to be rolled automatically, similar to log files. The most recent
|
||||||
output file has ".0" appended to its name; the previous most recent
|
output file has ".0" appended to its name; the previous most recent
|
||||||
output file is moved to ".1", and so on. If number is specified, then
|
output file is moved to ".1", and so on. If \fBnumber\fP is specified, then
|
||||||
the number of backup log files is limited to that number.
|
the number of backup log files is limited to that number.
|
||||||
.TP
|
.TP
|
||||||
\fBdumpdb\fP [\fB\-all\fP | \fB\-cache\fP | \fB\-zones\fP | \fB\-adb\fP | \fB\-bad\fP | \fB\-fail\fP] [\fIview ...\fP]
|
\fBdumpdb\fP [\fB\-all\fP | \fB\-cache\fP | \fB\-zones\fP | \fB\-adb\fP | \fB\-bad\fP | \fB\-fail\fP] [\fIview ...\fP]
|
||||||
Dump the server\(aqs caches (default) and/or zones to the dump file for
|
This command dumps the server\(aqs caches (default) and/or zones to the dump file for
|
||||||
the specified views. If no view is specified, all views are dumped.
|
the specified views. If no view is specified, all views are dumped.
|
||||||
(See the \fBdump\-file\fP option in the BIND 9 Administrator Reference
|
(See the \fBdump\-file\fP option in the BIND 9 Administrator Reference
|
||||||
Manual.)
|
Manual.)
|
||||||
.TP
|
.TP
|
||||||
.B \fBflush\fP
|
.B \fBflush\fP
|
||||||
Flushes the server\(aqs cache.
|
This command flushes the server\(aqs cache.
|
||||||
.TP
|
.TP
|
||||||
.B \fBflushname\fP \fIname\fP [\fIview\fP]
|
.B \fBflushname\fP \fIname\fP [\fIview\fP]
|
||||||
Flushes the given name from the view\(aqs DNS cache and, if applicable,
|
This command flushes the given name from the view\(aqs DNS cache and, if applicable,
|
||||||
from the view\(aqs nameserver address database, bad server cache and
|
from the view\(aqs nameserver address database, bad server cache, and
|
||||||
SERVFAIL cache.
|
SERVFAIL cache.
|
||||||
.TP
|
.TP
|
||||||
.B \fBflushtree\fP \fIname\fP [\fIview\fP]
|
.B \fBflushtree\fP \fIname\fP [\fIview\fP]
|
||||||
Flushes the given name, and all of its subdomains, from the view\(aqs
|
This command flushes the given name, and all of its subdomains, from the view\(aqs
|
||||||
DNS cache, address database, bad server cache, and SERVFAIL cache.
|
DNS cache, address database, bad server cache, and SERVFAIL cache.
|
||||||
.TP
|
.TP
|
||||||
.B \fBfreeze\fP [\fIzone\fP [\fIclass\fP [\fIview\fP]]]
|
.B \fBfreeze\fP [\fIzone\fP [\fIclass\fP [\fIview\fP]]]
|
||||||
Suspend updates to a dynamic zone. If no zone is specified, then all
|
This command suspends updates to a dynamic zone. If no zone is specified, then all
|
||||||
zones are suspended. This allows manual edits to be made to a zone
|
zones are suspended. This allows manual edits to be made to a zone
|
||||||
normally updated by dynamic update. It also causes changes in the
|
normally updated by dynamic update, and causes changes in the
|
||||||
journal file to be synced into the master file. All dynamic update
|
journal file to be synced into the master file. All dynamic update
|
||||||
attempts will be refused while the zone is frozen.
|
attempts are refused while the zone is frozen.
|
||||||
.sp
|
.sp
|
||||||
See also \fBrndc thaw\fP\&.
|
See also \fBrndc thaw\fP\&.
|
||||||
.TP
|
.TP
|
||||||
\fBhalt\fP [\fB\-p\fP]
|
\fBhalt\fP [\fB\-p\fP]
|
||||||
Stop the server immediately. Recent changes made through dynamic
|
This command stops the server immediately. Recent changes made through dynamic
|
||||||
update or IXFR are not saved to the master files, but will be rolled
|
update or IXFR are not saved to the master files, but are rolled
|
||||||
forward from the journal files when the server is restarted. If
|
forward from the journal files when the server is restarted. If
|
||||||
\fB\-p\fP is specified \fBnamed(8)\fP\(aqs process id is returned. This allows
|
\fB\-p\fP is specified, \fBnamed\fP\(aqs process ID is returned. This allows
|
||||||
an external process to determine when \fBnamed(8)\fP had completed
|
an external process to determine when \fBnamed\fP has completed
|
||||||
halting.
|
halting.
|
||||||
.sp
|
.sp
|
||||||
See also \fBrndc stop\fP\&.
|
See also \fBrndc stop\fP\&.
|
||||||
.TP
|
.TP
|
||||||
.B \fBloadkeys\fP [\fIzone\fP [\fIclass\fP [\fIview\fP]]]
|
.B \fBloadkeys\fP [\fIzone\fP [\fIclass\fP [\fIview\fP]]]
|
||||||
Fetch all DNSSEC keys for the given zone from the key directory. If
|
This command fetches all DNSSEC keys for the given zone from the key directory. If
|
||||||
they are within their publication period, merge them into the
|
they are within their publication period, they are merged into the
|
||||||
zone\(aqs DNSKEY RRset. Unlike \fBrndc sign\fP, however, the zone is not
|
zone\(aqs DNSKEY RRset. Unlike \fBrndc sign\fP, however, the zone is not
|
||||||
immediately re\-signed by the new keys, but is allowed to
|
immediately re\-signed by the new keys, but is allowed to
|
||||||
incrementally re\-sign over time.
|
incrementally re\-sign over time.
|
||||||
.sp
|
.sp
|
||||||
This command requires that zone is configured with a \fBdnssec\-policy\fP, or
|
This command requires that the zone be configured with a \fBdnssec\-policy\fP, or
|
||||||
the \fBauto\-dnssec\fP zone option be set to \fBmaintain\fP, and also requires the
|
that the \fBauto\-dnssec\fP zone option be set to \fBmaintain\fP, and also requires the
|
||||||
zone to be configured to allow dynamic DNS. (See "Dynamic Update Policies" in
|
zone to be configured to allow dynamic DNS. (See "Dynamic Update Policies" in
|
||||||
the Administrator Reference Manual for more details.)
|
the Administrator Reference Manual for more details.)
|
||||||
.TP
|
.TP
|
||||||
.B \fBmanaged\-keys\fP (\fIstatus\fP | \fIrefresh\fP | \fIsync\fP | \fIdestroy\fP) [\fIclass\fP [\fIview\fP]]
|
.B \fBmanaged\-keys\fP (\fIstatus\fP | \fIrefresh\fP | \fIsync\fP | \fIdestroy\fP) [\fIclass\fP [\fIview\fP]]
|
||||||
Inspect and control the "managed\-keys" database which handles
|
This command inspects and controls the "managed\-keys" database which handles
|
||||||
\fI\%RFC 5011\fP DNSSEC trust anchor maintenance. If a view is specified, these
|
\fI\%RFC 5011\fP DNSSEC trust anchor maintenance. If a view is specified, these
|
||||||
commands are applied to that view; otherwise they are applied to all
|
commands are applied to that view; otherwise, they are applied to all
|
||||||
views.
|
views.
|
||||||
.INDENT 7.0
|
.INDENT 7.0
|
||||||
.IP \(bu 2
|
.IP \(bu 2
|
||||||
When run with the \fBstatus\fP keyword, prints the current status of
|
When run with the \fBstatus\fP keyword, this prints the current status of
|
||||||
the managed\-keys database.
|
the managed\-keys database.
|
||||||
.IP \(bu 2
|
.IP \(bu 2
|
||||||
When run with the \fBrefresh\fP keyword, forces an immediate refresh
|
When run with the \fBrefresh\fP keyword, this forces an immediate refresh
|
||||||
query to be sent for all the managed keys, updating the
|
query to be sent for all the managed keys, updating the
|
||||||
managed\-keys database if any new keys are found, without waiting
|
managed\-keys database if any new keys are found, without waiting
|
||||||
the normal refresh interval.
|
the normal refresh interval.
|
||||||
.IP \(bu 2
|
.IP \(bu 2
|
||||||
When run with the \fBsync\fP keyword, forces an immediate dump of
|
When run with the \fBsync\fP keyword, this forces an immediate dump of
|
||||||
the managed\-keys database to disk (in the file
|
the managed\-keys database to disk (in the file
|
||||||
\fBmanaged\-keys.bind\fP or (\fBviewname.mkeys\fP). This synchronizes
|
\fBmanaged\-keys.bind\fP or (\fBviewname.mkeys\fP). This synchronizes
|
||||||
the database with its journal file, so that the database\(aqs current
|
the database with its journal file, so that the database\(aqs current
|
||||||
@@ -251,12 +250,12 @@ This command should be used only with extreme caution.
|
|||||||
.sp
|
.sp
|
||||||
Existing keys that are already trusted are not deleted from
|
Existing keys that are already trusted are not deleted from
|
||||||
memory; DNSSEC validation can continue after this command is used.
|
memory; DNSSEC validation can continue after this command is used.
|
||||||
However, key maintenance operations will cease until \fBnamed(8)\fP is
|
However, key maintenance operations cease until \fBnamed\fP is
|
||||||
restarted or reconfigured, and all existing key maintenance state
|
restarted or reconfigured, and all existing key maintenance states
|
||||||
will be deleted.
|
are deleted.
|
||||||
.sp
|
.sp
|
||||||
Running \fBrndc reconfig\fP or restarting \fBnamed(8)\fP immediately
|
Running \fBrndc reconfig\fP or restarting \fBnamed\fP immediately
|
||||||
after this command will cause key maintenance to be reinitialized
|
after this command causes key maintenance to be reinitialized
|
||||||
from scratch, just as if the server were being started for the
|
from scratch, just as if the server were being started for the
|
||||||
first time. This is primarily intended for testing, but it may
|
first time. This is primarily intended for testing, but it may
|
||||||
also be used, for example, to jumpstart the acquisition of new
|
also be used, for example, to jumpstart the acquisition of new
|
||||||
@@ -265,33 +264,33 @@ repair for key maintenance problems.
|
|||||||
.UNINDENT
|
.UNINDENT
|
||||||
.TP
|
.TP
|
||||||
.B \fBmodzone\fP \fIzone\fP [\fIclass\fP [\fIview\fP]] \fIconfiguration\fP
|
.B \fBmodzone\fP \fIzone\fP [\fIclass\fP [\fIview\fP]] \fIconfiguration\fP
|
||||||
Modify the configuration of a zone while the server is running. This
|
This command modifies the configuration of a zone while the server is running. This
|
||||||
command requires the \fBallow\-new\-zones\fP option to be set to \fByes\fP\&.
|
command requires the \fBallow\-new\-zones\fP option to be set to \fByes\fP\&.
|
||||||
As with \fBaddzone\fP, the configuration string specified on the
|
As with \fBaddzone\fP, the configuration string specified on the
|
||||||
command line is the zone configuration text that would ordinarily be
|
command line is the zone configuration text that would ordinarily be
|
||||||
placed in \fBnamed.conf\fP\&.
|
placed in \fBnamed.conf\fP\&.
|
||||||
.sp
|
.sp
|
||||||
If the zone was originally added via \fBrndc addzone\fP, the
|
If the zone was originally added via \fBrndc addzone\fP, the
|
||||||
configuration changes will be recorded permanently and will still be
|
configuration changes are recorded permanently and are still
|
||||||
in effect after the server is restarted or reconfigured. However, if
|
in effect after the server is restarted or reconfigured. However, if
|
||||||
it was originally configured in \fBnamed.conf\fP, then that original
|
it was originally configured in \fBnamed.conf\fP, then that original
|
||||||
configuration is still in place; when the server is restarted or
|
configuration remains in place; when the server is restarted or
|
||||||
reconfigured, the zone will revert to its original configuration. To
|
reconfigured, the zone reverts to its original configuration. To
|
||||||
make the changes permanent, it must also be modified in
|
make the changes permanent, it must also be modified in
|
||||||
\fBnamed.conf\fP
|
\fBnamed.conf\fP\&.
|
||||||
.sp
|
.sp
|
||||||
See also \fBrndc addzone\fP and \fBrndc delzone\fP\&.
|
See also \fBrndc addzone\fP and \fBrndc delzone\fP\&.
|
||||||
.TP
|
.TP
|
||||||
.B \fBnotify\fP \fIzone\fP [\fIclass\fP [\fIview\fP]]
|
.B \fBnotify\fP \fIzone\fP [\fIclass\fP [\fIview\fP]]
|
||||||
Resend NOTIFY messages for the zone.
|
This command resends NOTIFY messages for the zone.
|
||||||
.TP
|
.TP
|
||||||
.B \fBnotrace\fP
|
.B \fBnotrace\fP
|
||||||
Sets the server\(aqs debugging level to 0.
|
This command sets the server\(aqs debugging level to 0.
|
||||||
.sp
|
.sp
|
||||||
See also \fBrndc trace\fP\&.
|
See also \fBrndc trace\fP\&.
|
||||||
.TP
|
.TP
|
||||||
\fBnta\fP [( \fB\-class\fP \fIclass\fP | \fB\-dump\fP | \fB\-force\fP | \fB\-remove\fP | \fB\-lifetime\fP \fIduration\fP)] \fIdomain\fP [\fIview\fP]
|
\fBnta\fP [( \fB\-class\fP \fIclass\fP | \fB\-dump\fP | \fB\-force\fP | \fB\-remove\fP | \fB\-lifetime\fP \fIduration\fP)] \fIdomain\fP [\fIview\fP]
|
||||||
Sets a DNSSEC negative trust anchor (NTA) for \fBdomain\fP, with a
|
This command sets a DNSSEC negative trust anchor (NTA) for \fBdomain\fP, with a
|
||||||
lifetime of \fBduration\fP\&. The default lifetime is configured in
|
lifetime of \fBduration\fP\&. The default lifetime is configured in
|
||||||
\fBnamed.conf\fP via the \fBnta\-lifetime\fP option, and defaults to one
|
\fBnamed.conf\fP via the \fBnta\-lifetime\fP option, and defaults to one
|
||||||
hour. The lifetime cannot exceed one week.
|
hour. The lifetime cannot exceed one week.
|
||||||
@@ -299,15 +298,15 @@ hour. The lifetime cannot exceed one week.
|
|||||||
A negative trust anchor selectively disables DNSSEC validation for
|
A negative trust anchor selectively disables DNSSEC validation for
|
||||||
zones that are known to be failing because of misconfiguration rather
|
zones that are known to be failing because of misconfiguration rather
|
||||||
than an attack. When data to be validated is at or below an active
|
than an attack. When data to be validated is at or below an active
|
||||||
NTA (and above any other configured trust anchors), \fBnamed(8)\fP will
|
NTA (and above any other configured trust anchors), \fBnamed\fP
|
||||||
abort the DNSSEC validation process and treat the data as insecure
|
aborts the DNSSEC validation process and treats the data as insecure
|
||||||
rather than bogus. This continues until the NTA\(aqs lifetime is
|
rather than bogus. This continues until the NTA\(aqs lifetime has
|
||||||
elapsed.
|
elapsed.
|
||||||
.sp
|
.sp
|
||||||
NTAs persist across restarts of the \fBnamed(8)\fP server. The NTAs for a
|
NTAs persist across restarts of the \fBnamed\fP server. The NTAs for a
|
||||||
view are saved in a file called \fBname.nta\fP, where name is the name
|
view are saved in a file called \fBname.nta\fP, where \fBname\fP is the name
|
||||||
of the view, or if it contains characters that are incompatible with
|
of the view; if it contains characters that are incompatible with
|
||||||
use as a file name, a cryptographic hash generated from the name of
|
use as a file name, a cryptographic hash is generated from the name of
|
||||||
the view.
|
the view.
|
||||||
.sp
|
.sp
|
||||||
An existing NTA can be removed by using the \fB\-remove\fP option.
|
An existing NTA can be removed by using the \fB\-remove\fP option.
|
||||||
@@ -315,18 +314,18 @@ An existing NTA can be removed by using the \fB\-remove\fP option.
|
|||||||
An NTA\(aqs lifetime can be specified with the \fB\-lifetime\fP option.
|
An NTA\(aqs lifetime can be specified with the \fB\-lifetime\fP option.
|
||||||
TTL\-style suffixes can be used to specify the lifetime in seconds,
|
TTL\-style suffixes can be used to specify the lifetime in seconds,
|
||||||
minutes, or hours. If the specified NTA already exists, its lifetime
|
minutes, or hours. If the specified NTA already exists, its lifetime
|
||||||
will be updated to the new value. Setting \fBlifetime\fP to zero is
|
is updated to the new value. Setting \fBlifetime\fP to zero is
|
||||||
equivalent to \fB\-remove\fP\&.
|
equivalent to \fB\-remove\fP\&.
|
||||||
.sp
|
.sp
|
||||||
If the \fB\-dump\fP is used, any other arguments are ignored, and a list
|
If \fB\-dump\fP is used, any other arguments are ignored and a list
|
||||||
of existing NTAs is printed (note that this may include NTAs that are
|
of existing NTAs is printed. Note that this may include NTAs that are
|
||||||
expired but have not yet been cleaned up).
|
expired but have not yet been cleaned up.
|
||||||
.sp
|
.sp
|
||||||
Normally, \fBnamed(8)\fP will periodically test to see whether data below
|
Normally, \fBnamed\fP periodically tests to see whether data below
|
||||||
an NTA can now be validated (see the \fBnta\-recheck\fP option in the
|
an NTA can now be validated (see the \fBnta\-recheck\fP option in the
|
||||||
Administrator Reference Manual for details). If data can be
|
Administrator Reference Manual for details). If data can be
|
||||||
validated, then the NTA is regarded as no longer necessary, and will
|
validated, then the NTA is regarded as no longer necessary and is
|
||||||
be allowed to expire early. The \fB\-force\fP overrides this behavior
|
allowed to expire early. The \fB\-force\fP parameter overrides this behavior
|
||||||
and forces an NTA to persist for its entire lifetime, regardless of
|
and forces an NTA to persist for its entire lifetime, regardless of
|
||||||
whether data could be validated if the NTA were not present.
|
whether data could be validated if the NTA were not present.
|
||||||
.sp
|
.sp
|
||||||
@@ -337,65 +336,65 @@ supported.
|
|||||||
All of these options can be shortened, i.e., to \fB\-l\fP, \fB\-r\fP,
|
All of these options can be shortened, i.e., to \fB\-l\fP, \fB\-r\fP,
|
||||||
\fB\-d\fP, \fB\-f\fP, and \fB\-c\fP\&.
|
\fB\-d\fP, \fB\-f\fP, and \fB\-c\fP\&.
|
||||||
.sp
|
.sp
|
||||||
Unrecognized options are treated as errors. To reference a domain or
|
Unrecognized options are treated as errors. To refer to a domain or
|
||||||
view name that begins with a hyphen, use a double\-hyphen on the
|
view name that begins with a hyphen, use a double\-hyphen (\-\-) on the
|
||||||
command line to indicate the end of options.
|
command line to indicate the end of options.
|
||||||
.TP
|
.TP
|
||||||
.B \fBquerylog\fP [(\fIon\fP | \fIoff\fP)]
|
.B \fBquerylog\fP [(\fIon\fP | \fIoff\fP)]
|
||||||
Enable or disable query logging. (For backward compatibility, this
|
This command enables or disables query logging. For backward compatibility, this
|
||||||
command can also be used without an argument to toggle query logging
|
command can also be used without an argument to toggle query logging
|
||||||
on and off.)
|
on and off.
|
||||||
.sp
|
.sp
|
||||||
Query logging can also be enabled by explicitly directing the
|
Query logging can also be enabled by explicitly directing the
|
||||||
\fBqueries\fP \fBcategory\fP to a \fBchannel\fP in the \fBlogging\fP section
|
\fBqueries\fP \fBcategory\fP to a \fBchannel\fP in the \fBlogging\fP section
|
||||||
of \fBnamed.conf\fP or by specifying \fBquerylog yes;\fP in the
|
of \fBnamed.conf\fP, or by specifying \fBquerylog yes;\fP in the
|
||||||
\fBoptions\fP section of \fBnamed.conf\fP\&.
|
\fBoptions\fP section of \fBnamed.conf\fP\&.
|
||||||
.TP
|
.TP
|
||||||
.B \fBreconfig\fP
|
.B \fBreconfig\fP
|
||||||
Reload the configuration file and load new zones, but do not reload
|
This command reloads the configuration file and loads new zones, but does not reload
|
||||||
existing zone files even if they have changed. This is faster than a
|
existing zone files even if they have changed. This is faster than a
|
||||||
full \fBreload\fP when there is a large number of zones because it
|
full \fBreload\fP when there is a large number of zones, because it
|
||||||
avoids the need to examine the modification times of the zones files.
|
avoids the need to examine the modification times of the zone files.
|
||||||
.TP
|
.TP
|
||||||
.B \fBrecursing\fP
|
.B \fBrecursing\fP
|
||||||
Dump the list of queries \fBnamed(8)\fP is currently recursing on, and the
|
This command dumps the list of queries \fBnamed\fP is currently recursing on, and the
|
||||||
list of domains to which iterative queries are currently being sent.
|
list of domains to which iterative queries are currently being sent.
|
||||||
(The second list includes the number of fetches currently active for
|
The second list includes the number of fetches currently active for
|
||||||
the given domain, and how many have been passed or dropped because of
|
the given domain, and how many have been passed or dropped because of
|
||||||
the \fBfetches\-per\-zone\fP option.)
|
the \fBfetches\-per\-zone\fP option.
|
||||||
.TP
|
.TP
|
||||||
.B \fBrefresh\fP \fIzone\fP [\fIclass\fP [\fIview\fP]]
|
.B \fBrefresh\fP \fIzone\fP [\fIclass\fP [\fIview\fP]]
|
||||||
Schedule zone maintenance for the given zone.
|
This command schedules zone maintenance for the given zone.
|
||||||
.TP
|
.TP
|
||||||
.B \fBreload\fP
|
.B \fBreload\fP
|
||||||
Reload configuration file and zones.
|
This command reloads the configuration file and zones.
|
||||||
.TP
|
.TP
|
||||||
.B \fBreload\fP \fIzone\fP [\fIclass\fP [\fIview\fP]]
|
.B \fBreload\fP \fIzone\fP [\fIclass\fP [\fIview\fP]]
|
||||||
Reload the given zone.
|
This command reloads the given zone.
|
||||||
.TP
|
.TP
|
||||||
.B \fBretransfer\fP \fIzone\fP [\fIclass\fP [\fIview\fP]]
|
.B \fBretransfer\fP \fIzone\fP [\fIclass\fP [\fIview\fP]]
|
||||||
Retransfer the given slave zone from the master server.
|
This command retransfers the given secondary zone from the primary server.
|
||||||
.sp
|
.sp
|
||||||
If the zone is configured to use \fBinline\-signing\fP, the signed
|
If the zone is configured to use \fBinline\-signing\fP, the signed
|
||||||
version of the zone is discarded; after the retransfer of the
|
version of the zone is discarded; after the retransfer of the
|
||||||
unsigned version is complete, the signed version will be regenerated
|
unsigned version is complete, the signed version is regenerated
|
||||||
with all new signatures.
|
with new signatures.
|
||||||
.TP
|
.TP
|
||||||
.B \fBscan\fP
|
.B \fBscan\fP
|
||||||
Scan the list of available network interfaces for changes, without
|
This command scans the list of available network interfaces for changes, without
|
||||||
performing a full \fBreconfig\fP or waiting for the
|
performing a full \fBreconfig\fP or waiting for the
|
||||||
\fBinterface\-interval\fP timer.
|
\fBinterface\-interval\fP timer.
|
||||||
.TP
|
.TP
|
||||||
\fBsecroots\fP [\fB\-\fP] [\fIview\fP ...]
|
\fBsecroots\fP [\fB\-\fP] [\fIview\fP ...]
|
||||||
Dump the security roots (i.e., trust anchors configured via
|
This command dumps the security roots (i.e., trust anchors configured via
|
||||||
\fBtrust\-anchors\fP, or the \fBmanaged\-keys\fP or \fBtrusted\-keys\fP statements
|
\fBtrust\-anchors\fP, or the \fBmanaged\-keys\fP or \fBtrusted\-keys\fP statements
|
||||||
(both deprecated), or \fBdnssec\-validation auto\fP) and negative trust anchors
|
[both deprecated], or \fBdnssec\-validation auto\fP) and negative trust anchors
|
||||||
for the specified views. If no view is specified, all views are
|
for the specified views. If no view is specified, all views are
|
||||||
dumped. Security roots will indicate whether they are configured as trusted
|
dumped. Security roots indicate whether they are configured as trusted
|
||||||
keys, managed keys, or initializing managed keys (managed keys that have not
|
keys, managed keys, or initializing managed keys (managed keys that have not
|
||||||
yet been updated by a successful key refresh query).
|
yet been updated by a successful key refresh query).
|
||||||
.sp
|
.sp
|
||||||
If the first argument is "\-", then the output is returned via the
|
If the first argument is \fB\-\fP, then the output is returned via the
|
||||||
\fBrndc\fP response channel and printed to the standard output.
|
\fBrndc\fP response channel and printed to the standard output.
|
||||||
Otherwise, it is written to the secroots dump file, which defaults to
|
Otherwise, it is written to the secroots dump file, which defaults to
|
||||||
\fBnamed.secroots\fP, but can be overridden via the \fBsecroots\-file\fP
|
\fBnamed.secroots\fP, but can be overridden via the \fBsecroots\-file\fP
|
||||||
@@ -404,43 +403,43 @@ option in \fBnamed.conf\fP\&.
|
|||||||
See also \fBrndc managed\-keys\fP\&.
|
See also \fBrndc managed\-keys\fP\&.
|
||||||
.TP
|
.TP
|
||||||
\fBserve\-stale\fP (\fBon\fP | \fBoff\fP | \fBreset\fP | \fBstatus\fP) [\fIclass\fP [\fIview\fP]]
|
\fBserve\-stale\fP (\fBon\fP | \fBoff\fP | \fBreset\fP | \fBstatus\fP) [\fIclass\fP [\fIview\fP]]
|
||||||
Enable, disable, reset, or report the current status of the serving
|
This command enables, disables, resets, or reports the current status of the serving
|
||||||
of stale answers as configured in \fBnamed.conf\fP\&.
|
of stale answers as configured in \fBnamed.conf\fP\&.
|
||||||
.sp
|
.sp
|
||||||
If serving of stale answers is disabled by \fBrndc\-serve\-stale off\fP,
|
If serving of stale answers is disabled by \fBrndc\-serve\-stale off\fP,
|
||||||
then it will remain disabled even if \fBnamed(8)\fP is reloaded or
|
then it remains disabled even if \fBnamed\fP is reloaded or
|
||||||
reconfigured. \fBrndc serve\-stale reset\fP restores the setting as
|
reconfigured. \fBrndc serve\-stale reset\fP restores the setting as
|
||||||
configured in \fBnamed.conf\fP\&.
|
configured in \fBnamed.conf\fP\&.
|
||||||
.sp
|
.sp
|
||||||
\fBrndc serve\-stale status\fP will report whether serving of stale
|
\fBrndc serve\-stale status\fP reports whether serving of stale
|
||||||
answers is currently enabled, disabled by the configuration, or
|
answers is currently enabled, disabled by the configuration, or
|
||||||
disabled by \fBrndc\fP\&. It will also report the values of
|
disabled by \fBrndc\fP\&. It also reports the values of
|
||||||
\fBstale\-answer\-ttl\fP and \fBmax\-stale\-ttl\fP\&.
|
\fBstale\-answer\-ttl\fP and \fBmax\-stale\-ttl\fP\&.
|
||||||
.TP
|
.TP
|
||||||
.B \fBshowzone\fP \fIzone\fP [\fIclass\fP [\fIview\fP]]
|
.B \fBshowzone\fP \fIzone\fP [\fIclass\fP [\fIview\fP]]
|
||||||
Print the configuration of a running zone.
|
This command prints the configuration of a running zone.
|
||||||
.sp
|
.sp
|
||||||
See also \fBrndc zonestatus\fP\&.
|
See also \fBrndc zonestatus\fP\&.
|
||||||
.TP
|
.TP
|
||||||
.B \fBsign\fP \fIzone\fP [\fIclass\fP [\fIview\fP]]
|
.B \fBsign\fP \fIzone\fP [\fIclass\fP [\fIview\fP]]
|
||||||
Fetch all DNSSEC keys for the given zone from the key directory (see
|
This command fetches all DNSSEC keys for the given zone from the key directory (see
|
||||||
the \fBkey\-directory\fP option in the BIND 9 Administrator Reference
|
the \fBkey\-directory\fP option in the BIND 9 Administrator Reference
|
||||||
Manual). If they are within their publication period, merge them into
|
Manual). If they are within their publication period, they are merged into
|
||||||
the zone\(aqs DNSKEY RRset. If the DNSKEY RRset is changed, then the
|
the zone\(aqs DNSKEY RRset. If the DNSKEY RRset is changed, then the
|
||||||
zone is automatically re\-signed with the new key set.
|
zone is automatically re\-signed with the new key set.
|
||||||
.sp
|
.sp
|
||||||
This command requires that the zone is configure with a \fBdnssec\-policy\fP, or
|
This command requires that the zone be configured with a \fBdnssec\-policy\fP, or
|
||||||
that the \fBauto\-dnssec\fP zone option be set to \fBallow\fP or \fBmaintain\fP,
|
that the \fBauto\-dnssec\fP zone option be set to \fBallow\fP or \fBmaintain\fP,
|
||||||
and also requires the zone to be configured to allow dynamic DNS. (See
|
and also requires the zone to be configured to allow dynamic DNS. (See
|
||||||
"Dynamic Update Policies" in the Administrator Reference Manual for more
|
"Dynamic Update Policies" in the BIND 9 Administrator Reference Manual for more
|
||||||
details.)
|
details.)
|
||||||
.sp
|
.sp
|
||||||
See also \fBrndc loadkeys\fP\&.
|
See also \fBrndc loadkeys\fP\&.
|
||||||
.TP
|
.TP
|
||||||
\fBsigning\fP [(\fB\-list\fP | \fB\-clear\fP \fIkeyid/algorithm\fP | \fB\-clear\fP \fIall\fP | \fB\-nsec3param\fP ( \fIparameters\fP | none ) | \fB\-serial\fP \fIvalue\fP ) \fIzone\fP [\fIclass\fP [\fIview\fP]]
|
\fBsigning\fP [(\fB\-list\fP | \fB\-clear\fP \fIkeyid/algorithm\fP | \fB\-clear\fP \fIall\fP | \fB\-nsec3param\fP ( \fIparameters\fP | none ) | \fB\-serial\fP \fIvalue\fP ) \fIzone\fP [\fIclass\fP [\fIview\fP]]
|
||||||
List, edit, or remove the DNSSEC signing state records for the
|
This command lists, edits, or removes the DNSSEC signing\-state records for the
|
||||||
specified zone. The status of ongoing DNSSEC operations (such as
|
specified zone. The status of ongoing DNSSEC operations, such as
|
||||||
signing or generating NSEC3 chains) is stored in the zone in the form
|
signing or generating NSEC3 chains, is stored in the zone in the form
|
||||||
of DNS resource records of type \fBsig\-signing\-type\fP\&.
|
of DNS resource records of type \fBsig\-signing\-type\fP\&.
|
||||||
\fBrndc signing \-list\fP converts these records into a human\-readable
|
\fBrndc signing \-list\fP converts these records into a human\-readable
|
||||||
form, indicating which keys are currently signing or have finished
|
form, indicating which keys are currently signing or have finished
|
||||||
@@ -450,22 +449,22 @@ removed.
|
|||||||
\fBrndc signing \-clear\fP can remove a single key (specified in the
|
\fBrndc signing \-clear\fP can remove a single key (specified in the
|
||||||
same format that \fBrndc signing \-list\fP uses to display it), or all
|
same format that \fBrndc signing \-list\fP uses to display it), or all
|
||||||
keys. In either case, only completed keys are removed; any record
|
keys. In either case, only completed keys are removed; any record
|
||||||
indicating that a key has not yet finished signing the zone will be
|
indicating that a key has not yet finished signing the zone is
|
||||||
retained.
|
retained.
|
||||||
.sp
|
.sp
|
||||||
\fBrndc signing \-nsec3param\fP sets the NSEC3 parameters for a zone.
|
\fBrndc signing \-nsec3param\fP sets the NSEC3 parameters for a zone.
|
||||||
This is the only supported mechanism for using NSEC3 with
|
This is the only supported mechanism for using NSEC3 with
|
||||||
\fBinline\-signing\fP zones. Parameters are specified in the same format
|
\fBinline\-signing\fP zones. Parameters are specified in the same format
|
||||||
as an NSEC3PARAM resource record: hash algorithm, flags, iterations,
|
as an NSEC3PARAM resource record: \fBhash algorithm\fP, \fBflags\fP, \fBiterations\fP,
|
||||||
and salt, in that order.
|
and \fBsalt\fP, in that order.
|
||||||
.sp
|
.sp
|
||||||
Currently, the only defined value for hash algorithm is \fB1\fP,
|
Currently, the only defined value for \fBhash algorithm\fP is \fB1\fP,
|
||||||
representing SHA\-1. The \fBflags\fP may be set to \fB0\fP or \fB1\fP,
|
representing SHA\-1. The \fBflags\fP may be set to \fB0\fP or \fB1\fP,
|
||||||
depending on whether you wish to set the opt\-out bit in the NSEC3
|
depending on whether the opt\-out bit in the NSEC3
|
||||||
chain. \fBiterations\fP defines the number of additional times to apply
|
chain should be set. \fBiterations\fP defines the number of additional times to apply
|
||||||
the algorithm when generating an NSEC3 hash. The \fBsalt\fP is a string
|
the algorithm when generating an NSEC3 hash. The \fBsalt\fP is a string
|
||||||
of data expressed in hexadecimal, a hyphen (\fI\-\(aq) if no salt is to be
|
of data expressed in hexadecimal, a hyphen (\fI\-\(aq) if no salt is to be
|
||||||
used, or the keyword \(ga\(gaauto\(ga\fP, which causes \fBnamed(8)\fP to generate a
|
used, or the keyword \(ga\(gaauto\(ga\fP, which causes \fBnamed\fP to generate a
|
||||||
random 64\-bit salt.
|
random 64\-bit salt.
|
||||||
.sp
|
.sp
|
||||||
So, for example, to create an NSEC3 chain using the SHA\-1 hash
|
So, for example, to create an NSEC3 chain using the SHA\-1 hash
|
||||||
@@ -478,81 +477,81 @@ the opt\-out flag, 15 iterations, and no salt, use:
|
|||||||
replaces it with NSEC.
|
replaces it with NSEC.
|
||||||
.sp
|
.sp
|
||||||
\fBrndc signing \-serial value\fP sets the serial number of the zone to
|
\fBrndc signing \-serial value\fP sets the serial number of the zone to
|
||||||
value. If the value would cause the serial number to go backwards it
|
\fBvalue\fP\&. If the value would cause the serial number to go backwards, it
|
||||||
will be rejected. The primary use is to set the serial on inline
|
is rejected. The primary use of this parameter is to set the serial number on inline
|
||||||
signed zones.
|
signed zones.
|
||||||
.TP
|
.TP
|
||||||
.B \fBstats\fP
|
.B \fBstats\fP
|
||||||
Write server statistics to the statistics file. (See the
|
This command writes server statistics to the statistics file. (See the
|
||||||
\fBstatistics\-file\fP option in the BIND 9 Administrator Reference
|
\fBstatistics\-file\fP option in the BIND 9 Administrator Reference
|
||||||
Manual.)
|
Manual.)
|
||||||
.TP
|
.TP
|
||||||
.B \fBstatus\fP
|
.B \fBstatus\fP
|
||||||
Display status of the server. Note that the number of zones includes
|
This command displays the status of the server. Note that the number of zones includes
|
||||||
the internal \fBbind/CH\fP zone and the default \fB\&./IN\fP hint zone if
|
the internal \fBbind/CH\fP zone and the default \fB\&./IN\fP hint zone, if
|
||||||
there is not an explicit root zone configured.
|
there is no explicit root zone configured.
|
||||||
.TP
|
.TP
|
||||||
\fBstop\fP \fB\-p\fP
|
\fBstop\fP \fB\-p\fP
|
||||||
Stop the server, making sure any recent changes made through dynamic
|
This command stops the server, making sure any recent changes made through dynamic
|
||||||
update or IXFR are first saved to the master files of the updated
|
update or IXFR are first saved to the master files of the updated
|
||||||
zones. If \fB\-p\fP is specified \fBnamed(8)\fP\(aqs process id is returned.
|
zones. If \fB\-p\fP is specified, \fBnamed(8)\(ga\(aqs process ID is returned.
|
||||||
This allows an external process to determine when \fBnamed(8)\fP had
|
This allows an external process to determine when \(ga\(ganamed\fP has
|
||||||
completed stopping.
|
completed stopping.
|
||||||
.sp
|
.sp
|
||||||
See also \fBrndc halt\fP\&.
|
See also \fBrndc halt\fP\&.
|
||||||
.TP
|
.TP
|
||||||
\fBsync\fP \fB\-clean\fP [\fIzone\fP [\fIclass\fP [\fIview\fP]]]
|
\fBsync\fP \fB\-clean\fP [\fIzone\fP [\fIclass\fP [\fIview\fP]]]
|
||||||
Sync changes in the journal file for a dynamic zone to the master
|
This command syncs changes in the journal file for a dynamic zone to the master
|
||||||
file. If the "\-clean" option is specified, the journal file is also
|
file. If the "\-clean" option is specified, the journal file is also
|
||||||
removed. If no zone is specified, then all zones are synced.
|
removed. If no zone is specified, then all zones are synced.
|
||||||
.TP
|
.TP
|
||||||
.B \fBtcp\-timeouts\fP [\fIinitial\fP \fIidle\fP \fIkeepalive\fP \fIadvertised\fP]
|
.B \fBtcp\-timeouts\fP [\fIinitial\fP \fIidle\fP \fIkeepalive\fP \fIadvertised\fP]
|
||||||
When called without arguments, display the current values of the
|
When called without arguments, this command displays the current values of the
|
||||||
\fBtcp\-initial\-timeout\fP, \fBtcp\-idle\-timeout\fP,
|
\fBtcp\-initial\-timeout\fP, \fBtcp\-idle\-timeout\fP,
|
||||||
\fBtcp\-keepalive\-timeout\fP and \fBtcp\-advertised\-timeout\fP options.
|
\fBtcp\-keepalive\-timeout\fP, and \fBtcp\-advertised\-timeout\fP options.
|
||||||
When called with arguments, update these values. This allows an
|
When called with arguments, these values are updated. This allows an
|
||||||
administrator to make rapid adjustments when under a denial of
|
administrator to make rapid adjustments when under a
|
||||||
service attack. See the descriptions of these options in the BIND 9
|
denial\-of\-service (DoS) attack. See the descriptions of these options in the BIND 9
|
||||||
Administrator Reference Manual for details of their use.
|
Administrator Reference Manual for details of their use.
|
||||||
.TP
|
.TP
|
||||||
.B \fBthaw\fP [\fIzone\fP [\fIclass\fP [\fIview\fP]]]
|
.B \fBthaw\fP [\fIzone\fP [\fIclass\fP [\fIview\fP]]]
|
||||||
Enable updates to a frozen dynamic zone. If no zone is specified,
|
This command enables updates to a frozen dynamic zone. If no zone is specified,
|
||||||
then all frozen zones are enabled. This causes the server to reload
|
then all frozen zones are enabled. This causes the server to reload
|
||||||
the zone from disk, and re\-enables dynamic updates after the load has
|
the zone from disk, and re\-enables dynamic updates after the load has
|
||||||
completed. After a zone is thawed, dynamic updates will no longer be
|
completed. After a zone is thawed, dynamic updates are no longer
|
||||||
refused. If the zone has changed and the \fBixfr\-from\-differences\fP
|
refused. If the zone has changed and the \fBixfr\-from\-differences\fP
|
||||||
option is in use, then the journal file will be updated to reflect
|
option is in use, the journal file is updated to reflect
|
||||||
changes in the zone. Otherwise, if the zone has changed, any existing
|
changes in the zone. Otherwise, if the zone has changed, any existing
|
||||||
journal file will be removed.
|
journal file is removed.
|
||||||
.sp
|
.sp
|
||||||
See also \fBrndc freeze\fP\&.
|
See also \fBrndc freeze\fP\&.
|
||||||
.TP
|
.TP
|
||||||
.B \fBtrace\fP
|
.B \fBtrace\fP
|
||||||
Increment the servers debugging level by one.
|
This command increments the server\(aqs debugging level by one.
|
||||||
.TP
|
.TP
|
||||||
.B \fBtrace\fP \fIlevel\fP
|
.B \fBtrace\fP \fIlevel\fP
|
||||||
Sets the server\(aqs debugging level to an explicit value.
|
This command sets the server\(aqs debugging level to an explicit value.
|
||||||
.sp
|
.sp
|
||||||
See also \fBrndc notrace\fP\&.
|
See also \fBrndc notrace\fP\&.
|
||||||
.TP
|
.TP
|
||||||
.B \fBtsig\-delete\fP \fIkeyname\fP [\fIview\fP]
|
.B \fBtsig\-delete\fP \fIkeyname\fP [\fIview\fP]
|
||||||
Delete a given TKEY\-negotiated key from the server. (This does not
|
This command deletes a given TKEY\-negotiated key from the server. This does not
|
||||||
apply to statically configured TSIG keys.)
|
apply to statically configured TSIG keys.
|
||||||
.TP
|
.TP
|
||||||
.B \fBtsig\-list\fP
|
.B \fBtsig\-list\fP
|
||||||
List the names of all TSIG keys currently configured for use by
|
This command lists the names of all TSIG keys currently configured for use by
|
||||||
\fBnamed(8)\fP in each view. The list both statically configured keys and
|
\fBnamed\fP in each view. The list includes both statically configured keys and
|
||||||
dynamic TKEY\-negotiated keys.
|
dynamic TKEY\-negotiated keys.
|
||||||
.TP
|
.TP
|
||||||
\fBvalidation\fP (\fBon\fP | \fBoff\fP | \fBstatus\fP) [\fIview\fP ...]\(ga\(ga
|
\fBvalidation\fP (\fBon\fP | \fBoff\fP | \fBstatus\fP) [\fIview\fP ...]\(ga\(ga
|
||||||
Enable, disable, or check the current status of DNSSEC validation. By
|
This command enables, disables, or checks the current status of DNSSEC validation. By
|
||||||
default, validation is enabled.
|
default, validation is enabled.
|
||||||
.sp
|
.sp
|
||||||
The cache is flushed when validation is turned on or off to avoid using data
|
The cache is flushed when validation is turned on or off to avoid using data
|
||||||
that might differ between states.
|
that might differ between states.
|
||||||
.TP
|
.TP
|
||||||
.B \fBzonestatus\fP \fIzone\fP [\fIclass\fP [\fIview\fP]]
|
.B \fBzonestatus\fP \fIzone\fP [\fIclass\fP [\fIview\fP]]
|
||||||
Displays the current status of the given zone, including the master
|
This command displays the current status of the given zone, including the master
|
||||||
file name and any include files from which it was loaded, when it was
|
file name and any include files from which it was loaded, when it was
|
||||||
most recently loaded, the current serial number, the number of nodes,
|
most recently loaded, the current serial number, the number of nodes,
|
||||||
whether the zone supports dynamic updates, whether the zone is DNSSEC
|
whether the zone supports dynamic updates, whether the zone is DNSSEC
|
||||||
@@ -563,9 +562,9 @@ See also \fBrndc showzone\fP\&.
|
|||||||
.UNINDENT
|
.UNINDENT
|
||||||
.sp
|
.sp
|
||||||
\fBrndc\fP commands that specify zone names, such as \fBreload\fP,
|
\fBrndc\fP commands that specify zone names, such as \fBreload\fP,
|
||||||
\fBretransfer\fP or \fBzonestatus\fP, can be ambiguous when applied to zones
|
\fBretransfer\fP, or \fBzonestatus\fP, can be ambiguous when applied to zones
|
||||||
of type \fBredirect\fP\&. Redirect zones are always called ".", and can be
|
of type \fBredirect\fP\&. Redirect zones are always called \fB\&.\fP, and can be
|
||||||
confused with zones of type \fBhint\fP or with slaved copies of the root
|
confused with zones of type \fBhint\fP or with secondary copies of the root
|
||||||
zone. To specify a redirect zone, use the special zone name
|
zone. To specify a redirect zone, use the special zone name
|
||||||
\fB\-redirect\fP, without a trailing period. (With a trailing period, this
|
\fB\-redirect\fP, without a trailing period. (With a trailing period, this
|
||||||
would specify a zone called "\-redirect".)
|
would specify a zone called "\-redirect".)
|
||||||
|
@@ -48,39 +48,39 @@ C++ style: // to end of line
|
|||||||
Unix style: # to end of line
|
Unix style: # to end of line
|
||||||
.sp
|
.sp
|
||||||
\fBrndc.conf\fP is much simpler than \fBnamed.conf\fP\&. The file uses three
|
\fBrndc.conf\fP is much simpler than \fBnamed.conf\fP\&. The file uses three
|
||||||
statements: an options statement, a server statement and a key
|
statements: an options statement, a server statement, and a key
|
||||||
statement.
|
statement.
|
||||||
.sp
|
.sp
|
||||||
The \fBoptions\fP statement contains five clauses. The \fBdefault\-server\fP
|
The \fBoptions\fP statement contains five clauses. The \fBdefault\-server\fP
|
||||||
clause is followed by the name or address of a name server. This host
|
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 \fBrndc\fP\&.
|
is used when no name server is given as an argument to \fBrndc\fP\&.
|
||||||
The \fBdefault\-key\fP clause is followed by the name of a key which is
|
The \fBdefault\-key\fP clause is followed by the name of a key, which is
|
||||||
identified by a \fBkey\fP statement. If no \fBkeyid\fP is provided on the
|
identified by a \fBkey\fP statement. If no \fBkeyid\fP is provided on the
|
||||||
rndc command line, and no \fBkey\fP clause is found in a matching
|
rndc command line, and no \fBkey\fP clause is found in a matching
|
||||||
\fBserver\fP statement, this default key will be used to authenticate the
|
\fBserver\fP statement, this default key is used to authenticate the
|
||||||
server\(aqs commands and responses. The \fBdefault\-port\fP clause is followed
|
server\(aqs commands and responses. The \fBdefault\-port\fP clause is followed
|
||||||
by the port to connect to on the remote name server. If no \fBport\fP
|
by the port to connect to on the remote name server. If no \fBport\fP
|
||||||
option is provided on the rndc command line, and no \fBport\fP clause is
|
option is provided on the rndc command line, and no \fBport\fP clause is
|
||||||
found in a matching \fBserver\fP statement, this default port will be used
|
found in a matching \fBserver\fP statement, this default port is used
|
||||||
to connect. The \fBdefault\-source\-address\fP and
|
to connect. The \fBdefault\-source\-address\fP and
|
||||||
\fBdefault\-source\-address\-v6\fP clauses which can be used to set the IPv4
|
\fBdefault\-source\-address\-v6\fP clauses can be used to set the IPv4
|
||||||
and IPv6 source addresses respectively.
|
and IPv6 source addresses respectively.
|
||||||
.sp
|
.sp
|
||||||
After the \fBserver\fP keyword, the server statement includes a string
|
After the \fBserver\fP keyword, the server statement includes a string
|
||||||
which is the hostname or address for a name server. The statement has
|
which is the hostname or address for a name server. The statement has
|
||||||
three possible clauses: \fBkey\fP, \fBport\fP and \fBaddresses\fP\&. The key
|
three possible clauses: \fBkey\fP, \fBport\fP, and \fBaddresses\fP\&. The key
|
||||||
name must match the name of a key statement in the file. The port number
|
name must match the name of a key statement in the file. The port number
|
||||||
specifies the port to connect to. If an \fBaddresses\fP clause is supplied
|
specifies the port to connect to. If an \fBaddresses\fP clause is supplied,
|
||||||
these addresses will be used instead of the server name. Each address
|
these addresses are used instead of the server name. Each address
|
||||||
can take an optional port. If an \fBsource\-address\fP or
|
can take an optional port. If an \fBsource\-address\fP or
|
||||||
\fBsource\-address\-v6\fP of supplied then these will be used to specify the
|
\fBsource\-address\-v6\fP is supplied, it is used to specify the
|
||||||
IPv4 and IPv6 source addresses respectively.
|
IPv4 and IPv6 source address, respectively.
|
||||||
.sp
|
.sp
|
||||||
The \fBkey\fP statement begins with an identifying string, the name of the
|
The \fBkey\fP statement begins with an identifying string, the name of the
|
||||||
key. The statement has two clauses. \fBalgorithm\fP identifies the
|
key. The statement has two clauses. \fBalgorithm\fP identifies the
|
||||||
authentication algorithm for \fBrndc\fP to use; currently only HMAC\-MD5
|
authentication algorithm for \fBrndc\fP to use; currently only HMAC\-MD5
|
||||||
(for compatibility), HMAC\-SHA1, HMAC\-SHA224, HMAC\-SHA256 (default),
|
(for compatibility), HMAC\-SHA1, HMAC\-SHA224, HMAC\-SHA256 (default),
|
||||||
HMAC\-SHA384 and HMAC\-SHA512 are supported. This is followed by a secret
|
HMAC\-SHA384, and HMAC\-SHA512 are supported. This is followed by a secret
|
||||||
clause which contains the base\-64 encoding of the algorithm\(aqs
|
clause which contains the base\-64 encoding of the algorithm\(aqs
|
||||||
authentication key. The base\-64 string is enclosed in double quotes.
|
authentication key. The base\-64 string is enclosed in double quotes.
|
||||||
.sp
|
.sp
|
||||||
@@ -88,7 +88,7 @@ There are two common ways to generate the base\-64 string for the secret.
|
|||||||
The BIND 9 program \fBrndc\-confgen\fP can be used to generate a random
|
The BIND 9 program \fBrndc\-confgen\fP can be used to generate a random
|
||||||
key, or the \fBmmencode\fP program, also known as \fBmimencode\fP, can be
|
key, or the \fBmmencode\fP program, also known as \fBmimencode\fP, can be
|
||||||
used to generate a base\-64 string from known input. \fBmmencode\fP does
|
used to generate a base\-64 string from known input. \fBmmencode\fP does
|
||||||
not ship with BIND 9 but is available on many systems. See the EXAMPLE
|
not ship with BIND 9 but is available on many systems. See the Example
|
||||||
section for sample command lines for each.
|
section for sample command lines for each.
|
||||||
.SH EXAMPLE
|
.SH EXAMPLE
|
||||||
.INDENT 0.0
|
.INDENT 0.0
|
||||||
@@ -156,23 +156,23 @@ key testkey {
|
|||||||
.UNINDENT
|
.UNINDENT
|
||||||
.UNINDENT
|
.UNINDENT
|
||||||
.sp
|
.sp
|
||||||
In the above example, \fBrndc\fP will by default use the server at
|
In the above example, \fBrndc\fP by default uses the server at
|
||||||
localhost (127.0.0.1) and the key called samplekey. Commands to the
|
localhost (127.0.0.1) and the key called "samplekey". Commands to the
|
||||||
localhost server will use the samplekey key, which must also be defined
|
localhost server use the "samplekey" key, which must also be defined
|
||||||
in the server\(aqs configuration file with the same name and secret. The
|
in the server\(aqs configuration file with the same name and secret. The
|
||||||
key statement indicates that samplekey uses the HMAC\-SHA256 algorithm
|
key statement indicates that "samplekey" uses the HMAC\-SHA256 algorithm
|
||||||
and its secret clause contains the base\-64 encoding of the HMAC\-SHA256
|
and its secret clause contains the base\-64 encoding of the HMAC\-SHA256
|
||||||
secret enclosed in double quotes.
|
secret enclosed in double quotes.
|
||||||
.sp
|
.sp
|
||||||
If \fBrndc \-s testserver\fP is used then \fBrndc\fP will connect to server
|
If \fBrndc \-s testserver\fP is used, then \fBrndc\fP connects to the server
|
||||||
on localhost port 5353 using the key testkey.
|
on localhost port 5353 using the key "testkey".
|
||||||
.sp
|
.sp
|
||||||
To generate a random secret with \fBrndc\-confgen\fP:
|
To generate a random secret with \fBrndc\-confgen\fP:
|
||||||
.sp
|
.sp
|
||||||
\fBrndc\-confgen\fP
|
\fBrndc\-confgen\fP
|
||||||
.sp
|
.sp
|
||||||
A complete \fBrndc.conf\fP file, including the randomly generated key,
|
A complete \fBrndc.conf\fP file, including the randomly generated key,
|
||||||
will be written to the standard output. Commented\-out \fBkey\fP and
|
is written to the standard output. Commented\-out \fBkey\fP and
|
||||||
\fBcontrols\fP statements for \fBnamed.conf\fP are also printed.
|
\fBcontrols\fP statements for \fBnamed.conf\fP are also printed.
|
||||||
.sp
|
.sp
|
||||||
To generate a base\-64 secret with \fBmmencode\fP:
|
To generate a base\-64 secret with \fBmmencode\fP:
|
||||||
|
Reference in New Issue
Block a user