DNS Client Resolution and Lookup Troubleshooting

The client cannot find the internal app because its resolver points at a dead address and someone left a hosts-file override behind. Fix it through NetworkManager, then read the difference between a wrong answer, no answer, and NXDOMAIN.

Skill labintermediate~35 minPro

What you'll do

  • ✓Compare getent, dig against a specific server, and plain dig, and know which path each takes
  • ✓Read nsswitch.conf, /etc/hosts and the resolv.conf NetworkManager writes
  • ✓Set the resolver and search domain on the connection rather than by editing resolv.conf
  • ✓Distinguish NXDOMAIN from SERVFAIL and from a timeout

Lab outline

  1. 01Diagnose
  2. 02Verify
  3. 03Verify

Before you start

  • Persistent NetworkManager Configuration

Every lab runs on a real machine of your own in the browser — no installs, nothing to clean up — and checks your work automatically as you go.

← All Linux System Administration labs

Your first machine is
8 seconds away.

Learn by doing on real machines — and give every AI agent one of its own.

Free forever · No credit card · Cancel anytime

DNS Client Resolution and Lookup Troubleshooting — Linux lab | Kube Labs