Query mail exchanger records.
Section: DNS HTTP and Remote Connectivity
Lookup MX records
bash
bash
dig +short MX example.comExplanation
Useful for mail diagnostics.
Learn the surrounding workflow
Compare similar commands or jump into common fixes when this command is part of a bigger troubleshooting path.
Related commands
Same sheet · prioritizing DNS HTTP and Remote Connectivity
Verbose HTTP request
Show request/response details and TLS handshake summary.
Create local SSH port forward
Forward a local port to a remote host/port through SSH.