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 .\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE. .\" 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" "" .TH "DIG" "1" "Jun 30, 2000" "BIND9" ""
.SH NAME .SH NAME
dig \- DNS lookup utility dig \- DNS lookup utility
.SH SYNOPSIS .SH SYNOPSIS
.sp .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 .sp
\fBdig\fR [ \fB-h\fR ] \fBdig\fR [ \fB-h\fR ]
.sp .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 to test a name server that has been configured to listen for queries
on a non-standard port number. on a non-standard port number.
.PP .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 The \fB-t\fR option sets the query type to
\fItype\fR. It can be any valid query type which is \fItype\fR. It can be any valid query type which is
supported in BIND9. The default query type "A", unless the 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 \fB+[no]dnssec\fR
Requests DNSSEC records be sent by setting the DNSSEC OK bit (DO) Requests DNSSEC records be sent by setting the DNSSEC OK bit (DO)
in the OPT record in the additional section of the query. 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" .SH "MULTIPLE QUERIES"
.PP .PP
The BIND 9 implementation of \fBdig \fR supports The BIND 9 implementation of \fBdig \fR supports

View File

@ -15,7 +15,7 @@
- PERFORMANCE OF THIS SOFTWARE. - 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 <HTML
><HEAD ><HEAD
@ -120,6 +120,12 @@ CLASS="REPLACEABLE"
>name:key</I >name:key</I
></TT ></TT
></TT ></TT
>] [<TT
CLASS="OPTION"
>-4</TT
>] [<TT
CLASS="OPTION"
>-6</TT
>] [name] [type] [class] [queryopt...]</P >] [name] [type] [class] [queryopt...]</P
><P ><P
><B ><B
@ -138,7 +144,7 @@ CLASS="COMMAND"
><DIV ><DIV
CLASS="REFSECT1" CLASS="REFSECT1"
><A ><A
NAME="AEN51" NAME="AEN55"
></A ></A
><H2 ><H2
>DESCRIPTION</H2 >DESCRIPTION</H2
@ -203,7 +209,7 @@ are applied before the command line arguments.</P
><DIV ><DIV
CLASS="REFSECT1" CLASS="REFSECT1"
><A ><A
NAME="AEN68" NAME="AEN72"
></A ></A
><H2 ><H2
>SIMPLE USAGE</H2 >SIMPLE USAGE</H2
@ -300,7 +306,7 @@ CLASS="COMMAND"
><DIV ><DIV
CLASS="REFSECT1" CLASS="REFSECT1"
><A ><A
NAME="AEN97" NAME="AEN101"
></A ></A
><H2 ><H2
>OPTIONS</H2 >OPTIONS</H2
@ -371,6 +377,22 @@ on a non-standard port number.</P
><P ><P
>The <TT >The <TT
CLASS="OPTION" 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 >-t</TT
> option sets the query type to > option sets the query type to
<TT <TT
@ -516,7 +538,7 @@ CLASS="FILENAME"
><DIV ><DIV
CLASS="REFSECT1" CLASS="REFSECT1"
><A ><A
NAME="AEN147" NAME="AEN156"
></A ></A
><H2 ><H2
>QUERY OPTIONS</H2 >QUERY OPTIONS</H2
@ -1045,6 +1067,39 @@ CLASS="OPTION"
>Requests DNSSEC records be sent by setting the DNSSEC OK bit (DO) >Requests DNSSEC records be sent by setting the DNSSEC OK bit (DO)
in the OPT record in the additional section of the query.</P in the OPT record in the additional section of the query.</P
></DD ></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 ></DL
></DIV ></DIV
>&#13;</P >&#13;</P
@ -1052,7 +1107,7 @@ in the OPT record in the additional section of the query.</P
><DIV ><DIV
CLASS="REFSECT1" CLASS="REFSECT1"
><A ><A
NAME="AEN355" NAME="AEN380"
></A ></A
><H2 ><H2
>MULTIPLE QUERIES</H2 >MULTIPLE QUERIES</H2
@ -1136,7 +1191,7 @@ CLASS="LITERAL"
><DIV ><DIV
CLASS="REFSECT1" CLASS="REFSECT1"
><A ><A
NAME="AEN373" NAME="AEN398"
></A ></A
><H2 ><H2
>FILES</H2 >FILES</H2
@ -1154,7 +1209,7 @@ CLASS="FILENAME"
><DIV ><DIV
CLASS="REFSECT1" CLASS="REFSECT1"
><A ><A
NAME="AEN379" NAME="AEN404"
></A ></A
><H2 ><H2
>SEE ALSO</H2 >SEE ALSO</H2
@ -1188,7 +1243,7 @@ CLASS="CITETITLE"
><DIV ><DIV
CLASS="REFSECT1" CLASS="REFSECT1"
><A ><A
NAME="AEN392" NAME="AEN417"
></A ></A
><H2 ><H2
>BUGS </H2 >BUGS </H2

View File

@ -13,14 +13,14 @@
.\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR .\" OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
.\" PERFORMANCE OF THIS SOFTWARE. .\" 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" "" .TH "HOST" "1" "Jun 30, 2000" "BIND9" ""
.SH NAME .SH NAME
host \- DNS lookup utility host \- DNS lookup utility
.SH SYNOPSIS .SH SYNOPSIS
.sp .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" .SH "DESCRIPTION"
.PP .PP
\fBhost\fR \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 the name server. TCP will be automatically selected for queries that
require it, such as zone transfer (AXFR) requests. require it, such as zone transfer (AXFR) requests.
.PP .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. The \fB-t\fR option is used to select the query type.
\fItype\fR can be any recognised query type: CNAME, \fItype\fR can be any recognised query type: CNAME,
NS, SOA, SIG, KEY, AXFR, etc. When no query type is specified, NS, SOA, SIG, KEY, AXFR, etc. When no query type is specified,

View File

@ -15,7 +15,7 @@
- PERFORMANCE OF THIS SOFTWARE. - 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 <HTML
><HEAD ><HEAD
@ -99,12 +99,18 @@ CLASS="REPLACEABLE"
>wait</I >wait</I
></TT ></TT
></TT ></TT
>] [<TT
CLASS="OPTION"
>-4</TT
>] [<TT
CLASS="OPTION"
>-6</TT
>] {name} [server]</P >] {name} [server]</P
></DIV ></DIV
><DIV ><DIV
CLASS="REFSECT1" CLASS="REFSECT1"
><A ><A
NAME="AEN33" NAME="AEN37"
></A ></A
><H2 ><H2
>DESCRIPTION</H2 >DESCRIPTION</H2
@ -337,6 +343,22 @@ require it, such as zone transfer (AXFR) requests.</P
><P ><P
>The <TT >The <TT
CLASS="OPTION" 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 >-t</TT
> option is used to select the query type. > option is used to select the query type.
<TT <TT
@ -410,7 +432,7 @@ value for an integer quantity.</P
><DIV ><DIV
CLASS="REFSECT1" CLASS="REFSECT1"
><A ><A
NAME="AEN106" NAME="AEN115"
></A ></A
><H2 ><H2
>FILES</H2 >FILES</H2
@ -423,7 +445,7 @@ CLASS="FILENAME"
><DIV ><DIV
CLASS="REFSECT1" CLASS="REFSECT1"
><A ><A
NAME="AEN110" NAME="AEN119"
></A ></A
><H2 ><H2
>SEE ALSO</H2 >SEE ALSO</H2