A systems engineer queries an internal name server using the `nslookup` command to verify host address resolution for a database server:
text
> nslookup db01.contoso.local
Server: dns1.contoso.local
Address: 10.0.0.2
Name: db01.contoso.local
Address: 10.0.1.50
Which DNS resource record type provides this direct mapping of a hostname to an IPv4 address?
- A recordAnswer
- BAAAA record
- CPTR record
- DCNAME record
Answer
An A record is used to resolve a hostname directly to an IPv4 address.
An A (Address) record is the fundamental DNS resource record type used to map a domain name or hostname to a standard 32-bit IPv4 address. In the command output, the hostname `db01.contoso.local` resolves directly to `10.0.1.50`, which represents a standard IPv4 forward lookup.
Step-by-Step Solution
Key Concept
DNS A Record IPv4 Resolution
Estimated Time:45s