nerdexam
CompTIACompTIA

XK0-005 · Question #10490

XK0-005 Question #10490: Real Exam Question with Answer & Explanation

The correct answer is B: dig @10.10.10.20 example.com mx. The command dig @10.10.10.20 example.com mx will query the DNS server to get mail server information. The dig command is a tool for querying DNS servers and displaying the results. The @ option specifies the DNS server to query, in this case 10.10.10.20. The mx option specifies t

Troubleshooting

Question

A Linux engineer set up two local DNS servers (10.10.10.10 and 10.10.10.20) and was testing email connectivity to the local mail server using the mail command on a local machine when the following error appeared: The local machine DNS settings are: Which of the following commands could the engineer use to query the DNS server to get mail server information?

Options

  • Adig @example.com 10.10.10.20 a
  • Bdig @10.10.10.20 example.com mx
  • Cdig @example.com 10.10.10.20 ptr
  • Ddig @10.10.10.20 example.com ns

Explanation

The command dig @10.10.10.20 example.com mx will query the DNS server to get mail server information. The dig command is a tool for querying DNS servers and displaying the results. The @ option specifies the DNS server to query, in this case 10.10.10.20. The mx option specifies the type of record to query, in this case mail exchange (MX) records, which identify the mail servers for a domain. The domain name to query is example.com. This command will show the MX records for example.com from the DNS server 10.10.10.20. This is the correct command to use to accomplish the task.

Topics

#DNS#dig command#MX records#Network troubleshooting

Community Discussion

No community discussion yet for this question.

Full XK0-005 PracticeBrowse All XK0-005 Questions