ares_inet_ntop.3: s/socklen_t/ares_socklen_t
[platform/upstream/c-ares.git] / adig.1
1 .TH ADIG "1" "April 2011" "c-ares utilities"
2 .SH NAME
3 adig \- print information collected from Domain Name System (DNS) servers
4 .SH SYNOPSIS
5 .B adig
6 [\fIOPTION\fR]... \fINAME\fR...
7 .SH DESCRIPTION
8 .PP
9 .\" Add any additional description here
10 .PP
11 Send queries to DNS servers about \fINAME\fR and print received
12 information, where \fINAME\fR is a valid DNS name (e.g. www.example.com,
13 1.2.3.10.in-addr.arpa).
14 .PP
15 This utility comes with the \fBc\-ares\fR asynchronous resolver library.
16 .SH OPTIONS
17 .TP
18 \fB\-c\fR class
19 Set the query class.
20 Possible values for class are
21 NY, CHAOS, HS, IN (default).
22 .TP
23 \fB\-d\fR
24 Print some extra debugging output.
25 .TP
26 \fB\-f\fR flag
27 Add a flag.
28 Possible values for flag are
29 igntc, noaliases, norecurse, primary, stayopen, usevc.
30 .TP
31 \fB\-h\fR, \fB\-\-help\fR
32 Display this help and exit.
33 .TP
34 \fB\-T\fR port
35 Use specified TCP port to connect to DNS server.
36 .TP
37 \fB\-s\fR server
38 Connect to specified DNS server, instead of the system's default one(s).
39 .TP
40 \fB\-t\fR type
41 Query records of specified type.
42 Possible values for type are
43 A (default), AAAA, AFSDB, ANY, AXFR, CNAME, GPOS, HINFO, ISDN, KEY, LOC, MAILA,
44 MAILB, MB, MD, MF, MG, MINFO, MR, MX, NAPTR, NS, NSAP, NSAP_PTR, NULL,
45 PTR, PX, RP, RT, SIG, SOA, SRV, TXT, WKS, X25,
46 .TP
47 \fB\-U\fR port
48 Use specified UDP port to connect to DNS server.
49 .SH "REPORTING BUGS"
50 Report bugs to the c-ares mailing list:
51 \fBhttp://cool.haxx.se/mailman/listinfo/c-ares\fR
52 .SH "SEE ALSO"
53 .PP
54 acountry(1), ahost(1).
55 .SH COPYRIGHT
56 This utility is based on code/ideas contained in sofware written by Greg Hudson (ares)
57 carrying the following notice:
58 .br
59 Copyright 1998 by the Massachusetts Institute of Technology.
60 .br
61 Permission to use, copy, modify, and distribute this software and its
62 documentation for any purpose and without fee is hereby granted,
63 provided that the above copyright notice appear in all copies and that
64 both that copyright notice and this permission notice appear in
65 supporting documentation, and that the name of M.I.T. not be used in
66 advertising or publicity pertaining to distribution of the software
67 without specific, written prior permission. M.I.T. makes no
68 representations about the suitability of this software for any
69 purpose. It is provided "as is" without express or implied warranty.
70 .br
71 No further copyright claims are being made by the author(s) of this utility.