CompTIA Linux+ XK0-005 (v7) Practice Question

A Linux web server that normally has no internet issues is now intermittently unable to load external sites. Browser sessions hang while the status bar shows "resolving host," but an immediate retry sometimes works. Administrators confirm that the upstream DNS servers are healthy and other hosts on the same subnet resolve names without delay. Before changing configuration files, which command on the affected server will provide the most detailed insight into where the DNS lookup is failing?

  • Edit /etc/resolv.conf immediately to switch the system to public DNS servers.

  • Ping the domain repeatedly to determine whether name resolution occasionally succeeds.

  • Capture and count outgoing DNS queries with netstat or ss to look for a possible DNS flood.

  • Run dig +trace example.com to follow each delegation step from the root servers down to the authoritative servers.

CompTIA Linux+ XK0-005 (v7)
Troubleshooting
Your Score:
Settings & Objectives
Random Mixed
Questions are selected randomly from all chosen topics, with a preference for those you haven’t seen before. You may see several questions from the same objective or domain in a row.
Rotate by Objective
Questions cycle through each objective or domain in turn, helping you avoid long streaks of questions from the same area. You may see some repeat questions, but the distribution will be more balanced across topics.

Check or uncheck an objective to set which questions you will receive.

SAVE $47
$390.00 $343.00
Bash, the Crucial Exams Chat Bot
AI Bot