A network administrator is investigating reports that internal workstations are unable to connect to a web application at `payroll.internal.net`. To diagnose the issue, the administrator executes a hostname lookup using `nslookup` on a client machine, which returns the following output:
text
$ nslookup payroll.internal.net
Server: 10.1.1.5
Address: 10.1.1.5#53
Name: payroll.internal.net
Alias: app-server-04.internal.net
*** 10.1.1.5 can't find app-server-04.internal.net: Non-existent domain (NXDOMAIN)
Which of the following represents the primary root cause of this name resolution failure?
- The CNAME record for `payroll.internal.net` points to a canonical target (`app-server-04.internal.net`) that lacks a corresponding A or AAAA record in DNS.Answer
- BThe client system failed to establish a TCP port 53 handshake, which is mandatory for resolving CNAME alias records.
- CThe DNS server returned an authoritative error because `payroll.internal.net` requires an MX record rather than a CNAME alias.
- DThe `nslookup` utility failed because it only inspects the local HOSTS file when resolving canonical alias addresses.
Answer
The CNAME record for `payroll.internal.net` points to a canonical target (`app-server-04.internal.net`) that lacks a corresponding A or AAAA record in DNS.
A CNAME (Canonical Name) record acts as an alias pointing to another domain name rather than directly to an IP address. When a client requests `payroll.internal.net`, the DNS server resolves `payroll.internal.net` to `app-server-04.internal.net` and then attempts to resolve `app-server-04.internal.net` to an IP address. Because `app-server-04.internal.net` does not have a valid A/AAAA host record in the zone, the DNS server returns an NXDOMAIN error for the target, causing the entire resolution attempt to fail.
Step-by-Step Solution
Key Concept
DNS CNAME Record Resolution and Chaining Dependencies
Estimated Time:2m 0s