CompTIA DataSys+ (DS0-002) free question 4 / 10 · Domain 2: Database Deployment
A database client is configured with the host name db.internal.example instead of an IP address. Which DNS element looks the name up on behalf of the client?
- A resolver, which asks name servers for the client
- A firewall rule, which permits traffic to a port
- A zone, which holds a unit of authoritative information
- A load balancer, which spreads client connections over servers
Show the answer and explanation
Answer: A
Why this is correct
RFC 1034 describes the DNS as made of name servers, which hold the data, and resolvers, which are programs that extract information from name servers in response to client requests. A client given a host name for its database connection uses a resolver to turn the name into an address before it connects. The source reads: "RESOLVERS are programs that extract information from name servers in response to client requests." Source page: 2.4. Elements of the DNS.
Why the other options are wrong
"A zone, which holds a unit of authoritative information" … A zone is a unit of authoritative data organized on name servers. It does not perform the lookup.
"A load balancer, which spreads client connections over servers" … A load balancer distributes traffic. Looking up a name is the work of a resolver.
"A firewall rule, which permits traffic to a port" … A firewall rule permits or blocks traffic. It does not translate names.
Key points
Resolvers query name servers on behalf of clients.