components/bind/Solaris/dig.8
author Rich Burridge <rich.burridge@oracle.com>
Mon, 19 Oct 2015 15:36:51 -0700
changeset 4980 b0ec15659025
parent 4438 components/bind/Solaris/dig.1m@5c17d084f39b
child 5768 e6d4e608e866
permissions -rw-r--r--
PSARC 2015/428 Normalization of Solaris man page section numbers 22043584 Normalize bind man pages
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4438
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     1
'\" te
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     2
.\" Copyright (C) 2010 Internet Systems Consortium, Inc. ("ISC")
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     3
.\" Permission to use, copy, modify, and/or distribute this software for any purpose  with or without fee is hereby granted, provided that the above copyright notice  and this permission notice appear in all copies.  THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF  MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL,  DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING  FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE  USE OR PERFORMANCE OF THIS SOFTWARE.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     4
.\" Portions Copyright (c) 2010, Sun Microsystems, Inc. All Rights Reserved.
4980
b0ec15659025 PSARC 2015/428 Normalization of Solaris man page section numbers
Rich Burridge <rich.burridge@oracle.com>
parents: 4438
diff changeset
     5
.TH dig 8 "19 Oct 2015" "SunOS 5.12" "System Administration Commands"
4438
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     6
.SH NAME
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     7
dig \- DNS lookup utility
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     8
.SH SYNOPSIS
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
     9
