A network administrator suspects that an incorrect DNS record might be causing a website to be unreachable from the corporate network. They decide to use nslookup to check the DNS records for the domain example.com. What command should the administrator use to specifically retrieve the mail server records for the domain?
The correct command to retrieve mail server records for a domain using nslookup is nslookup -query=mx example.com. The -query=mx option specifies that the Mail Exchanger (MX) records should be retrieved, which are used for email routing. Understanding the correct syntax and options for nslookup commands is essential in diagnosing DNS issues effectively. \n\nThe incorrect answers provided either use wrong query types or misunderstand the function of nslookup: \n- -query=a retrieves address records (A records), which is incorrect as the scenario specifies a check for mail server records (MX records). \n- -type=soa retrieves the Start of Authority (SOA) record, which is useful for information about DNS zone transfers and not email.\n- example.com -mx lacks the proper nslookup command structure and incorrectly places options.
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 and why are they important?
Open an interactive chat with Bash
What is the purpose of nslookup in network troubleshooting?
Open an interactive chat with Bash
Can you explain the difference between A records and MX records?