BSD 4_3_Tahoe development
[unix-history] / usr / man / cat5 / resolver.0
RESOLVER(5) UNIX Programmer's Manual RESOLVER(5)
N\bNA\bAM\bME\bE
resolver - resolver configuration file
S\bSY\bYN\bNO\bOP\bPS\bSI\bIS\bS
/etc/resolv.conf
D\bDE\bES\bSC\bCR\bRI\bIP\bPT\bTI\bIO\bON\bN
The resolver configuration file contains information that is
read by the resolver routines the first time they are
invoked by a process. The file is designed to be human
readable and contains a list of name-value pairs that pro-
vide various types of resolver information.
On a normally configured system this file should not be
necessary. The only name server to be queried will be on
the local machine and the domain name is retrieved from the
system.
The different configuration options are:
n\bna\bam\bme\bes\bse\ber\brv\bve\ber\br
followed by the Internet address (in dot notation) of a
name server that the resolver should query. At least
one name server should be listed. Up to MAXNS
(currently 3) name servers may be listed, in that case
the resolver library queries tries them in the order
listed. If no n\bna\bam\bme\bes\bse\ber\brv\bve\ber\br entries are present, the
default is to use the name server on the local machine.
(The algorithm used is to try a name server, and if the
query times out, try the next, until out of name
servers, then repeat trying all the name servers until
a maximum number of retries are made).
d\bdo\bom\bma\bai\bin\bn
followed by a domain name, that is the default domain
to append to names that do not have a dot in them. If
no d\bdo\bom\bma\bai\bin\bn entries are present, the domain returned by
_\bg_\be_\bt_\bh_\bo_\bs_\bt_\bn_\ba_\bm_\be(2) is used (everything after the first
`.'). Finally, if the host name does not contain a
domain part, the root domain is assumed.
The name value pair must appear on a single line, and the
keyword (e.g. n\bna\bam\bme\bes\bse\ber\brv\bve\ber\br) must start the line. The value
follows the keyword, separated by white space.
F\bFI\bIL\bLE\bES\bS
/_\be_\bt_\bc/_\br_\be_\bs_\bo_\bl_\bv._\bc_\bo_\bn_\bf
S\bSE\bEE\bE A\bAL\bLS\bSO\bO
gethostbyname(3N), resolver(3), named(8)
Name Server Operations Guide for BIND
Printed 7/9/88 September 14, 1987 1