2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 13:38:26 +00:00
This commit is contained in:
Mark Andrews 2004-04-13 04:44:05 +00:00
parent f38cee6326
commit a72932d4c7
4 changed files with 114 additions and 17 deletions

View File

@ -13,14 +13,14 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
.\" $Id: dig.1,v 1.25 2004/04/07 00:56:58 marka Exp $
.\" $Id: dig.1,v 1.26 2004/04/13 04:44:04 marka Exp $
.\"
.TH "DIG" "1" "Jun 30, 2000" "BIND9" ""
.SH NAME
dig \- DNS lookup utility
.SH SYNOPSIS
.sp
\fBdig\fR [ \fB@server\fR ] [ \fB-b \fIaddress\fB\fR ] [ \fB-c \fIclass\fB\fR ] [ \fB-f \fIfilename\fB\fR ] [ \fB-k \fIfilename\fB\fR ] [ \fB-p \fIport#\fB\fR ] [ \fB-t \fItype\fB\fR ] [ \fB-x \fIaddr\fB\fR ] [ \fB-y \fIname:key\fB\fR ] [ \fBname\fR ] [ \fBtype\fR ] [ \fBclass\fR ] [ \fBqueryopt\fR\fI...\fR ]
\fBdig\fR [ \fB@server\fR ] [ \fB-b \fIaddress\fB\fR ] [ \fB-c \fIclass\fB\fR ] [ \fB-f \fIfilename\fB\fR ] [ \fB-k \fIfilename\fB\fR ] [ \fB-p \fIport#\fB\fR ] [ \fB-t \fItype\fB\fR ] [ \fB-x \fIaddr\fB\fR ] [ \fB-y \fIname:key\fB\fR ] [ \fB-4\fR ] [ \fB-6\fR ] [ \fBname\fR ] [ \fBtype\fR ] [ \fBclass\fR ] [ \fBqueryopt\fR\fI...\fR ]
.sp
\fBdig\fR [ \fB-h\fR ]
.sp
@ -108,6 +108,10 @@ instead of the standard DNS port number 53. This option would be used
to test a name server that has been configured to listen for queries
on a non-standard port number.
.PP
The \fB-4\fR option forces \fBdig\fR to only
use IPv4 query transport. The \fB-6\fR option forces
\fBdig\fR to only use IPv6 query transport.
.PP
The \fB-t\fR option sets the query type to
\fItype\fR. It can be any valid query type which is
supported in BIND9. The default query type "A", unless the
@ -333,6 +337,18 @@ The default is to not display malformed answers.
\fB+[no]dnssec\fR
Requests DNSSEC records be sent by setting the DNSSEC OK bit (DO)
in the OPT record in the additional section of the query.
.TP
\fB+[no]sigchase\fR
Chase DNSSEC signature chains. Requires dig be compiled with
-DDIG_SIGCHASE.
.TP
\fB+trusted-key=####\fR
Specify a trusted key to be used with \fB+sigchase\fR.
Requires dig be compiled with -DDIG_SIGCHASE.
.TP
\fB+[no]topdown\fR
When chasing DNSSEC signature chains perform a top down validation.
Requires dig be compiled with -DDIG_SIGCHASE.
.SH "MULTIPLE QUERIES"
.PP
The BIND 9 implementation of \fBdig \fR supports

View File

@ -15,7 +15,7 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: dig.html,v 1.15 2004/04/07 00:56:59 marka Exp $ -->
<!-- $Id: dig.html,v 1.16 2004/04/13 04:44:04 marka Exp $ -->
<HTML
><HEAD
@ -120,6 +120,12 @@ CLASS="REPLACEABLE"
>name:key</I
></TT
></TT
>] [<TT
CLASS="OPTION"
>-4</TT
>] [<TT
CLASS="OPTION"
>-6</TT
>] [name] [type] [class] [queryopt...]</P
><P
><B
@ -138,7 +144,7 @@ CLASS="COMMAND"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN51"
NAME="AEN55"
></A
><H2
>DESCRIPTION</H2
@ -203,7 +209,7 @@ are applied before the command line arguments.</P
><DIV
CLASS="REFSECT1"
><A
NAME="AEN68"
NAME="AEN72"
></A
><H2
>SIMPLE USAGE</H2
@ -300,7 +306,7 @@ CLASS="COMMAND"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN97"
NAME="AEN101"
></A
><H2
>OPTIONS</H2
@ -371,6 +377,22 @@ on a non-standard port number.</P
><P
>The <TT
CLASS="OPTION"
>-4</TT
> option forces <B
CLASS="COMMAND"
>dig</B
> to only
use IPv4 query transport. The <TT
CLASS="OPTION"
>-6</TT
> option forces
<B
CLASS="COMMAND"
>dig</B
> to only use IPv6 query transport.</P
><P
>The <TT
CLASS="OPTION"
>-t</TT
> option sets the query type to
<TT
@ -516,7 +538,7 @@ CLASS="FILENAME"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN147"
NAME="AEN156"
></A
><H2
>QUERY OPTIONS</H2
@ -1045,6 +1067,39 @@ CLASS="OPTION"
>Requests DNSSEC records be sent by setting the DNSSEC OK bit (DO)
in the OPT record in the additional section of the query.</P
></DD
><DT
><TT
CLASS="OPTION"
>+[no]sigchase</TT
></DT
><DD
><P
>Chase DNSSEC signature chains. Requires dig be compiled with
-DDIG_SIGCHASE.</P
></DD
><DT
><TT
CLASS="OPTION"
>+trusted-key=####</TT
></DT
><DD
><P
>Specify a trusted key to be used with <TT
CLASS="OPTION"
>+sigchase</TT
>.
Requires dig be compiled with -DDIG_SIGCHASE.</P
></DD
><DT
><TT
CLASS="OPTION"
>+[no]topdown</TT
></DT
><DD
><P
>When chasing DNSSEC signature chains perform a top down validation.
Requires dig be compiled with -DDIG_SIGCHASE.</P
></DD
></DL
></DIV
>&#13;</P
@ -1052,7 +1107,7 @@ in the OPT record in the additional section of the query.</P
><DIV
CLASS="REFSECT1"
><A
NAME="AEN355"
NAME="AEN380"
></A
><H2
>MULTIPLE QUERIES</H2
@ -1136,7 +1191,7 @@ CLASS="LITERAL"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN373"
NAME="AEN398"
></A
><H2
>FILES</H2
@ -1154,7 +1209,7 @@ CLASS="FILENAME"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN379"
NAME="AEN404"
></A
><H2
>SEE ALSO</H2
@ -1188,7 +1243,7 @@ CLASS="CITETITLE"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN392"
NAME="AEN417"
></A
><H2
>BUGS </H2

View File

@ -13,14 +13,14 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE.
.\"
.\" $Id: host.1,v 1.16 2004/04/07 00:56:59 marka Exp $
.\" $Id: host.1,v 1.17 2004/04/13 04:44:05 marka Exp $
.\"
.TH "HOST" "1" "Jun 30, 2000" "BIND9" ""
.SH NAME
host \- DNS lookup utility
.SH SYNOPSIS
.sp
\fBhost\fR [ \fB-aCdlnrTwv\fR ] [ \fB-c \fIclass\fB\fR ] [ \fB-N \fIndots\fB\fR ] [ \fB-R \fInumber\fB\fR ] [ \fB-t \fItype\fB\fR ] [ \fB-W \fIwait\fB\fR ] \fBname\fR [ \fBserver\fR ]
\fBhost\fR [ \fB-aCdlnrTwv\fR ] [ \fB-c \fIclass\fB\fR ] [ \fB-N \fIndots\fB\fR ] [ \fB-R \fInumber\fB\fR ] [ \fB-t \fItype\fB\fR ] [ \fB-W \fIwait\fB\fR ] [ \fB-4\fR ] [ \fB-6\fR ] \fBname\fR [ \fBserver\fR ]
.SH "DESCRIPTION"
.PP
\fBhost\fR
@ -102,6 +102,10 @@ By default \fBhost\fR uses UDP when making queries. The
the name server. TCP will be automatically selected for queries that
require it, such as zone transfer (AXFR) requests.
.PP
The \fB-4\fR option forces \fBhost\fR to only
use IPv4 query transport. The \fB-6\fR option forces
\fBhost\fR to only use IPv6 query transport.
.PP
The \fB-t\fR option is used to select the query type.
\fItype\fR can be any recognised query type: CNAME,
NS, SOA, SIG, KEY, AXFR, etc. When no query type is specified,

View File

@ -15,7 +15,7 @@
- PERFORMANCE OF THIS SOFTWARE.
-->
<!-- $Id: host.html,v 1.9 2004/04/07 00:56:59 marka Exp $ -->
<!-- $Id: host.html,v 1.10 2004/04/13 04:44:05 marka Exp $ -->
<HTML
><HEAD
@ -99,12 +99,18 @@ CLASS="REPLACEABLE"
>wait</I
></TT
></TT
>] [<TT
CLASS="OPTION"
>-4</TT
>] [<TT
CLASS="OPTION"
>-6</TT
>] {name} [server]</P
></DIV
><DIV
CLASS="REFSECT1"
><A
NAME="AEN33"
NAME="AEN37"
></A
><H2
>DESCRIPTION</H2
@ -337,6 +343,22 @@ require it, such as zone transfer (AXFR) requests.</P
><P
>The <TT
CLASS="OPTION"
>-4</TT
> option forces <B
CLASS="COMMAND"
>host</B
> to only
use IPv4 query transport. The <TT
CLASS="OPTION"
>-6</TT
> option forces
<B
CLASS="COMMAND"
>host</B
> to only use IPv6 query transport.</P
><P
>The <TT
CLASS="OPTION"
>-t</TT
> option is used to select the query type.
<TT
@ -410,7 +432,7 @@ value for an integer quantity.</P
><DIV
CLASS="REFSECT1"
><A
NAME="AEN106"
NAME="AEN115"
></A
><H2
>FILES</H2
@ -423,7 +445,7 @@ CLASS="FILENAME"
><DIV
CLASS="REFSECT1"
><A
NAME="AEN110"
NAME="AEN119"
></A
><H2
>SEE ALSO</H2