A technician must test a new web server at 203.0.113.50 as www.example.com from one workstation, before public DNS changes. Other users must be unaffected. What should the technician do?
Show the answer
Correct answerA. Add a line mapping the IP address to the name in the workstation's hosts file
AWhy this is right: The local hosts file maps the name to the address for this workstation only and needs no DNS change.
BWhy not this: A public CNAME also changes resolution for everyone, and it points to a name rather than an IP address.
CWhy not this: A public zone record changes resolution for all users, which the test must avoid.
DWhy not this: A PTR record maps the address to a name in reverse lookups and does not make the workstation resolve the name.
The hosts file is a local file that maps names to IP addresses and is typically checked before a DNS query is sent, so it affects only that workstation. A public zone record would change resolution for every user.