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

Taught in

References