Troubleshoot Network Services on One Machine
A machine was handed over half working: a page that answers only on localhost, a name that leads elsewhere, a firewall port opened for the wrong protocol, a service that cannot get its port, and slow name lookups. Each step gives a symptom; you find the cause and fix it.
Skill labintermediate~30 minPro
What you'll do
- ✓Tell a refused connection from a hanging one and know what each points to
- ✓Find what is listening, on which address and port, and which unit owns it, with ss, ps and systemctl
- ✓Follow name resolution through nsswitch, /etc/hosts and resolv.conf with getent
- ✓Read what firewalld allows now and permanently, by port and by protocol
- ✓Change DNS settings through NetworkManager without dropping the connection
Lab outline
- 01The status page
- 02The metrics endpoint
- 03Name resolution
Before you start
- Inspect IPv4, IPv6, Routes, and Sockets
- DNS Client Resolution and Lookup Troubleshooting
- firewalld Zones and Least-Privilege Access
- Operate systemd Services
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.