.LP
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    10
.nf
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    11
\fBdig\fR [@server] [\fB-b\fR \fIaddress\fR] [\fB-c\fR \fIclass\fR] [\fB-f\fR \fIfilename\fR] 
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    12
     [\fB-k\fR \fIfilename\fR] [\fB-m\fR] [\fB-p\fR \fIport#\fR] [\fB-q\fR \fIname\fR] [\fB-t\fR \fItype\fR] [\fB-x\fR \fIaddr\fR] 
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    13
     [\fB-y\fR [\fIhmac\fR:]\fIname:key\fR] [\fB-4\fR] [\fB-6\fR] [\fIname\fR] [\fItype\fR] [\fIclass\fR] [\fIqueryopt\fR]...
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    14
.fi
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    15
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    16
.LP
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    17
.nf
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    18
\fBdig\fR [\fB-h\fR]
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    19
.fi
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    20
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    21
.LP
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    22
.nf
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    23
\fBdig\fR [\fIglobal-queryopt\fR...] [\fIquery\fR...]
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    24
.fi
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    25
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    26
.SH DESCRIPTION
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    27
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    28
.LP
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    29
The \fBdig\fR utility (domain information groper) is a flexible tool for interrogating DNS name servers. It performs DNS lookups and displays the answers that are returned from the name server(s) that were queried. Most DNS administrators use \fBdig\fR to troubleshoot DNS problems because of its flexibility, ease of use and clarity of output. Other lookup tools tend to have less functionality than \fBdig\fR.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    30
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    31
.LP
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    32
Although \fBdig\fR is normally used with command-line arguments, it also 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 the \fB-h\fR option is specified. Unlike earlier versions, the BIND 9 implementation of \fBdig\fR allows multiple lookups to be issued from the command line.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    33
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    34
.LP
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    35
Unless it is told to query a specific name server, \fBdig\fR tries each of the servers listed in \fB/etc/resolv.conf\fR.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    36
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    37
.LP
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    38
When no command line arguments or options are given, \fBdig\fR performs an NS query for "." (the root).
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    39
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    40
.LP
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    41
It is possible to set per-user defaults for \fBdig\fR with \fB${HOME}/.digrc\fR. This file is read and any options in it are applied before the command line arguments.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    42
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    43
.LP
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    44
The \fBIN\fR and \fBCH\fR class names overlap with the \fBIN\fR and \fBCH\fR top level domains names. Either use the \fB-t\fR and \fB-c\fR options to specify the type and class, or use \fB"IN."\fR and \fB"CH."\fR when looking up these top level domains.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    45
.SS "Simple Usage"
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    46
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    47
.LP
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    48
The following is a typical invocation of \fBdig\fR:
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    49
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    50
.in +2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    51
.nf
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    52
dig @server name type 
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    53
.fi
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    54
.in -2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    55
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    56
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    57
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    58
.LP
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    59
where:
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    60
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    61
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    62
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    63
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    64
\fB\fIserver\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    65
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    66
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    67
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    68
The name or IP address of the name server to query. This can be an IPv4 address in dotted-decimal notation or an IPv6 address in colon-delimited notation. When the supplied \fIserver\fR argument is a hostname, \fBdig\fR resolves that name before querying that name server. If no \fIserver\fR argument is provided, \fBdig\fR consults \fB/etc/resolv.conf\fR and queries the name servers listed there. The reply from the name server that responds is displayed.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    69
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    70
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    71
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    72
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    73
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    74
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    75
\fB\fIname\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    76
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    77
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    78
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    79
The name of the resource record that is to be looked up.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    80
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    81
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    82
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    83
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    84
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    85
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    86
\fB\fItype\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    87
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    88
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    89
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    90
Indicates what type of query is required (ANY, A, MX, SIG, among others.) \fItype\fR can be any valid query type. If no \fItype\fR argument is supplied, \fBdig\fR performs a lookup for an A record.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    91
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    92
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    93
.SH OPTIONS
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    94
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    95
.LP
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    96
The following options are supported:
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    97
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    98
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
    99
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   100
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   101
\fB\fB-4\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   102
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   103
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   104
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   105
Use only IPv4 transport. By default both IPv4 and IPv6 transports can be used. Options \fB-4\fR and \fB-6\fR are mutually exclusive.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   106
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   107
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   108
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   109
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   110
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   111
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   112
\fB\fB-6\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   113
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   114
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   115
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   116
Use only IPv6 transport. By default both IPv4 and IPv6 transports can be used. Options \fB-4\fR and \fB-6\fR are mutually exclusive.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   117
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   118
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   119
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   120
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   121
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   122
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   123
\fB\fB-b\fR \fIaddress\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   124
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   125
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   126
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   127
Set the source IP address of the query to \fIaddress\fR. This must be a valid address on one of the host's network interfaces or \fB0.0.0.0\fR or \fB::\fR. An optional port may be specified by appending: \fB#\fR\fI<port>\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   128
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   129
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   130
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   131
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   132
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   133
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   134
\fB\fB-c\fR \fIclass\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   135
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   136
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   137
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   138
Override the default query class (IN for internet). The \fIclass\fR argument is any valid class, such as HS for Hesiod records or CH for CHAOSNET records.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   139
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   140
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   141
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   142
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   143
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   144
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   145
\fB\fB-f\fR \fIfilename\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   146
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   147
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   148
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   149
Operate in batch mode by reading a list of lookup requests to process from the file \fIfilename\fR. 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 to \fBdig\fR using the command-line interface.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   150
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   151
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   152
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   153
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   154
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   155
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   156
\fB\fB-h\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   157
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   158
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   159
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   160
Print a brief summary of command-line arguments and options.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   161
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   162
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   163
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   164
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   165
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   166
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   167
\fB\fB-k\fR \fIfilename\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   168
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   169
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   170
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   171
Specify a transaction signature (TSIG) key file to sign the DNS queries sent by \fBdig\fR and their responses using TSIGs.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   172
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   173
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   174
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   175
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   176
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   177
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   178
\fB\fB-m\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   179
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   180
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   181
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   182
Enable memory usage debugging.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   183
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   184
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   185
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   186
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   187
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   188
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   189
\fB\fB-p\fR \fIport#\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   190
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   191
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   192
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   193
Query a non-standard port number. The \fIport#\fR argument is the port number that \fBdig\fR sends its queries instead of the standard DNS port number 53. This option tests a name server that has been configured to listen for queries on a non-standard port number.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   194
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   195
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   196
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   197
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   198
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   199
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   200
\fB\fB-q\fR \fIname\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   201
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   202
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   203
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   204
Sets the query name to \fIname\fR. This can be useful in that the query name can be easily distinguished from other arguments.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   205
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   206
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   207
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   208
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   209
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   210
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   211
\fB\fB-t\fR \fItype\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   212
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   213
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   214
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   215
Set the query type to \fItype\fR, which can be any valid query type supported in BIND9. The default query type "A", unless the \fB-x\fR option is supplied to indicate a reverse lookup. A zone transfer can be requested by specifying a type of AXFR. When an incremental zone transfer (IXFR) is required, \fItype\fR is set to \fBixfr\fR=\fIN\fR. The incremental zone transfer will contain the changes made to the zone since the serial number in the zone's SOA record was \fIN\fR.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   216
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   217
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   218
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   219
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   220
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   221
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   222
\fB\fB-x\fR \fIaddr\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   223
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   224
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   225
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   226
Simplify reverse lookups (mapping addresses to names ). The \fIaddr\fR argument is an IPv4 address in dotted-decimal notation, or a colon-delimited IPv6 address. When this option is used, there is no need to provide the \fIname\fR, \fIclass\fR and \fItype\fR arguments. The \fBdig\fR utility automatically performs a lookup for a name like \fB11.12.13.10.in-addr.arpa\fR and 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 domain. To use the older RFC1886 method using the IP6.INT domain, specify the \fB-i\fR option. Bit string labels (RFC 2874) are now experimental and are not attempted.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   227
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   228
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   229
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   230
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   231
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   232
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   233
\fB\fB-y\fR [\fIhmac\fR:]\fIname\fR:\fIkey\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   234
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   235
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   236
.RS 4n
4980
b0ec15659025 PSARC 2015/428 Normalization of Solaris man page section numbers
Rich Burridge <rich.burridge@oracle.com>
parents: 4438
diff changeset
   237
Specify a transaction signature (TSIG) key on the command line. This is done to sign the DNS queries sent by \fBdig\fR, as well as their responses. You can also specify the TSIG key itself on the command line using the \fB-y\fR option. The optional \fIhmac\fR is the type of TSIG; the default is \fBHMAC-MD5\fR. The \fIname\fR argument is the name of the TSIG key and the \fIkey\fR argument is the actual key. The key is a base-64 encoded string, typically generated by \fBdnssec-keygen\fR(8). 
4438
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   238
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   239
Caution should be taken when using the \fB-y\fR option on multi-user systems, since the key can be visible in the output from \fBps\fR(1) or in the shell's history file. When using TSIG authentication with \fBdig\fR, the name server that is queried needs to know the key and algorithm that is being used. In BIND, this is done by providing appropriate \fBkey\fR and \fBserver\fR statements in \fBnamed.conf\fR.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   240
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   241
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   242
.SH QUERY OPTIONS
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   243
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   244
.LP
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   245
The \fBdig\fR utility provides a number of query options which affect the way in which lookups are made and the results displayed. Some of these set or reset flag bits in the query header, some determine which sections of the answer get printed, and others determine the timeout and retry strategies.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   246
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   247
.LP
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   248
Each query option is identified by a keyword preceded by a plus sign (+). Some keywords set or reset an option. These may be preceded by the string no to negate the meaning of that keyword. Other keywords assign values to options like the timeout interval. They have the form \fB+keyword=\fR\fIvalue\fR. The query options are:
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   249
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   250
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   251
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   252
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   253
\fB\fB+[no]tcp\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   254
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   255
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   256
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   257
Use [do not use] TCP when querying name servers. The default behaviour is to use UDP unless an AXFR or IXFR query is requested, in which case a TCP connection is used.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   258
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   259
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   260
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   261
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   262
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   263
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   264
\fB\fB+[no]vc\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   265
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   266
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   267
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   268
Use [do not use] TCP when querying name servers. This alternate syntax to \fB+[no]tcp\fR is provided for backwards compatibility. The "vc" stands for "virtual circuit".
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   269
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   270
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   271
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   272
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   273
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   274
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   275
\fB\fB+[no]ignore\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   276
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   277
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   278
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   279
Ignore truncation in UDP responses instead of retrying with TCP. By default, TCP retries are performed.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   280
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   281
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   282
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   283
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   284
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   285
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   286
\fB\fB+domain=\fR\fIsomename\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   287
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   288
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   289
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   290
Set the search list to contain the single domain \fIsomename\fR, as if specified in a \fBdomain\fR directive in \fB/etc/resolv.conf\fR, and enable search list processing as if the \fB+search\fR option were given.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   291
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   292
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   293
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   294
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   295
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   296
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   297
\fB\fB+[no]search\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   298
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   299
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   300
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   301
Use [do not use] the search list defined by the \fBsearchlist\fR or \fBdomain\fR directive in \fBresolv.conf\fR (if any). The search list is not used by default.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   302
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   303
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   304
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   305
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   306
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   307
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   308
\fB\fB+[no]showsearch\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   309
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   310
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   311
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   312
Perform [do not perform] a search showing intermediate results.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   313
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   314
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   315
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   316
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   317
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   318
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   319
\fB\fB+[no]defname\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   320
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   321
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   322
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   323
Deprecated, treated as a synonym for \fB+[no]search\fR.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   324
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   325
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   326
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   327
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   328
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   329
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   330
\fB\fB+[no]aaonly\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   331
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   332
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   333
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   334
Sets the \fBaa\fR flag in the query.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   335
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   336
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   337
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   338
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   339
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   340
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   341
\fB\fB+[no]aaflag\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   342
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   343
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   344
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   345
A synonym for \fB+[no]aaonly\fR.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   346
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   347
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   348
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   349
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   350
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   351
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   352
\fB\fB+[no]adflag\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   353
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   354
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   355
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   356
Set [do not set] the AD (authentic data) bit in the query. This requests that the server return, regardless of whether all of the answer and authority sections have all been validated as secure according to the security policy of the server. A setting of \fBAD=1\fR indicates that all records have been validated as secure and the answer is not from an \fBOPT-OUT\fR range. \fBAD=0\fR indicates that some part of the answer is insecure or not validated.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   357
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   358
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   359
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   360
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   361
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   362
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   363
\fB\fB+[no]cdflag\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   364
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   365
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   366
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   367
Set [do not set] the CD (checking disabled) bit in the query. This requests the server to not perform DNSSEC validation of responses.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   368
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   369
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   370
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   371
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   372
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   373
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   374
\fB\fB+[no]cl\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   375
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   376
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   377
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   378
Display [do not display] the CLASS when printing the record.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   379
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   380
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   381
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   382
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   383
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   384
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   385
\fB\fB+[no]ttlid\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   386
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   387
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   388
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   389
Display [do not display] the TTL when printing the record.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   390
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   391
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   392
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   393
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   394
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   395
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   396
\fB\fB+[no]recurse\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   397
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   398
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   399
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   400
Toggle the setting of the RD (recursion desired) bit in the query. This bit is set by default, which means \fBdig\fR normally sends recursive queries. Recursion is automatically disabled when the \fB+nssearch\fR or \fB+trace\fR query options are used.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   401
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   402
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   403
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   404
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   405
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   406
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   407
\fB\fB+[no]nssearch\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   408
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   409
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   410
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   411
When this option is set, \fBdig\fR attempts to find the authoritative name servers for the zone containing the name being looked up and display the SOA record that each name server has for the zone.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   412
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   413
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   414
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   415
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   416
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   417
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   418
\fB\fB+[no]trace\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   419
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   420
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   421
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   422
Toggle tracing of the delegation path from the root name servers for the name being looked up. Tracing is disabled by default. When tracing is enabled, \fBdig\fR makes iterative queries to resolve the name being looked up. It will follow referrals from the root servers, showing the answer from each server that was used to resolve the lookup.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   423
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   424
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   425
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   426
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   427
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   428
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   429
\fB\fB+[no]cmd\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   430
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   431
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   432
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   433
Toggle the printing of the initial comment in the output identifying the version of \fBdig\fR and the query options that have been applied. This comment is printed by default.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   434
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   435
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   436
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   437
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   438
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   439
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   440
\fB\fB+[no]short\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   441
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   442
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   443
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   444
Provide a terse answer. The default is to print the answer in a verbose form.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   445
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   446
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   447
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   448
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   449
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   450
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   451
\fB\fB+[no]identify\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   452
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   453
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   454
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   455
Show [or do not show] the IP address and port number that supplied the answer when the +\fIshort\fR option is enabled. If short form answers are requested, the default is not to show the source address and port number of the server that provided the answer.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   456
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   457
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   458
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   459
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   460
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   461
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   462
\fB\fB+[no]comments\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   463
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   464
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   465
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   466
Toggle the display of comment lines in the output. The default is to print comments.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   467
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   468
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   469
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   470
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   471
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   472
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   473
\fB\fB+[no]stats\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   474
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   475
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   476
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   477
Toggle the printing of statistics: when the query was made, the size of the reply and so on. The default behaviour is to print the query statistics.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   478
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   479
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   480
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   481
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   482
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   483
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   484
\fB\fB+[no]qr\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   485
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   486
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   487
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   488
Print [do not print] the query as it is sent. By default, the query is not printed.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   489
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   490
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   491
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   492
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   493
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   494
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   495
\fB\fB+[no]question\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   496
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   497
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   498
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   499
Print [do not print] the question section of a query when an answer is returned. The default is to print the question section as a comment.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   500
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   501
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   502
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   503
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   504
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   505
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   506
\fB\fB+[no]answer\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   507
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   508
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   509
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   510
Display [do not display] the answer section of a reply. The default is to display it.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   511
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   512
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   513
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   514
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   515
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   516
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   517
\fB\fB+[no]authority\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   518
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   519
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   520
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   521
Display [do not display] the authority section of a reply. The default is to display it.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   522
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   523
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   524
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   525
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   526
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   527
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   528
\fB\fB+[no]additional\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   529
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   530
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   531
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   532
Display [do not display] the additional section of a reply. The default is to display it.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   533
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   534
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   535
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   536
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   537
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   538
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   539
\fB\fB+[no]all\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   540
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   541
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   542
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   543
Set or clear all display flags.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   544
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   545
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   546
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   547
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   548
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   549
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   550
\fB\fB+time=\fR\fIT\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   551
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   552
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   553
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   554
Sets the timeout for a query to \fIT\fR seconds. The default time out is 5 seconds. An attempt to set \fIT\fR to less than 1 will result in a query timeout of 1 second being applied.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   555
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   556
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   557
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   558
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   559
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   560
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   561
\fB\fB+tries=\fR\fIT\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   562
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   563
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   564
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   565
Sets the maximum number of UDP attempts to \fIT\fR. The default number is 3 (1 initial attempt followed by 2 retries). If T is less than or equal to zero, the number of retries is silently rounded up to 1.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   566
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   567
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   568
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   569
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   570
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   571
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   572
\fB\fB+retry=\fR\fIT\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   573
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   574
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   575
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   576
Sets the number of UDP retries to \fIT\fR. The default is 2.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   577
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   578
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   579
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   580
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   581
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   582
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   583
\fB\fB+ndots=\fR\fID\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   584
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   585
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   586
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   587
Set the number of dots that have to appear in \fIname\fR to \fID\fR for it to be considered absolute. The default value is that defined using the \fBndots\fR statement in \fB/etc/resolv.conf\fR, or 1 if no \fBndots\fR statement is present. Names with fewer dots are interpreted as relative names and will be searched for in the domains listed in the \fBsearch\fR or \fBdomain\fR directive in \fB/etc/resolv.conf\fR.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   588
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   589
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   590
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   591
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   592
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   593
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   594
\fB\fB+bufsize=\fR\fIB\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   595
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   596
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   597
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   598
Set the UDP message buffer size advertised using EDNS0 to \fIB\fR bytes. The maximum and minimum sizes of this buffer are 65535 and 0 respectively. Values outside this range are rounded up or down appropriately.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   599
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   600
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   601
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   602
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   603
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   604
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   605
\fB\fB+edns=\fR\fI#\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   606
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   607
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   608
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   609
Specify the EDNS version with which to query. Valid values are 0 to 255. Setting the EDNS version causes a EDNS query to be sent. \fB+noedns\fR clears the remembered EDNS version.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   610
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   611
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   612
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   613
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   614
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   615
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   616
\fB\fB+[no]multiline\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   617
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   618
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   619
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   620
Print records like the SOA records in a verbose multi-line format with human-readable comments. The default is to print each record on a single line, to facilitate machine parsing of the \fBdig\fR output.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   621
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   622
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   623
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   624
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   625
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   626
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   627
\fB\fB+[no]fail\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   628
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   629
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   630
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   631
Do not try the next server if you receive a \fBSERVFAIL\fR. The default is to not try the next server which is the reverse of normal stub resolver behavior.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   632
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   633
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   634
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   635
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   636
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   637
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   638
\fB\fB+[no]besteffort\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   639
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   640
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   641
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   642
Attempt to display the contents of messages which are malformed. The default is to not display malformed answers.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   643
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   644
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   645
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   646
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   647
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   648
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   649
\fB\fB+[no]dnssec\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   650
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   651
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   652
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   653
Request DNSSEC records be sent by setting the DNSSEC OK bit (DO) in the OPT record in the additional section of the query.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   654
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   655
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   656
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   657
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   658
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   659
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   660
\fB\fB+[no]sigchase\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   661
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   662
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   663
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   664
Chase DNSSEC signature chains. Requires \fBdig\fR be compiled with \fB-DDIG_SIGCHASE\fR.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   665
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   666
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   667
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   668
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   669
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   670
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   671
\fB\fB+trusted-key=\fR####\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   672
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   673
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   674
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   675
Specifies a file containing trusted keys to be used with \fB+sigchase\fR. Each \fBDNSKEY\fR record must be on its own line.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   676
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   677
If not specified dig will look for \fB/etc/trusted-key.key\fR then \fBtrusted-key.key\fR in the current directory.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   678
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   679
Requires \fBdig\fR be compiled with \fB-DDIG_SIGCHASE\fR.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   680
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   681
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   682
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   683
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   684
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   685
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   686
\fB\fB+[no]topdown\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   687
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   688
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   689
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   690
When chasing DNSSEC signature chains, perform a top-down validation. Requires \fBdig\fR be compiled with \fB-DDIG_SIGCHASE\fR.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   691
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   692
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   693
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   694
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   695
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   696
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   697
\fB\fB+[no]nsid\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   698
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   699
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   700
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   701
Include an EDNS name server ID request when sending a query.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   702
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   703
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   704
.SH MULTIPLE QUERIES
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   705
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   706
.LP
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   707
The BIND 9 implementation of \fBdig\fR supports specifying multiple queries on the command line (in addition to supporting the \fB-f\fR batch file option). Each of those queries can be supplied with its own set of flags, options and query options.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   708
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   709
.LP
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   710
In this case, each \fIquery\fR argument represent an individual query in 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 type, and class and any query options that should be applied to that query.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   711
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   712
.LP
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   713
A global set of query options, which should be applied to all queries, can also be supplied. These global query options must precede the first tuple of name, class, type, options, flags, and query options supplied on the command line. Any global query options (except the \fB+[no]cmd\fR option) can be overridden by a query-specific set of query options. For example:
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   714
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   715
.in +2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   716
.nf
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   717
dig +qr www.isc.org any -x 127.0.0.1 isc.org ns +noqr
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   718
.fi
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   719
.in -2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   720
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   721
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   722
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   723
.LP
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   724
\&...shows how \fBdig\fR could be used from the command line to make three lookups: an ANY query for \fBwww.isc.org\fR, a reverse lookup of 127.0.0.1 and a query for the NS records of \fBisc.org\fR. A global query option of \fB+qr\fR is applied, so that \fBdig\fR shows the initial query it made for each lookup. The final query has a local query option of \fB+noqr\fR which means that \fBdig\fR will not print the initial query when it looks up the NS records for \fBisc.org\fR.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   725
.SH FILES
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   726
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   727
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   728
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   729
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   730
\fB\fB/etc/resolv.conf\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   731
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   732
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   733
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   734
Resolver configuration file
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   735
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   736
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   737
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   738
.ne 2
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   739
.mk
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   740
.na
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   741
\fB\fB${HOME}/.digrc\fR\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   742
.ad
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   743
.sp .6
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   744
.RS 4n
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   745
User-defined configuration file
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   746
.RE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   747
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   748
.SH ATTRIBUTES
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   749
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   750
.LP
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   751
See \fBattributes\fR(5) for descriptions of the following attributes:
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   752
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   753
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   754
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   755
.TS
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   756
tab() box;
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   757
cw(2.75i) |cw(2.75i) 
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   758
lw(2.75i) |lw(2.75i) 
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   759
.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   760
ATTRIBUTE TYPEATTRIBUTE VALUE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   761
_
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   762
Availabilitynetwork/dns/bind
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   763
_
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   764
Interface StabilityVolatile
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   765
.TE
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   766
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   767
.SH SEE ALSO
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   768
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   769
.LP
4980
b0ec15659025 PSARC 2015/428 Normalization of Solaris man page section numbers
Rich Burridge <rich.burridge@oracle.com>
parents: 4438
diff changeset
   770
\fBdnssec-keygen\fR(8), \fBhost\fR(8), \fBnamed\fR(8), \fBnslookup\fR(8), \fBattributes\fR(5)
4438
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   771
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   772
.LP
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   773
\fIRFC 1035\fR
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   774
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   775
.LP
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   776
See the BIND 9 \fIAdministrator's Reference Manual\fR. As of the date of publication of this man page, this document is available at https://www.isc.org/software/bind/documentation\&.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   777
.SH BUGS
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   778
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   779
.LP
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   780
There are probably too many query options.
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   781
.SH NOTES
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   782
.sp
5c17d084f39b 21210415 add several BIND man pages to Userland
John Beck <John.Beck@Oracle.COM>
parents:
diff changeset
   783
.LP
4980
b0ec15659025 PSARC 2015/428 Normalization of Solaris man page section numbers
Rich Burridge <rich.burridge@oracle.com>
parents: 4438
diff changeset
   784
\fBnslookup\fR(8) and \fBdig\fR now report "Not Implemented" as \fBNOTIMP\fR rather  than \fBNOTIMPL\fR. This will have impact on scripts that are looking for \fBNOTIMPL\fR.