home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 1 / ARM_CLUB_CD.iso / contents / apps / program / k / resolv210 / 5 / resolver
Encoding:
Text File  |  1994-06-08  |  3.0 KB  |  75 lines

  1.     RESOLVER(5)                     December 14, 1989
  2.  
  3.  
  4. NAME
  5.     resolver \- resolver configuration file
  6.  
  7. SYNOPSIS
  8.     /etc/resolv.conf
  9.  
  10. DESCRIPTION
  11.     The resolver is a set of routines in the C library (resolv (3))
  12. that provide access to the Internet Domain Name System. The resolver
  13. configuration file contains information that is read by the resolver routines
  14. the first time they are invoked by a process. The file is designed to be
  15. human readable and contains a list of keywords with values that provide
  16. various types of resolver information.
  17.  
  18.     On a normally configured system this file should not be necessary. 
  19. The only name server to be queried will be on the local machine, the domain
  20. name is determined from the host name, and the domain search path is
  21. constructed from the domain name.
  22.  
  23. The different configuration options are:
  24.  
  25. • nameserver
  26.   Internet address (in dot notation) of a name server that the resolver 
  27.   should query.
  28.   Up to MAXNS (currently 3) name servers may be listed, one per keyword. If
  29.   there are multiple servers, the resolver library queries them in the order
  30.   listed. If no nameserver entries are present, the default is to use the
  31.   name server on the local machine. (The algorithm used is to try a name
  32.   server, and if the query times out, try the next, until out of name
  33.   servers, then repeat trying all the name servers until a maximum number of
  34.   retries are made).
  35.  
  36. • domain
  37.   Local domain name.
  38.   Most queries for names within this domain can use short names relative to
  39.   the local domain. If no domain entry is present, the domain is determined
  40.   from the local host name returned by gethostname; the domain part is taken
  41.   to be everything after the first `.´.
  42.   Finally, if the host name does not contain a domain part, the root domain
  43.   is assumed.
  44.  
  45. • search
  46.   Search list for host-name lookup.
  47.   The search list is normally determined from the local domain name; by
  48.   default, it begins with the local domain name, then successive parent
  49.   domains that have at least two components in their names. This may be
  50.   changed by listing the desired domain search path following the search
  51.   keyword with spaces or tabs separating the names. Most resolver queries
  52.   will be attempted using each component of the search path in turn until
  53.   a match is found.
  54.   Note that this process may be slow and will generate a lot of network
  55.   traffic if the servers for the listed domains are not local, and that
  56.   queries will time out if no server is available for one of the domains.
  57.  
  58.   The search list is currently limited to six domains with a total of 256
  59.   characters.
  60.  
  61.   The domain and search keywords are mutually exclusive. If more than one
  62.   instance of these keywords is present, the last instance will override.
  63.  
  64.  The keyword and value must appear on a single line, and the keyword
  65.  (e.g. nameserver) must start the line. The value follows the keyword,
  66.  separated by white space.
  67.  
  68. FILES
  69.     /etc/resolv.conf
  70.  
  71. SEE ALSO
  72.     gethostbyname(3N), resolver(3), hostname(7), named(8)
  73.  
  74.     Name Server Operations Guide for BIND
  75.