The answer is that the DNS server has no record for 'server1.example.com'. This is the most likely cause because the 'unknown host' error occurs when a client’s DNS resolution fails for a given hostname, meaning the resolver cannot find a matching A or AAAA record in the DNS zone. When a user pings 'server1', the system typically appends a configured search domain like 'example.com' to form the fully qualified domain name, and if the DNS server returns NXDOMAIN for that FQDN, the resolver reports the host as unknown. On the LPIC-2 exam, this scenario tests your understanding of DNS resolution order, search domain behavior, and common troubleshooting steps for name resolution failures. A common trap is assuming the host is offline or that the local hosts file is misconfigured, but the error explicitly points to a missing DNS record rather than a connectivity issue. Memory tip: “No record, no route” — if the DNS server lacks the record, the resolver cannot translate the name, so the ping never leaves the client.
LPIC-2 Network Client Management Practice Question
This LPIC-2 practice question tests your understanding of network client management. This is a configuration task: choose the command set that satisfies every stated requirement. Small differences — like 'secret' vs 'password' or 'transport input ssh' vs 'all' — change whether the answer is correct. After answering, compare your reasoning against the explanation and wrong-answer breakdown below. Once you have made your selection, read the full explanation to reinforce the concept and understand why each distractor is designed to mislead on exam day.
Exhibit
Refer to the exhibit.
Contents of /etc/resolv.conf:
```
nameserver 192.168.1.1
search example.com
```
Refer to the exhibit. A user on the client tries to ping 'server1' and gets an unknown host error. What is the most likely cause?
Clue words in this question
Noticing these words before you look at the options changes how you read each choice.
Clue: "most likely"
Why it matters: Probability qualifier — the question wants the most probable cause or outcome, not a guaranteed one. Eliminate low-probability options.
Answer the question above first, then reveal the full breakdown to understand why each option is right or wrong.
Correct answer & explanation
✓
The DNS server has no record for 'server1.example.com'.
The error 'unknown host' indicates that the client's DNS resolution failed for the hostname 'server1'. Since the client likely uses a fully qualified domain name (FQDN) lookup or appends a search domain, the most common cause is that the DNS server does not have an A or AAAA record for 'server1.example.com'. Without a matching record, the resolver returns NXDOMAIN, leading to the 'unknown host' error.
Key principle: Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Answer analysis
Option-by-option breakdown
For each option: why learners choose it and why it is or isn't the right answer here.
✓
The DNS server has no record for 'server1.example.com'.
Why this is correct
The resolver will try to resolve 'server1.example.com' due to the search domain; if no record exists, it fails.
Clue confirmation
The clue word "most likely" in the question point toward this answer.
Related concept
Read the scenario before looking for a memorised answer.
✗
The search domain is missing.
Why it's wrong here
The search domain is present; it might be the wrong domain but it is there.
✗
The DNS server IP is incorrect.
Why it's wrong here
The IP is given; there is no indication it is wrong.
✗
Only one nameserver is specified, causing a timeout.
Why it's wrong here
One nameserver is sufficient; timeout would occur if the server were unreachable.
Common exam traps
Common exam trap: answer the scenario, not the keyword
The trap here is that candidates often confuse a DNS resolution failure due to a missing record (NXDOMAIN) with network connectivity issues or misconfigured resolvers, leading them to choose options like incorrect DNS server IP or timeout, when the actual cause is a lack of a DNS record for the queried hostname.
Detailed technical explanation
How to think about this question
The DNS resolution process involves the resolver sending a query for the FQDN (e.g., 'server1.example.com') to the configured nameserver. If the nameserver returns an NXDOMAIN response (no such record), the resolver immediately fails with 'unknown host'. This differs from a SERVFAIL or timeout, which indicates server issues. In real-world scenarios, administrators often forget to add new host records to the forward lookup zone, causing this exact symptom even when the DNS server is reachable and the search domain is correct.
KKey Concepts to Remember
Read the scenario before looking for a memorised answer.
Find the constraint that changes the correct option.
Eliminate answers that are true in general but not in this case.
TExam Day Tips
→Watch for words such as best, first, most likely and least administrative effort.
→Review why wrong options are wrong, not only why the correct option is correct.
Key takeaway
Answer the scenario, not the keyword: identify the specific constraint before choosing the most familiar-sounding option.
Real-world example
How this comes up in practice
A junior network technician can log in to a core router but cannot reach the enable prompt or configuration mode. The AAA server is authenticating the login — but the authorisation policy only grants privilege level 1, not 15. Authentication (who you are) is working; authorisation (what you can do) is not.
What to study next
Got this wrong? Here's your next step.
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
Network Client Management — This question tests Network Client Management — Read the scenario before looking for a memorised answer..
What is the correct answer to this question?
The correct answer is: The DNS server has no record for 'server1.example.com'. — The error 'unknown host' indicates that the client's DNS resolution failed for the hostname 'server1'. Since the client likely uses a fully qualified domain name (FQDN) lookup or appends a search domain, the most common cause is that the DNS server does not have an A or AAAA record for 'server1.example.com'. Without a matching record, the resolver returns NXDOMAIN, leading to the 'unknown host' error.
What should I do if I get this LPIC-2 question wrong?
Identify which exam domain this question belongs to, review the core concept, then practise similar questions from the same domain.
Are there clue words in this question I should notice?
Yes — watch for: "most likely". Probability qualifier — the question wants the most probable cause or outcome, not a guaranteed one. Eliminate low-probability options.
What is the key concept behind this question?
Read the scenario before looking for a memorised answer.
About these practice questions
Courseiva creates original exam-style practice questions with explanations and wrong-answer analysis. It does not publish real exam questions, exam dumps, or protected exam content. Learn why practice questions differ from exam dumps →
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
This LPIC-2 practice question is part of Courseiva's free LPI certification practice question bank. Courseiva provides original exam-style practice questions with explanations, topic-based practice, mock exams, readiness tracking, and study analytics to help learners prepare for the LPIC-2 exam.
Question Discussion
Share a tip, memory trick, or ask about the reasoning behind this question. Do not post real exam questions, leaked content, braindumps, or copyrighted exam material. Comments are moderated and may be removed without notice.
Sign in to join the discussion.