Skip to content

Domain name resolution

도메인 이름 확인 (Domain name resolution).

Categories

Name Service Switch

The Name Service Switch (NSS) facility is part of the GNU C Library (glibc) and backs the getaddrinfo(3) API, used to resolve domain names. NSS allows system databases to be provided by separate services, whose search order can be configured by the administrator in nsswitch.conf(5). The database responsible for domain name resolution is the hosts database, for which glibc offers the following services:

Systemd provides three NSS services for hostname resolution:

  • nss-resolve(8) - a caching DNS stub resolver, described in systemd-resolved
  • nss-myhostname(8) - provides local hostname resolution without having to edit /etc/hosts, described in Network configuration#Local hostname resolution
  • nss-mymachines(8) - provides hostname resolution for the names of local systemd-machined(8) containers

Favorite site