NSS
Name Service Switch: the system that decides where Linux looks up users, groups and host names, set in /etc/nsswitch.conf.
In more detail
A line such as hosts: files dns checks /etc/hosts before DNS. getent follows the same order, which is why it can disagree with dig, which asks DNS only.
Related terms
- DNS — The system that turns names such as learnsome.tech into IP addresses.
- SSSD — System Security Services Daemon: the service that connects Linux to a directory such as LDAP or Active Directory and caches its users and passwords.
Taught in
- A Server Nobody Can Find: Addresses, Routes And Names On Both Families — CompTIA Linux+ (XK0-006) Exam Prep
- One Word Locked Out Every Directory User: PAM, SSSD, LDAP And Kerberos — CompTIA Linux+ (XK0-006) Exam Prep
- The Tracker Is Down, For Some People: Link, Address, Route, Name And Port — CompTIA Linux+ (XK0-006) Exam Prep
- Addresses, Gateways And Names On Both Stacks — Linux Foundation Certified System Administrator (LFCS) Exam Prep
- LDAP Users Through SSSD — Linux Foundation Certified System Administrator (LFCS) Exam Prep