Annotation of 43BSDTahoe/man/man7/hostname.7, revision 1.1

1.1     ! root        1: .\" Copyright (c) 1987 Regents of the University of California.
        !             2: .\" All rights reserved.  The Berkeley software License Agreement
        !             3: .\" specifies the terms and conditions for redistribution.
        !             4: .\"
        !             5: .\"    @(#)hostname.7  6.1 (Berkeley) 11/21/87
        !             6: .\"
        !             7: .TH HOSTNAME 7 "November 21, 1987"
        !             8: .UC 5
        !             9: .SH NAME
        !            10: hostname \- host name resolution description
        !            11: .SH DESCRIPTION
        !            12: Hostnames are domains, where a domain is a hierarchical, dot-separated
        !            13: list of subdomains; for example, the machine monet, in the Berkeley
        !            14: subdomain of the EDU subdomain of the ARPANET would be represented as
        !            15: .br
        !            16:                monet.Berkeley.EDU
        !            17: .br
        !            18: (with no trailing dot).
        !            19: .PP
        !            20: Hostnames are often used with network client and server programs,
        !            21: which must generally translate the name to an address for use.
        !            22: (This function is generally performed by the library routine
        !            23: .IR gethostbyname (3).)
        !            24: Hostnames are resolved by the internet name resolver in the following
        !            25: fashion.
        !            26: .PP
        !            27: If the name consists of a single component, i.e. contains no dot,
        !            28: and if the environment variable ``HOSTALIASES'' is set to the name of a file,
        !            29: that file is searched for an string matching the input hostname.
        !            30: The file should consist of lines made up of two white-space separated strings,
        !            31: the first of which is the hostname alias,
        !            32: and the second of which is the complete hostname
        !            33: to be substituted for that alias.
        !            34: If a case-sensitive match is found between the hostname to be resolved
        !            35: and the first field of a line in the file, the substituted name is looked
        !            36: up with no further processing.
        !            37: .PP
        !            38: If the input name ends with a trailing dot,
        !            39: the trailing dot is removed,
        !            40: and the remaining name is looked up with no further processing.
        !            41: .PP
        !            42: If the input name does not end with a trailing dot, it is looked up in
        !            43: the local domain and its parent domains until either a match is found
        !            44: or fewer than 2 components of the local domain remain.  For example,
        !            45: in the domain CS.Berkeley.EDU, the name lithium.CChem will be checked first
        !            46: as lithium.CChem.CS.Berkeley.EDU and then as lithium.CChem.Berkeley.EDU.
        !            47: Lithium.CChem.EDU will not be tried, as the there is only one component
        !            48: remaining from the local domain.
        !            49: .SH SEE ALSO
        !            50: gethostbyname(3), resolver(5), mailaddr(7), named(8), RFC883

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.