A system administrator is troubleshooting an email delivery problem for the domain example.com. To diagnose the issue, the administrator needs to identify the mail servers responsible for handling email for this domain by querying DNS. Which of the following commands will accomplish this task?
The correct command is dig mx example.com. The dig command is a network administration tool for querying the Domain Name System (DNS). The mx argument specifies that dig should query for Mail Exchanger (MX) records. MX records are essential for routing email, as they point to the servers that accept incoming mail for a domain.
dig a example.com is incorrect because it queries for the A record (IPv4 address) of the domain, not the mail servers.
dig ns example.com is incorrect as it queries for the authoritative Name Server (NS) records for the domain, which list the servers that contain the domain's DNS records, but not specifically the mail servers.
dig -mx example.com is incorrect because it misuses command-line options. It appears to combine -m (enable memory usage debugging) and -x (reverse DNS lookup), which is not the correct way to specify a query for an MX record.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
What are MX records in DNS?
Open an interactive chat with Bash
How does the `dig` command work?
Open an interactive chat with Bash
Why is `dig -mx example.com` incorrect in this case?
Open an interactive chat with Bash
CompTIA Linux+ XK0-006 (V8)
System Management
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .