Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

named(8)

gethostbyname(3)



  resolv.conf(4)                      CLIX                      resolv.conf(4)



  NAME

    resolv.conf - Domain Name System (DNS) client configuration file

  DESCRIPTION

    The /etc/resolv.conf 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 provide various types of resolver information.

    The format of the file is as follows:

    domain    full-domain-name
    nameserver     primary-name-server-IP-address
    nameserver     secondary-name-server-IP-address

    The different configuration options are as follows:

    domain This keyword must be 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(2)
           is used (everything after the first ``.'').  If the host name does
           not contain a domain part, the root domain is assumed.

    nameserver
           This keyword must be 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.

           If more than one nameserver is listed, the resolver library queries
           them in the order listed.  If no nameserver 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 there are no more name servers to try, then
           repeat trying all the name servers until a maximum number of
           retries have been made.

    The name value pair must appear on a single line, and the keyword (e.g.,
    nameserver) must start the line.  The value follows the keyword, separated
    by white space.

  EXAMPLES

    In the following sample /etc/resolv.conf file, the domain is b2a.jax.com.
    The primary nameserver IP address is 192.135.252.155.  The address of the
    secondary nameserver is 192.135.200.20.

    ; resolv.conf used by the DNS product.
    ;



  2/94 - Intergraph Corporation                                              1






  resolv.conf(4)                      CLIX                      resolv.conf(4)



    domain    b2a.jax.com
    nameserver     192.135.252.155
    nameserver     192.135.200.20


  CAUTIONS

    Trailing spaces are not allowed on the domain line.  Any trailing spaces
    will cause the default domain to be set to a name ending with one or more
    spaces.

  RELATED INFORMATION

    Commands:  named(8)

    Functions:  gethostbyname(3)






































  2                                              Intergraph Corporation - 2/94




Typewritten Software • bear@typewritten.org • Edmonds, WA 98026