stub resolver
The small DNS client inside each host that sends queries to a configured recursive resolver and hands answers to applications.
In more detail
On Linux it is part of the C library, configured through /etc/resolv.conf and /etc/nsswitch.conf, and often fronted by systemd-resolved. When names fail, check this local configuration before assuming the domain is broken. getent hosts name shows what applications will actually get.
Example
name=test stub=local rec=resolver auth=zone traces a lookup from stub to authoritative source.Related terms
- recursive resolver — A DNS server that answers clients by following referrals from the root to the authoritative server, then caches the result.
- DNS — The system that turns names such as learnsome.tech into IP addresses.
- directory service — A central network database, often queried by many machines, that stores user accounts and groups so they do not have to be copied to every host.
Taught in
- DNS Resolution, End To End — Linux Fundamentals & Systems Administration