nerdexam
CompTIA

XK0-005 · Question #714

A systems administrator needs to know the mail exchange (MX) record for the foo.com domain. Which of the following commands will accomplish this task?

The correct answer is B. dig mx foo.com. The dig command is used for querying DNS information. To retrieve the MX records for a domain (which indicate where emails should be routed), the command dig mx foo.com is used. This returns the mail servers associated with the domain, including their priority levels.

Troubleshooting

Question

A systems administrator needs to know the mail exchange (MX) record for the foo.com domain. Which of the following commands will accomplish this task?

Options

  • Atelnet mx foo.com
  • Bdig mx foo.com
  • Cnslookup mx foo.com
  • Dhost mx foo.com

How the community answered

(39 responses)
  • B
    92% (36)
  • C
    5% (2)
  • D
    3% (1)

Explanation

The dig command is used for querying DNS information. To retrieve the MX records for a domain (which indicate where emails should be routed), the command dig mx foo.com is used. This returns the mail servers associated with the domain, including their priority levels.

Topics

#DNS lookup#MX record#dig command#Network utilities

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice