adig
Print information received from Domain Name System (DNS) servers. tldr-pages
On Linux
Linux
Display A (default) record from DNS for hostname(s)
adig example.comIdentifyDisplay extra debugging output
adig -d example.comIdentifyConnect to a specific DNS server
adig -s 1.2.3.4 example.comIdentifyUse a specific TCP port to connect to a DNS server
adig -T port example.comIdentifyUse a specific UDP port to connect to a DNS server
adig -U port example.comIdentify