nerdexam
CompTIA

220-1002 · Question #753

Some of a company's computers were manually configured to bypass the DNS servers for connections to a connections to a fileshare server. A technician needs to ensure at the computers use DNS to…

The correct answer is D. Remove all entities in the hosts file. When computers are manually configured to bypass DNS, the most common mechanism is adding static hostname-to-IP mappings to the local hosts file (C:\Windows\System32\drivers\etc\hosts on Windows, /etc/hosts on Linux). The OS resolves entries in the hosts file before querying…

Networking

Question

Some of a company's computers were manually configured to bypass the DNS servers for connections to a connections to a fileshare server. A technician needs to ensure at the computers use DNS to reach resources on the network. Which of the following should the technician do to confirm all the computers use only DNS?

Options

  • ADelete al alias record entries in DNS.
  • BEnsure al computers are using the same subnet.
  • CReset the Windows Firewall settings to default.
  • DRemove all entities in the hosts file

How the community answered

(32 responses)
  • A
    3% (1)
  • B
    6% (2)
  • C
    9% (3)
  • D
    81% (26)

Explanation

When computers are manually configured to bypass DNS, the most common mechanism is adding static hostname-to-IP mappings to the local hosts file (C:\Windows\System32\drivers\etc\hosts on Windows, /etc/hosts on Linux). The OS resolves entries in the hosts file before querying DNS, so any hostname listed there bypasses DNS entirely. Removing all entries from the hosts file (D) eliminates these manual overrides and forces the OS to rely exclusively on DNS for name resolution across the network. Deleting DNS alias (CNAME) records (A) would break DNS resolution. Subnet configuration (B) and resetting firewall defaults (C) have no effect on DNS bypass via the hosts file.

Topics

#hosts file#DNS#name resolution#network configuration

Community Discussion

No community discussion yet for this question.

Full 220-1002 Practice