Differences between revisions 3 and 4
Revision 3 as of 2020-11-10 05:09:42
Size: 628
Comment:
Revision 4 as of 2020-11-10 15:44:37
Size: 752
Comment:
Deletions are marked like this. Additions are marked like this.
Line 2: Line 2:

A description of the '''resolver''' file (`/etc/resolv.conf`). For more details, see `resolver(5)` or `resolv.conf(5)`.

resolv.conf

A description of the resolver file (/etc/resolv.conf). For more details, see resolver(5) or resolv.conf(5).


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').

There should be up to three nameserver directives, giving some address that can be reached for queries.

Search domains are used in an attempt to qualify non-fully-qualified names. For instance, given search localdomain in /etc/resolv.conf, a system will attempt to resolve myhost as myhost.localdomain first.


CategoryRicottone

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