AZ-104 Question 237
Single answerYou manage the contoso.com DNS zone in Azure. Your company wants a partner organization to independently manage the DNS configuration for the subdomain partner.contoso.com on their own DNS servers. Which DNS record should you create in the Azure DNS zone for contoso.com to delegate DNS queries for partner.contoso.com to those partner servers?
- A
Create a CNAME record pointing partner.contoso.com to the partner’s DNS server
- B
Create an NS record listing the partner’s name servers
- C
Create an A record for partner.contoso.com referencing the partner’s DNS server IP address
- D
Create an MX record for partner.contoso.com directing mail to the partner’s DNS server
Show answer and explanation
Correct answer: B
Explanation
To delegate a subdomain, you must create an NS record in the parent DNS zone specifying the name servers responsible for that subdomain. This delegates full DNS management authority for partner.contoso.com to the partner’s name servers.
- A. Incorrect.
A CNAME record creates an alias to another domain but does not delegate DNS authority for a subdomain.
- B. Correct.
An NS record in the parent zone delegates authority of the subdomain to the listed name servers, which is the correct method for subdomain delegation.
- C. Incorrect.
An A record simply maps a hostname to an IP address and does not delegate DNS authority.
- D. Incorrect.
An MX record specifies mail delivery for a domain or subdomain and does not delegate DNS authority.