⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dig.1

📁 bind 源码 最新实现 linux/unix/windows平台
💻 1
📖 第 1 页 / 共 2 页
字号:
Set the search list to contain the single domain\fIsomename\fR, as if specified in a\fBdomain\fRdirective in\fI/etc/resolv.conf\fR, and enable search list processing as if the\fI+search\fRoption were given..TP\fB+[no]search\fRUse [do not use] the search list defined by the searchlist or domain directive in\fIresolv.conf\fR(if any). The search list is not used by default..TP\fB+[no]defname\fRDeprecated, treated as a synonym for\fI+[no]search\fR.TP\fB+[no]aaonly\fRSets the "aa" flag in the query..TP\fB+[no]aaflag\fRA synonym for\fI+[no]aaonly\fR..TP\fB+[no]adflag\fRSet [do not set] the AD (authentic data) bit in the query. The AD bit currently has a standard meaning only in responses, not in queries, but the ability to set the bit in the query is provided for completeness..TP\fB+[no]cdflag\fRSet [do not set] the CD (checking disabled) bit in the query. This requests the server to not perform DNSSEC validation of responses..TP\fB+[no]cl\fRDisplay [do not display] the CLASS when printing the record..TP\fB+[no]ttlid\fRDisplay [do not display] the TTL when printing the record..TP\fB+[no]recurse\fRToggle the setting of the RD (recursion desired) bit in the query. This bit is set by default, which means\fBdig\fRnormally sends recursive queries. Recursion is automatically disabled when the\fI+nssearch\fRor\fI+trace\fRquery options are used..TP\fB+[no]nssearch\fRWhen this option is set,\fBdig\fRattempts 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..TP\fB+[no]trace\fRToggle 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\fRmakes 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..TP\fB+[no]cmd\fRtoggles the printing of the initial comment in the output identifying the version of\fBdig\fRand the query options that have been applied. This comment is printed by default..TP\fB+[no]short\fRProvide a terse answer. The default is to print the answer in a verbose form..TP\fB+[no]identify\fRShow [or do not show] the IP address and port number that supplied the answer when the\fI+short\fRoption 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..TP\fB+[no]comments\fRToggle the display of comment lines in the output. The default is to print comments..TP\fB+[no]stats\fRThis query option toggles 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..TP\fB+[no]qr\fRPrint [do not print] the query as it is sent. By default, the query is not printed..TP\fB+[no]question\fRPrint [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..TP\fB+[no]answer\fRDisplay [do not display] the answer section of a reply. The default is to display it..TP\fB+[no]authority\fRDisplay [do not display] the authority section of a reply. The default is to display it..TP\fB+[no]additional\fRDisplay [do not display] the additional section of a reply. The default is to display it..TP\fB+[no]all\fRSet or clear all display flags..TP\fB+time=T\fRSets the timeout for a query to\fIT\fRseconds. The default time out is 5 seconds. An attempt to set\fIT\fRto less than 1 will result in a query timeout of 1 second being applied..TP\fB+tries=T\fRSets the number of times to try UDP queries to server to\fIT\fRinstead of the default, 3. If\fIT\fRis less than or equal to zero, the number of tries is silently rounded up to 1..TP\fB+retry=T\fRSets the number of times to retry UDP queries to server to\fIT\fRinstead of the default, 2. Unlike\fI+tries\fR, this does not include the initial query..TP\fB+ndots=D\fRSet the number of dots that have to appear in\fIname\fRto\fID\fRfor it to be considered absolute. The default value is that defined using the ndots statement in\fI/etc/resolv.conf\fR, or 1 if no ndots statement is present. Names with fewer dots are interpreted as relative names and will be searched for in the domains listed in the\fBsearch\fRor\fBdomain\fRdirective in\fI/etc/resolv.conf\fR..TP\fB+bufsize=B\fRSet the UDP message buffer size advertised using EDNS0 to\fIB\fRbytes. The maximum and minimum sizes of this buffer are 65535 and 0 respectively. Values outside this range are rounded up or down appropriately..TP\fB+[no]multiline\fRPrint 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\fRoutput..TP\fB+[no]fail\fRDo not try the next server if you receive a SERVFAIL. The default is to not try the next server which is the reverse of normal stub resolver behaviour..TP\fB+[no]besteffort\fRAttempt to display the contents of messages which are malformed. The default is to not display malformed answers..TP\fB+[no]dnssec\fRRequests DNSSEC records be sent by setting the DNSSEC OK bit (DO) in the OPT record in the additional section of the query..TP\fB+[no]sigchase\fRChase DNSSEC signature chains. Requires dig be compiled with \-DDIG_SIGCHASE..TP\fB+trusted\-key=####\fRSpecifies a file containing trusted keys to be used with\fB+sigchase\fR. Each DNSKEY record must be on its own line..spIf not specified\fBdig\fRwill look for\fI/etc/trusted\-key.key\fRthen\fItrusted\-key.key\fRin the current directory..spRequires dig be compiled with \-DDIG_SIGCHASE..TP\fB+[no]topdown\fRWhen chasing DNSSEC signature chains perform a top down validation. Requires dig be compiled with \-DDIG_SIGCHASE..SH "MULTIPLE QUERIES".PPThe BIND 9 implementation of\fBdig \fRsupports specifying multiple queries on the command line (in addition to supporting the\fB\-f\fRbatch file option). Each of those queries can be supplied with its own set of flags, options and query options..PPIn this case, each\fIquery\fRargument 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..PPA 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\fRoption) can be overridden by a query\-specific set of query options. For example:.sp.nfdig +qr www.isc.org any \-x 127.0.0.1 isc.org ns +noqr.fi.spshows how\fBdig\fRcould be used from the command line to make three lookups: an ANY query forwww.isc.org, a reverse lookup of 127.0.0.1 and a query for the NS records ofisc.org. A global query option of\fI+qr\fRis applied, so that\fBdig\fRshows the initial query it made for each lookup. The final query has a local query option of\fI+noqr\fRwhich means that\fBdig\fRwill not print the initial query when it looks up the NS records forisc.org..SH "FILES".PP\fI/etc/resolv.conf\fR.PP\fI${HOME}/.digrc\fR.SH "SEE ALSO".PP\fBhost\fR(1),\fBnamed\fR(8),\fBdnssec\-keygen\fR(8),RFC1035..SH "BUGS ".PPThere are probably too many query options.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -