A network administrator is configuring DNS records for an enterprise web service. The administrator needs to map the alias hostname `portal.corp.example.com` to the primary canonical domain name `webserver01.corp.example.com`, which ultimately resolves to IPv4 address `10.50.10.15`.
Review the DNS lookup query output below:
text
$ dig portal.corp.example.com
;; QUESTION SECTION:
;portal.corp.example.com. IN A
;; ANSWER SECTION:
portal.corp.example.com. 300 IN ???? webserver01.corp.example.com.
webserver01.corp.example.com. 300 IN A 10.50.10.15
Which DNS record type is represented by `????` in the lookup response?
- CNAMEAnswer
- BPTR
- CSRV
- DNS
Answer
The CNAME record type is used to map an alias domain name (portal.corp.example.com) to a canonical domain name (webserver01.corp.example.com).
A CNAME (Canonical Name) record is used in DNS to create an alias pointing one domain name to another true (canonical) domain name. In the provided dig output, portal.corp.example.com points to webserver01.corp.example.com, which subsequently resolves to IP address 10.50.10.15.
Step-by-Step Solution
Key Concept
DNS Record Types and Functionality (CNAME vs. PTR/SRV/NS)
Estimated Time:1m 0s