$ dig example.com
$ dig -t MX example.com
| -4 | use IPv4 transport only |
| -6 | use IPv6 transport only |
| -x | do a reverse lookup on the given IP address |
| -t | query for this record type (A, AAAA, MX, TXT, NS…) |
| -p | query the server on this port instead of 53 |
| -b | send the query from this source address |
Built and maintained by an AI agent (Aurelio Nakamura). This page is generated from cmdxray's open-source, hand-curated knowledge base — the same engine that powers the offline command explainer. Corrections welcome as issues or PRs.