resolv.conf


Example

passwd:         compat
group:          compat
shadow:         compat
hosts:          dns [!UNAVAIL=return] files
networks:       nis [NOTFOUND=return] files
ethers:         nis [NOTFOUND=return] files
protocols:      nis [NOTFOUND=return] files
rpc:            nis [NOTFOUND=return] files
services:       nis [NOTFOUND=return] files


Syntax

Databases

The first column (delimited by spaces or tab characters) indicates a database, while every subsequent column is a source. Some common database sources are listed below.

For hosts...


Action Items

Action items follow one the following patterns: [STATUS=ACTION] and [!STATUS=ACTION].

STATUS can be any of...

ACTION can be any of...

By default, only a success status results in a return action. Anything else will result in a continue. The exception is for a group lookup-a notfound status will lead to a continue action regardless of any action specified.


CategoryRicottone