Linux Command: dig
DNS lookup utility with detailed query/response information
Terminal — Networking
Command
$
dig +short dargslan.com A && dig +short dargslan.com MX
Output
95.216.123.45
10 mail.dargslan.com.
dig (Domain Information Groper) is the go-to DNS debugging tool. +short gives minimal output, while +trace shows the full resolution chain from root servers.
Use it to verify DNS changes, debug mail routing (MX), check propagation, and inspect SPF/DKIM/TXT records.