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
- 01Diagnose
- 02Verify
- 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.