Network Troubleshooting

Email to a partner's domain, example.com, is bouncing. A technician needs to list the domain's mail servers with nslookup. Which command does this?

Show the answer

Correct answerB. nslookup -type=mx example.com

AWhy not this: It requests NS records, which list the domain's authoritative DNS servers, not its mail servers.

BWhy this is right: It requests MX records, which name the mail servers that accept email for the domain.

CWhy not this: It requests PTR records, which map an IP address back to a name, and are not used for mail routing.

DWhy not this: It requests A records, which return the domain's IPv4 address, not its mail exchangers.

An MX record names the mail exchangers for a domain, and -type=mx requests exactly those records. NS records only list the domain's authoritative name servers, which is a common mix-up.