|
|
1.1 ! root 1: .\" Copyright (c) 1983 The Regents of the University of California. ! 2: .\" All rights reserved. ! 3: .\" ! 4: .\" Redistribution and use in source and binary forms are permitted provided ! 5: .\" that: (1) source distributions retain this entire copyright notice and ! 6: .\" comment, and (2) distributions including binaries display the following ! 7: .\" acknowledgement: ``This product includes software developed by the ! 8: .\" University of California, Berkeley and its contributors'' in the ! 9: .\" documentation or other materials provided with the distribution and in ! 10: .\" all advertising materials mentioning features or use of this software. ! 11: .\" Neither the name of the University nor the names of its contributors may ! 12: .\" be used to endorse or promote products derived from this software without ! 13: .\" specific prior written permission. ! 14: .\" THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR IMPLIED ! 15: .\" WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF ! 16: .\" MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. ! 17: .\" ! 18: .\" @(#)hosts.5 6.5 (Berkeley) 6/23/90 ! 19: .\" ! 20: .TH HOSTS 5 "June 23, 1990" ! 21: .UC 5 ! 22: .SH NAME ! 23: hosts \- host name data base ! 24: .SH DESCRIPTION ! 25: The ! 26: .I hosts ! 27: file contains information regarding ! 28: the known hosts on the network. ! 29: For each host a single line should be present ! 30: with the following information: ! 31: .HP 10 ! 32: official host name ! 33: .br ! 34: .ns ! 35: .HP 10 ! 36: Internet address ! 37: .br ! 38: .ns ! 39: .HP 10 ! 40: aliases ! 41: .PP ! 42: Items are separated by any number of blanks and/or ! 43: tab characters. A ``#'' indicates the beginning of ! 44: a comment; characters up to the end of the line are ! 45: not interpreted by routines which search the file. ! 46: .PP ! 47: When using the name server ! 48: .IR named (8), ! 49: this file provides a backup when the name server ! 50: is not running. ! 51: For the name server, it is suggested that only a few addresses ! 52: be included in this file. ! 53: These include address for the local interfaces that ! 54: .IR ifconfig (8C) ! 55: needs at boot time and a few machines on the local network. ! 56: .PP ! 57: This file may be created from the official host ! 58: data base maintained at the Network Information Control ! 59: Center (NIC), though local changes may be required ! 60: to bring it up to date regarding unofficial aliases ! 61: and/or unknown hosts. As the data base maintained at NIC ! 62: is incomplete, use of the name server is recommend for ! 63: sites on the DARPA Internet. ! 64: .PP ! 65: Network addresses are specified in the conventional ! 66: ``.'' notation using the \fIinet_addr\fP() routine ! 67: from the Internet address manipulation library, ! 68: .IR inet (3N). ! 69: Host names may contain any printable ! 70: character other than a field delimiter, newline, ! 71: or comment character. ! 72: .SH FILES ! 73: /etc/hosts ! 74: .SH "SEE ALSO" ! 75: gethostbyname(3N), ifconfig(8C), named(8) ! 76: .br ! 77: Name Server Operations Guide for BIND
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.