Domain name resolution
도메인 이름 확인 (Domain name resolution).
Categories
- Dynamic DNS (DDNS)
- Classless Inter-Domain Routing (CIDR) 클래스 없는 도메인 간 라우팅 기법
- Subject Alternative Name (SAN)
- Top-level domain (TLD)
- nslookup
- dog
- Berkeley Internet Name Domain (BIND)
- Domain Name System (DNS)
- /etc/resolv.conf
- Name Service Switch (NSS)
- systemd-resolved
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:
- file: reads the /etc/hosts file, see hosts(5)
- dns: the glibc resolver which reads /etc/resolv.conf, see resolv.conf(5)
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