What the application asks, and why dig answers a different question
Ask the machine's question with getent hosts rather than dig's, and know whether the answer came from /etc/hosts, a search domain or DNS.
22 minutesTechnical content last reviewed on 14 Sept 2026
This lesson is for signed-in learners
Create an account to subscribe and record your learning progress.
What this lesson builds
- Publishing a domain's records and verifying them
- Working out why a service cannot be reached
- Saying what an output proves, and what it leaves open
