ADIG(1) General Commands Manual ADIG(1)

adig - print information collected from Domain Name System (DNS) servers

adig [OPTION]... NAME...

Send queries to DNS servers about NAME and print received information, where NAME is a valid DNS name (e.g. www.example.com, 1.2.3.10.in-addr.arpa).

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

Set the query class. Possible values for class are ANY, CHAOS, HS and IN (default).
Print some extra debugging output.
Add a behavior control flag. Possible values for flag are
igntc - ignore query truncation, return answer as-is instead of retrying
via tcp.
noaliases - don't honor the HOSTALIASES environment variable,
norecurse - don't query upstream servers recursively,
primary - use the first server,
stayopen - don't close the communication sockets, and
usevc - always use TCP.
Display this help and exit.
Connect to specified DNS server, instead of the system's default one(s). Servers are tried in round-robin, if the previous one failed.
Query records of specified type. Possible values for type are A (default), AAAA, ANY, AXFR, CNAME, HINFO, MX, NAPTR, NS, PTR, SOA, SRV, TXT, URI, CAA, SVCB, and HTTPS.
Connect to the specified TCP port of DNS server.
Connect to the specified UDP port of DNS server.

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

acountry(1), ahost(1).

April 2011 c-ares utilities