Blame ahost.1

Packit 514978
.TH AHOST "1" "April 2011" "c-ares utilities"
Packit 514978
.SH NAME
Packit 514978
ahost \- print the A or AAAA record associated with a hostname or IP address
Packit 514978
.SH SYNOPSIS
Packit 514978
.B ahost
Packit 514978
[\fIOPTION\fR]... \fIHOST\fR...
Packit 514978
.SH DESCRIPTION
Packit 514978
.PP
Packit 514978
.\" Add any additional description here
Packit 514978
.PP
Packit 514978
Look up the DNS A or AAAA record associated with HOST (a hostname or an
Packit 514978
IP address).
Packit 514978
.PP
Packit 514978
This utility comes with the \fBc\-ares\fR asynchronous resolver library.
Packit 514978
.SH OPTIONS
Packit 514978
.TP
Packit 514978
\fB\-d\fR
Packit 514978
Print some extra debugging output.
Packit 514978
.TP
Packit 514978
\fB\-h\fR, \fB\-\-help\fR
Packit 514978
Display this help and exit.
Packit 514978
.TP
Packit 514978
\fB\-t\fR type
Packit 514978
If type is "a", print the A record (default).
Packit 514978
If type is "aaaa", print the AAAA record.
Packit 514978
If type is "u", look for either AAAA or A record (in that order).
Packit 514978
.TP
Packit 514978
\fB\-s\fR \fIdomain\fP
Packit 514978
Specify the \fIdomain\fP to search instead of using the default values from
Packit 514978
.br
Packit 514978
/etc/resolv.conf. This option only has an effect on platforms that use
Packit 514978
.br
Packit 514978
/etc/resolv.conf
Packit 514978
for DNS configuration; it has no effect on other platforms (such as Win32
Packit 514978
or Android).
Packit 514978
.SH "REPORTING BUGS"
Packit 514978
Report bugs to the c-ares mailing list:
Packit 514978
\fBhttp://cool.haxx.se/mailman/listinfo/c-ares\fR
Packit 514978
.SH "SEE ALSO"
Packit 514978
.PP
Packit 514978
acountry(1), adig(1).
Packit 514978
.SH COPYRIGHT
Packit 514978
This utility is based on code/ideas contained in sofware written by Greg Hudson (ares)
Packit 514978
carrying the following notice:
Packit 514978
.br
Packit 514978
Copyright 1998 by the Massachusetts Institute of Technology.
Packit 514978
.br
Packit 514978
Permission to use, copy, modify, and distribute this software and its
Packit 514978
documentation for any purpose and without fee is hereby granted,
Packit 514978
provided that the above copyright notice appear in all copies and that
Packit 514978
both that copyright notice and this permission notice appear in
Packit 514978
supporting documentation, and that the name of M.I.T. not be used in
Packit 514978
advertising or publicity pertaining to distribution of the software
Packit 514978
without specific, written prior permission. M.I.T. makes no
Packit 514978
representations about the suitability of this software for any
Packit 514978
purpose. It is provided "as is" without express or implied warranty.
Packit 514978
.br
Packit 514978
No further copyright claims are being made by the author(s) of this utility.