Question 11
Choose 1
A server administrator needs to add a record to the company's DNS server to verify
ownership of a web domain. The administrator has the record's name and value. Which of
the following record types should the administrator use to add the record to the DNS
server?
Correct answer:
A. TXT
Explanation:
This question tests knowledge of DNS record types and their specific use cases in domain management. Domain ownership verification is a common task when setting up services like Google Workspace, Microsoft 365, or third‑party certificate authorities. These services provide a unique verification string that must be published in DNS. The administrator has the record's name (e.g., @ or a specific subdomain) and its value (the verification token). The correct DNS record type must be able to store arbitrary text and be readable by external verification systems — this is the primary function of TXT records.
✔️ Correct Option: A. TXT
TXT (Text) records are designed to store descriptive, human‑readable or machine‑readable text strings in DNS. For domain ownership verification, the service provider gives a unique name (e.g., _abc123.example.com) and a value (e.g., verification-code-xyz). Adding a TXT record with this value allows the provider to query DNS, retrieve the exact string, and confirm that the administrator controls the domain. TXT records are also widely used for email authentication (SPF, DKIM, DMARC).
❌ Incorrect Option: B. A
A (Address) records map a domain name to an IPv4 address. They direct traffic to web servers, mail servers, or any other host. An A record cannot store arbitrary text strings required for ownership verification. Adding an A record would cause the verification service to expect an IP address, not a token, and the verification would fail.
❌ Incorrect Option: C. PTR
PTR (Pointer) records perform reverse DNS lookup, mapping an IPv4 address back to a fully qualified domain name. They are used primarily for mail server anti‑spam checks (reverse DNS validation) and logging. PTR records are managed by IP address owners (usually ISPs), not by domain owners, and they cannot store custom verification strings.
❌ Incorrect Option: D. CNAME
CNAME (Canonical Name) records create an alias from one domain name to another. For example, www.example.com can point to example.com. CNAME records do not store arbitrary text values. If used for verification, the service would follow the alias and query the target domain, which does not contain the verification token. CNAMEs cannot coexist with other records (e.g., TXT) at the same name in standard DNS implementations.
🔧 Reference:
→ CompTIA Network+ N10-009 Exam Objectives (Domain 1.0: DNS Record Types) – Lists TXT records under DNS configuration for verification and email security.
This question tests knowledge of DNS record types and their specific use cases in domain management. Domain ownership verification is a common task when setting up services like Google Workspace, Microsoft 365, or third‑party certificate authorities. These services provide a unique verification string that must be published in DNS. The administrator has the record's name (e.g., @ or a specific subdomain) and its value (the verification token). The correct DNS record type must be able to store arbitrary text and be readable by external verification systems — this is the primary function of TXT records.
✔️ Correct Option: A. TXT
TXT (Text) records are designed to store descriptive, human‑readable or machine‑readable text strings in DNS. For domain ownership verification, the service provider gives a unique name (e.g., _abc123.example.com) and a value (e.g., verification-code-xyz). Adding a TXT record with this value allows the provider to query DNS, retrieve the exact string, and confirm that the administrator controls the domain. TXT records are also widely used for email authentication (SPF, DKIM, DMARC).
❌ Incorrect Option: B. A
A (Address) records map a domain name to an IPv4 address. They direct traffic to web servers, mail servers, or any other host. An A record cannot store arbitrary text strings required for ownership verification. Adding an A record would cause the verification service to expect an IP address, not a token, and the verification would fail.
❌ Incorrect Option: C. PTR
PTR (Pointer) records perform reverse DNS lookup, mapping an IPv4 address back to a fully qualified domain name. They are used primarily for mail server anti‑spam checks (reverse DNS validation) and logging. PTR records are managed by IP address owners (usually ISPs), not by domain owners, and they cannot store custom verification strings.
❌ Incorrect Option: D. CNAME
CNAME (Canonical Name) records create an alias from one domain name to another. For example, www.example.com can point to example.com. CNAME records do not store arbitrary text values. If used for verification, the service would follow the alias and query the target domain, which does not contain the verification token. CNAMEs cannot coexist with other records (e.g., TXT) at the same name in standard DNS implementations.
🔧 Reference:
→ CompTIA Network+ N10-009 Exam Objectives (Domain 1.0: DNS Record Types) – Lists TXT records under DNS configuration for verification and email security.