SK0-003 · Question #953
Which of the following would be used to specify FQDN to IP address mappings locally on a server?
The correct answer is B. Host file. To specify Fully Qualified Domain Name (FQDN) to IP address mappings locally on a server, the host file is used. This file provides a static lookup mechanism for hostname resolution before consulting DNS.
Question
Which of the following would be used to specify FQDN to IP address mappings locally on a server?
Options
- ARoute command
- BHost file
- CLMHosts file
- DARP command
How the community answered
(50 responses)- A8% (4)
- B86% (43)
- C4% (2)
- D2% (1)
Why each option
To specify Fully Qualified Domain Name (FQDN) to IP address mappings locally on a server, the host file is used. This file provides a static lookup mechanism for hostname resolution before consulting DNS.
The 'route' command is used to display or modify the IP routing table, which dictates how network traffic is forwarded, not for hostname-to-IP resolution.
The host file, typically named 'hosts' and found in specific system directories, is a plain text file that maps hostnames (including FQDNs) to IP addresses. When a system performs name resolution, it often checks this local file before querying external DNS servers, making it suitable for local, static mappings.
The LMHosts file is specifically designed for NetBIOS over TCP/IP (NBT) name resolution on legacy Windows networks, mapping NetBIOS names to IP addresses, not general FQDNs.
The 'ARP' command (Address Resolution Protocol) manages the ARP cache, which maps IP addresses to MAC addresses on the local network segment, not FQDNs to IP addresses.
Concept tested: Local hostname resolution via hosts file
Source: https://learn.microsoft.com/en-us/troubleshoot/windows-server/networking/configure-static-ip-address-and-host-name-resolution
Topics
Community Discussion
No community discussion yet for this question.