ares_private.h: use curl_memdebug.h instead of memdebug.h
[platform/upstream/c-ares.git] / ahost.1
1 .TH AHOST "1" "April 2011" "c-ares utilities"
2 .SH NAME
3 ahost \- print the A or AAAA record associated with a hostname or IP address
4 .SH SYNOPSIS
5 .B ahost
6 [\fIOPTION\fR]... \fIHOST\fR...
7 .SH DESCRIPTION
8 .PP
9 .\" Add any additional description here
10 .PP
11 Look up the DNS A or AAAA record associated with HOST (a hostname or an
12 IP address).
13 .PP
14 This utility comes with the \fBc\-ares\fR asynchronous resolver library.
15 .SH OPTIONS
16 .TP
17 \fB\-d\fR
18 Print some extra debugging output.
19 .TP
20 \fB\-h\fR, \fB\-\-help\fR
21 Display this help and exit.
22 .TP
23 \fB\-t\fR type
24 If type is "aa", print the A record (default).
25 If type is "aaaa", print the AAAA record.
26 .SH "REPORTING BUGS"
27 Report bugs to the c-ares mailing list:
28 \fBhttp://cool.haxx.se/mailman/listinfo/c-ares\fR
29 .SH "SEE ALSO"
30 .PP
31 acountry(1), adig(1).
32 .SH COPYRIGHT
33 This utility is based on code/ideas contained in sofware written by Greg Hudson (ares)
34 carrying the following notice:
35 .br
36 Copyright 1998 by the Massachusetts Institute of Technology.
37 .br
38 Permission to use, copy, modify, and distribute this software and its
39 documentation for any purpose and without fee is hereby granted,
40 provided that the above copyright notice appear in all copies and that
41 both that copyright notice and this permission notice appear in
42 supporting documentation, and that the name of M.I.T. not be used in
43 advertising or publicity pertaining to distribution of the software
44 without specific, written prior permission. M.I.T. makes no
45 representations about the suitability of this software for any
46 purpose. It is provided "as is" without express or implied warranty.
47 .br
48 No further copyright claims are being made by the author(s) of this utility.