nerdexam
CompTIA

220-1102 · Question #334

A technician needs to override DNS and redirect IP addresses and URLs to different locations. Which of the following should the technician do?

The correct answer is B. Edit the hosts file. To override DNS resolution locally and redirect specific IP addresses or URLs, editing the local hosts file is the direct and effective method.

Operating Systems

Question

A technician needs to override DNS and redirect IP addresses and URLs to different locations. Which of the following should the technician do?

Options

  • AInstall signal repeaters.
  • BEdit the hosts file.
  • CConfigure the firewall.
  • DEnable port forwarding.

How the community answered

(45 responses)
  • A
    4% (2)
  • B
    91% (41)
  • C
    2% (1)
  • D
    2% (1)

Why each option

To override DNS resolution locally and redirect specific IP addresses or URLs, editing the local hosts file is the direct and effective method.

AInstall signal repeaters.

Installing signal repeaters extends wireless network coverage but has no function in redirecting IP addresses or URLs.

BEdit the hosts file.Correct

The hosts file is a local text file that maps hostnames to IP addresses, and it is consulted before DNS queries are made. By editing this file, a technician can manually override DNS resolution for specific domains, directing them to different IP addresses or URLs as needed.

CConfigure the firewall.

Configuring the firewall primarily controls network traffic ingress and egress based on rules, not for overriding DNS resolution or redirecting specific URLs.

DEnable port forwarding.

Port forwarding directs traffic from an external port to an internal device and port, which is used for network services access, not for overriding DNS or redirecting URLs.

Concept tested: DNS resolution override (hosts file)

Source: https://learn.microsoft.com/en-us/troubleshoot/windows-server/networking/create-static-mapping-dns-hosts-file

Topics

#hosts file#DNS override#IP redirection#hostname resolution

Community Discussion

No community discussion yet for this question.

Full 220-1102 Practice