Resolv.Conf

The resolver configuration file (or resolv.conf(5)), typically found at /etc/resolv.conf, configures the DNS resovler.


Example

nameserver 8.8.8.8
search lan


Syntax

The resolver configuration file primariliy consists of two directives: nameserver and search (as in 'search domain').

Up to three nameserver directives can be used. These servers are queried for DNS lookups.

The search directive sets search domains. As an example, when querying for myhost, resolver(5) will append each search domain to that name and query for those as well.


See also

resolv.conf(5)


CategoryRicottone

Linux/ResolvConf (last edited 2023-06-22 20:33:54 by DominicRicottone)