Differences between revisions 2 and 3
Revision 2 as of 2020-11-10 04:39:09
Size: 0
Comment:
Revision 3 as of 2020-11-10 05:09:42
Size: 628
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
= resolv.conf =

<<TableOfContents>>

----



== 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

resolv.conf


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)