nerdexam
CompTIA

XK0-005 · Question #708

An administrator is investigating why a Linux workstation is not resolving a website. The output of dig and nslookup shows that IPv4 resolution is working, but IPv6 resolution fails. The…

The correct answer is A. The static entry needs to be removed from /etc/hosts. address instead of querying DNS. This prevents proper IPv6 (AAAA) resolution, as /etc/hosts only contains an IPv4 (A) record. Removing this static entry allows the system to query DNS for both IPv4 and IPv6 records.

Troubleshooting

Question

An administrator is investigating why a Linux workstation is not resolving a website. The output of dig and nslookup shows that IPv4 resolution is working, but IPv6 resolution fails. The administrator executes:

The workstation has a static entry in /etc/hosts:

CopyEdit Which of the following is the most likely cause?

Options

  • AThe static entry needs to be removed from /etc/hosts.
  • BThe remote website does not support IPv6, and the workstation requires it.
  • CThe firewall needs to be modified to allow outbound HTTP and HTTPS.
  • DThe nameserver in /etc/resolv.conf needs to be updated to 8.8.8.8.

How the community answered

(22 responses)
  • A
    82% (18)
  • B
    5% (1)
  • C
    9% (2)
  • D
    5% (1)

Explanation

address instead of querying DNS. This prevents proper IPv6 (AAAA) resolution, as /etc/hosts only contains an IPv4 (A) record. Removing this static entry allows the system to query DNS for both IPv4 and IPv6 records.

Topics

#Linux Networking#Name Resolution#IPv6#Troubleshooting

Community Discussion

No community discussion yet for this question.

Full XK0-005 Practice