AHOST(1) General Commands Manual AHOST(1)

ahost - print the A or AAAA record associated with a hostname or IP address

ahost [OPTION]... HOST...

Look up the DNS A or AAAA record associated with HOST (a hostname or an IP address).

This utility comes with the c-ares asynchronous resolver library.

Print some extra debugging output.
Display this help and exit.
If type is "a", print the A record. If type is "aaaa", print the AAAA record. If type is "u", look for both AAAA and A records (default).
Set the server list to use for DNS lookups.
Specify the domain to search instead of using the default values from
/etc/resolv.conf. This option only has an effect on platforms that use
/etc/resolv.conf for DNS configuration; it has no effect on other platforms (such as Win32 or Android).

Report bugs to the c-ares mailing list:
https://lists.haxx.se/listinfo/c-ares

acountry(1), adig(1)

April 2011 c-ares utilities