adig
DNS lookup utility using the c-ares library
TLDR
Display A record (default) from DNS for a hostname
SYNOPSIS
adig [-d] [-s server] [-T port] [-U port] [-t type] hostname
DESCRIPTION
adig prints information received from Domain Name System (DNS) servers. It performs DNS lookups and displays the results, similar to dig but built on the c-ares asynchronous resolver library.
The tool supports querying specific record types such as A, AAAA, MX, NS, CNAME, SOA, and others. It can direct queries to a particular DNS server and use custom TCP or UDP port numbers for the connection. Debug output is available for troubleshooting resolution issues.
PARAMETERS
-d
Display extra debugging output-s server
Connect to a specific DNS server IP address-T port
Use a specific TCP port to connect to the DNS server-U port
Use a specific UDP port to connect to the DNS server-t type
Query for a specific record type (A, AAAA, MX, NS, etc.)
CAVEATS
Part of the c-ares library tools. May have different features compared to the more common dig command from BIND.
HISTORY
Part of the c-ares asynchronous DNS resolver library, originally forked from the ares library and actively maintained.
