Skip to content
Infra X-Ray
AcademyExplore
Sign inCreate free account
Infra X-Ray

DevOps, simulated in your browser.

  • Academy
  • Explore
  • Roadmap
  • Contact
  • Privacy
  • Terms

Lesson 21 of 29

Name resolution

16 min

LPIC-1 Exam 102 Prep
Shell environment and scriptsFree with an account
  1. Startup files
  2. Aliases, functions and the environment
  3. Your first script
  4. Tests, loops and reporting
Users and groupsPro
  1. User accounts
  2. Groups
  3. Passwords, aging and locking
Time, scheduling, languagesPro
  1. The system clock and the hardware clock
  2. Keeping time with NTP
  3. cron
  4. at and systemd timers
  5. Languages, encodings and time zones
Logs, mail, printingPro
  1. syslog and rsyslog
  2. logrotate and the journal
  3. Mail on a Linux server
  4. Printing with CUPS
NetworkingPro
  1. Addresses and subnets
  2. TCP, UDP, ICMP and ports
  3. Persistent network configuration
  4. Troubleshooting connectivity
  5. Name resolution
  6. Practice: fix three broken networks
Security and SSHPro
  1. Auditing a system
  2. Hardening a host
  3. Logging in with SSH
  4. Agent, file copy and tunnels
  5. Encrypting and signing with GPG
Graphical desktopPro
  1. X11 and display managers
  2. Desktops, remote sessions and accessibility
Final exam
  1. Academy
  2. LPIC-1 Exam 102 Prep
  3. Networking

Name resolution

Names are looked up in order: the hosts file first, then DNS, as nsswitch.conf says. dig and host talk to DNS directly, getent follows the whole chain.

  • 16 minutes
  • 6 quiz questions
  • Lab: 8 steps
  • Pro
Loading the lesson…
Previous lessonTroubleshooting connectivityNext lessonPractice: fix three broken networks

Lesson 21 of 29

Name resolution

16 min

LPIC-1 Exam 102 Prep
Shell environment and scriptsFree with an account
  1. Startup files
  2. Aliases, functions and the environment
  3. Your first script
  4. Tests, loops and reporting
Users and groupsPro
  1. User accounts
  2. Groups
  3. Passwords, aging and locking
Time, scheduling, languagesPro
  1. The system clock and the hardware clock
  2. Keeping time with NTP
  3. cron
  4. at and systemd timers
  5. Languages, encodings and time zones
Logs, mail, printingPro
  1. syslog and rsyslog
  2. logrotate and the journal
  3. Mail on a Linux server
  4. Printing with CUPS
NetworkingPro
  1. Addresses and subnets
  2. TCP, UDP, ICMP and ports
  3. Persistent network configuration
  4. Troubleshooting connectivity
  5. Name resolution
  6. Practice: fix three broken networks
Security and SSHPro
  1. Auditing a system
  2. Hardening a host
  3. Logging in with SSH
  4. Agent, file copy and tunnels
  5. Encrypting and signing with GPG
Graphical desktopPro
  1. X11 and display managers
  2. Desktops, remote sessions and accessibility
Final exam
  1. Academy
  2. LPIC-1 Exam 102 Prep
  3. Networking

Name resolution

Names are looked up in order: the hosts file first, then DNS, as nsswitch.conf says. dig and host talk to DNS directly, getent follows the whole chain.

  • 16 minutes
  • 6 quiz questions
  • Lab: 8 steps
  • Pro

Sign in to continue

This lesson is part of Pro.

A free account saves your progress and opens every free lesson, quiz and lab. In this course that is the whole first module, Shell environment and scripts.

Create free accountSign in
Previous lessonTroubleshooting connectivityNext lessonPractice: fix three broken networks