annotate CSP2/CSP2_env/env-d9b9114564458d9d-741b3de822f2aaca6c6caa4325c4afce/share/man/man1/ahost.1 @ 68:5028fdace37b

planemo upload commit 2e9511a184a1ca667c7be0c6321a36dc4e3d116d
author jpayne
date Tue, 18 Mar 2025 16:23:26 -0400
parents
children
rev   line source
jpayne@68 1 .\"
jpayne@68 2 .\" Copyright (C) the Massachusetts Institute of Technology.
jpayne@68 3 .\" Copyright (C) Daniel Stenberg
jpayne@68 4 .\" SPDX-License-Identifier: MIT
jpayne@68 5 .\"
jpayne@68 6 .TH AHOST "1" "April 2011" "c-ares utilities"
jpayne@68 7 .SH NAME
jpayne@68 8 ahost \- print the A or AAAA record associated with a hostname or IP address
jpayne@68 9 .SH SYNOPSIS
jpayne@68 10 .B ahost
jpayne@68 11 [\fIOPTION\fR]... \fIHOST\fR...
jpayne@68 12 .SH DESCRIPTION
jpayne@68 13 .PP
jpayne@68 14 .\" Add any additional description here
jpayne@68 15 .PP
jpayne@68 16 Look up the DNS A or AAAA record associated with HOST (a hostname or an
jpayne@68 17 IP address).
jpayne@68 18 .PP
jpayne@68 19 This utility comes with the \fBc\-ares\fR asynchronous resolver library.
jpayne@68 20 .SH OPTIONS
jpayne@68 21 .TP
jpayne@68 22 \fB\-d\fR
jpayne@68 23 Print some extra debugging output.
jpayne@68 24 .TP
jpayne@68 25 \fB\-h\fR, \fB\-?\fR
jpayne@68 26 Display this help and exit.
jpayne@68 27 .TP
jpayne@68 28 \fB\-t\fR type
jpayne@68 29 If type is "a", print the A record.
jpayne@68 30 If type is "aaaa", print the AAAA record.
jpayne@68 31 If type is "u", look for both AAAA and A records (default).
jpayne@68 32 .TP
jpayne@68 33 \fB\-s\fR server
jpayne@68 34 Set the server list to use for DNS lookups.
jpayne@68 35 .TP
jpayne@68 36 \fB\-D\fR \fIdomain\fP
jpayne@68 37 Specify the \fIdomain\fP to search instead of using the default values from
jpayne@68 38 .br
jpayne@68 39 /etc/resolv.conf. This option only has an effect on platforms that use
jpayne@68 40 .br
jpayne@68 41 /etc/resolv.conf
jpayne@68 42 for DNS configuration; it has no effect on other platforms (such as Win32
jpayne@68 43 or Android).
jpayne@68 44 .SH "REPORTING BUGS"
jpayne@68 45 Report bugs to the c-ares mailing list:
jpayne@68 46 .br
jpayne@68 47 \fBhttps://lists.haxx.se/listinfo/c-ares\fR
jpayne@68 48 .SH "SEE ALSO"
jpayne@68 49 .PP
jpayne@68 50 adig(1)