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