Question 20
A Linux administrator encounters this situation: A security reviewer needs to query a specific DNS server rather than whichever resolver the host currently uses. What is the most appropriate corrective action?
Explanation
Correct Answer
Use this targeted change: Run dig @server example.name with the intended record type. It addresses the prerequisite that dig can direct a query at a chosen DNS endpoint for comparative troubleshooting. Confirm success when The response identifies the queried server and the requested record.
Incorrect Answers
That option does not correct the stated dependency. In this case, dig can direct a query at a chosen DNS endpoint for comparative troubleshooting; implement Run dig @server example.name with the intended record type and check The response identifies the queried server and the requested record.
This option serves the scenario “In an LPIC-1 102-500 administration task, A system using systemd-resolved shows generated /etc/resolv.conf and an administrator edits it persistently”. The safest fitting response is Configure the upstream DNS through the responsible resolver or network manager. The present scenario is distinguished by “Run dig @server example.name with the intended record type”.
This command or configuration addresses a different case: A workstation needs a human-readable alias for a private IP without configuring an external DNS zone. Here, dig can direct a query at a chosen DNS endpoint for comparative troubleshooting, so the targeted action is Run dig @server example.name with the intended record type.