The /etc/resolv.conf file is used to configure the DNS resolver on Linux systems. Its recognized keywords include nameserver, which specifies the IP address of a DNS server to query, and search, which defines a list of domain names to append when resolving unqualified hostnames. Other keywords such as domain, sortlist, and options also exist, but substitute, lookup, and method are not valid resolv.conf directives.
Community Discussion