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