

To be able to use the hostname of local machine names without the fully qualified domain name, add a line to /etc/nf with the local domain such as: etc/nf options single-request Local domain names You can fix that by setting the following option in /etc/nf: If you experience a 5 second delay when resolving hostnames it might be due to a DNS-server/Firewall misbehaving and only giving one reply to a parallel A and AAAA request. etc/nf options timeout:1 Hostname lookup delayed with IPv6 If you are confronted with a very long hostname lookup (may it be in pacman or while browsing), it often helps to define a small timeout after which an alternative nameserver is used. Tip: If you want multiple processes to write to /etc/nf, you can use resolvconf. A domain name can be resolved through NSS using: NSS databases can be queried with getent(1).

NSS allows system databases to be provided by separate services, whose search order can be configured by the administrator in nf(5). 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. Reason: Mention nss-mdns, nss-tls-git AUR and others.
