dig Linux Command
Performs DNS lookups and displays detailed name server query information.
What does dig do?
Performs DNS lookups and displays detailed name server query information.
Syntax
dig [options] domainPractical example
dig google.com ANYRelated Networking Commands
wgetDownloads files from the internet non-interactively via HTTP, HTTPS, or FTP.
nslookupQueries DNS servers to resolve domain names to IP addresses and vice versa.
curlTransfers data from or to a server using various protocols (HTTP, FTP, etc.).
hostSimple utility for performing DNS lookups (forward and reverse).
ssModern replacement for netstat. Dumps socket statistics quickly.
tracerouteTraces and displays the route packets take to reach a network host.