1 .\" @(#)drill.1 1.7.0 14-Jul-2004 OF;
2 .TH drill 1 "28 May 2006"
4 drill \- get (debug) information out of DNS(SEC)
22 \fBdrill\fR is a tool to designed to get all sorts of information out of the
23 DNS. It is specificly designed to be used with DNSSEC.
25 The name \fBdrill\fR is a pun on \fBdig\fR. With \fBdrill\fR you should be able
26 get even more information than with \fBdig\fR.
28 If no arguments are given class defaults to 'IN' and type to 'A'. The
29 server(s) specified in /etc/resolv.conf are used to query against.
37 Send to query to this server. If not specified use the nameservers from
38 \fI/etc/resolv.conf\fR.
42 Ask for this RR type. If type is not given on the command line it defaults
43 to 'A'. Except when doing to reverse lookup when it defaults to 'PTR'.
47 Use this class when querying.
50 \fBdrill mx miek.nl\fR
51 Show the MX records of the domain miek.nl
54 \fBdrill -S jelte.nlnetlabs.nl\fR
55 Chase any signatures in the jelte.nlnetlab.nl domain. This option is
56 only available when ldns has been compiled with openssl-support.
59 \fBdrill -TD www.example.com\fR
60 Do a DNSSEC (-D) trace (-T) from the rootservers down to www.example.com.
61 This option only works when ldns has been compiled with openssl support.
64 \fBdrill -s dnskey jelte.nlnetlabs.nl\fR
65 Show the DNSKEY record(s) for jelte.nlnetlabs.nl. For each found DNSKEY
66 record also print the DS record.
72 Enable DNSSEC in the query. When querying for DNSSEC types (DNSKEY, RRSIG,
73 DS and NSEC) this is \fInot\fR automaticly enabled.
77 Trace \fIname\fR from the root down. When using this option the @server and
78 the type arguments are not used.
82 Chase the signature(s) of 'name' to a known key or as high up in
87 Be more verbose. Set level to 5 to see the actual query that is sent.
91 Quiet mode, this overrules -V.
95 Read the query from a file. The query must be dumped with -w.
99 read the answer from the file instead from the network. This aids
100 in debugging and can be used to check if a query on disk is valid.
101 If the file contains binary data it is assumed to be a query in
106 Write an answer packet to file.
110 Write the query packet to file.
114 Show drill's version.
118 Show a short help message.
124 Stay on ip4. Only send queries to ip4 enabled nameservers.
128 Stay on ip6. Only send queries to ip6 enabled nameservers.
132 Use the resolver structure's fallback mechanism if the answer
133 is truncated (TC=1). If a truncated packet is received and this
134 option is set, drill will first send a new query with EDNS0
137 If the EDNS0 buffer size was already set to 512+ bytes, or the
138 above retry also results in a truncated answer, the resolver
139 structure will fall back to TCP.
143 Use size as the buffer size in the EDNS0 pseudo RR.
147 Use file instead of /etc/resolv.conf for nameserver configuration.
151 When tracing (-T), start from this domain instead of the root.
155 Use TCP/IP when querying a server
159 Use this file to read a (trusted) key from. When this options is
160 given \fBdrill\fR tries to validate the current answer with this
161 key. No chasing is done. When \fBdrill\fR is doing a secure trace, this
162 key will be used as trust anchor. Can contain a DNSKEY or a DS record.
165 \fB\-o \fImnemonic\fR
166 Use this option to set or unset specific header bits. A bit is
167 set by using the bit mnemonic in CAPITAL letters. A bit is unset when
168 the mnemonic is given in lowercase. The following mnemonics are
169 understood by \fBdrill\fR:
171 QR, qr: set, unset QueRy (default: on)
172 AA, aa: set, unset Authoritative Answer (default: off)
173 TC, tc: set, unset TrunCated (default: off)
174 RD, rd: set, unset Recursion Desired (default: on)
175 CD, cd: set, unset Checking Disabled (default: off)
176 RA, ra: set, unset Recursion Available (default: off)
177 AD, ad: set, unset Authenticated Data (default: off)
179 Thus: \fB-o CD\fR, will enable Checking Disabled, which instructs the
180 cache to not validate the answers it gives out.
184 Use this port instead of the default of 53.
188 When tracing (-T), use file as a root servers hint file.
192 When encountering a DNSKEY print the equivalent DS also.
196 Use UDP when querying a server. This is the default.
200 write the answer to a file. The file will contain a hexadecimal dump
201 of the query. This can be used in conjunction with -f.
205 Do a reverse loopup. The type argument is not used, it is preset to PTR.
208 \fB\-y \fI<name:key[:algo]>\fR
209 specify named base64 tsig key, and optional an algorithm (defaults to hmac-md5.sig-alg.reg.int)
213 don't randomize the nameserver list before sending queries.
217 Jelte Jansen and Miek Gieben. Both of NLnet Labs.
220 Report bugs to <ldns-team@nlnetlabs.nl>.
225 Copyright (c) 2004-2008 NLnet Labs.
226 Licensed under the revised BSD license. There is NO warranty; not even for MERCHANTABILITY or
227 FITNESS FOR A PARTICULAR PURPOSE.
230 \fBdig\fR(1), \fIRFC403{3,4,5}\fR.