CertGrid CertGrid
Troubleshooting·LPIC-1

Name resolution, and diagnosing in the right order

Objective 109.4 is client-side DNS and 109.3 is basic troubleshooting, and they belong together: most "the network is down" reports are name resolution. This guide shows which file decides the order sources are tried, proves it by making /etc/hosts override an answer DNS was already giving, and then runs the three checks that locate a fault in the right layer - including one that genuinely failed.

102: Networking Fundamentals Guide 22 of 33 Beginner

Two hosts on one subnet - .76 Debian-family, .77 RPM-family - so every claim about reaching another machine is tested against a machine that is really there.
Server NameIP AddressOSRolesCPURAMHDD
LPIC1-A01192.168.0.76Ubuntu 26.04 LTSDebian-family host - dpkg and apt, which objective 102.4 names2 Core4 GB50 GB
LPIC1-B01192.168.0.77AlmaLinux 10.2RPM-family host - rpm and dnf, which objective 102.5 names2 Core4 GB50 GB

This guide includes

Use this for client-side DNS and basic troubleshooting together. This matters because files really do beat DNS - and checking in the right order narrows the fault fastest.

Before you start

  1. The file that decides the order

  2. Proving that files really do beat DNS

  3. Three checks, in the order that narrows fastest

Official sources