RESOLV.CONF(5,F) AIX TCP/IP User's Guide RESOLV.CONF(5,F)
-------------------------------------------------------------------------------
resolv.conf
PURPOSE
Contains information that is read by the resolver routines the first time they
are invoked by a process.
SYNOPSIS
/etc/resolv.conf
DESCRIPTION
The resolv.conf file contains information that is read by the resolver routines
the first time they are invoked by a process. The file contains a list of name
value pairs that provide various types of resolver information.
On a normally configured system, this file should not be necessary. The only
nameserver to be queried is on the local machine. The domain name is retrieved
from the system.
The different configuration options are:
nameserver followed by the Internet address (in dot notation) of a nameserver
that the resolver should query. At least one nameserver should be
listed. Up to MAXNS (currently 3), nameservers may be listed. In
that case, the resolver library queries try them in the order
listed. If no nameserver entries are present, the default is to
use the nameserver on the local machine. (The algorithm used is
to try a nameserver, and if the query times out, try the next,
until you run out of nameservers, then repeat trying all the
nameservers until a maximum number of reentries are made).
domain followed by a domain name, that is the default domain to append to
names that do not have a dot in them. If no domain entries are
present, the domain returned by gethostname 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 (such as
nameserver) must start the line. The value follows the keyword, separated by
white space.
EXAMPLES
domain dan.ibm.com
nameserver 192.100.10.1
Processed October 29, 1990 RESOLV.CONF(5,F) 1
RESOLV.CONF(5,F) AIX TCP/IP User's Guide RESOLV.CONF(5,F)
FILES
/etc/resolv.conf
RELATED INFORMATION
In this book: "named"
gethostbyname, refer to AIX Operating System Technical Reference
resolver, refer to AIX Operating System Technical Reference
Processed October 29, 1990 RESOLV.CONF(5,F) 2