linux.observer
← All labs

Linux DNS and networking / Intermediate / 20–30 min

The name that goes nowhere

A client cannot resolve its internal service name. Compare application configuration with the isolated network's DNS records and restore connectivity.

LAB IDlinux-03-unresolvable-serviceTRACK / linux.observer
Hard disk and server storage for a Linux troubleshooting lab

The scenario

A client container cannot reach a healthy service by name. Diagnose name resolution within the Compose network and restore the client's connection without changing host DNS.

Mission objectives

  • Reproduce the name-resolution failure from the client.
  • Identify the healthy service's name on the lab network.
  • Restore client connectivity and verify the service response.

Get the lab

Download and inspect the installer before running it. It checks the archive's SHA-256 digest and refuses to overwrite an existing lab directory.

curl -fsSLO https://devops.download/labs/linux-03-unresolvable-service.sh
less linux-03-unresolvable-service.sh
bash linux-03-unresolvable-service.sh
cd labs/linux-03-unresolvable-service
./setup.sh

When you've made your changes, run ./verify.sh. Remove lab resources with ./teardown.sh.

Download the archive instead ↗

Need a nudge?

Hint #1

Inspect the client's target file, then compare getent results with the service's network aliases.

Hint #2

The correct address is a name registered on the lab's Compose network, not an external DNS server.

Hint #3 · Deep Dive Runbook on opsbreakfix.com

Read the deep dive runbook ↗

Solved it?

Read the Official Root Cause Analysis & Certification Roadmap on opsbreakfix.com

Continue to opsbreakfix.com ↗

OpsBreakFix ecosystem

Explore the sites.

One connected home for operations knowledge and tools.