1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118
|
.\" Hey, Emacs! This is an -*- nroff -*- source file.
.\" Copyright (c) 2000 Manoj Srivastava <srivasta@debian.org>
.\"
.\" This is free documentation; you can redistribute it and/or
.\" modify it under the terms of the GNU General Public License as
.\" published by the Free Software Foundation; either version 2 of
.\" the License, or (at your option) any later version.
.\"
.\" The GNU General Public License's references to "object code"
.\" and "executables" are to be interpreted as the output of any
.\" document formatting or typesetting system, including
.\" intermediate and printed output.
.\"
.\" This manual is distributed in the hope that it will be useful,
.\" but WITHOUT ANY WARRANTY; without even the implied warranty of
.\" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
.\" GNU General Public License for more details.
.\"
.\" You should have received a copy of the GNU General Public
.\" License along with this manual; if not, write to the Free
.\" Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139,
.\" USA.
.\"
.\" (minor polishing, aeb)
.\"
.\" Japanese Version Copyright (c) 2000 Yuichi SATO
.\" all rights reserved.
.\" Translated Sun Sep 24 05:53:22 JST 2000
.\" by Yuichi SATO <sato@complex.eng.hokudai.ac.jp>
.\"
.TH HOSTS 5 2000-03-12 "Debian" "Debian GNU/Linux manual"
.SH ̾
hosts \- ۥ̾Ūʥååץơ֥
.SH
.B /etc/hosts
.SH
Υޥ˥奢ڡϡ
.I /etc/hosts
եΥեޥåȤˤĤƵҤƤ롣
Υեϴñʥƥȥեǡ1 Ԥ 1 Ĥ IP ɥ쥹ꡢ
IP ɥ쥹ȥۥ̾ϢŤƤ롣
ƥۥȤˤĤơΤ褦ʾ 1 ԤͿ롣
.RS
.PP
IP-ɥ쥹 ʥۥ̾ ꥢ
.RE
.PP
ȥΥեɤϡޤϥ (ʣǤ) Ƕڤ롣
"#" ʸޤǤΥƥȤϥȤȤ̵뤵롣
ۥ̾ϡեɤζڤʸԡʸʳ
ƤΰǽʸޤळȤǤ롣
ꥢϡ̾ѹۤʤ륹ڥ롦û̾(㤨
.I localhost
Τ褦) Ūʥۥ̾롣
ۥȥơ֥ΥեޥåȤ RFC 952 ˵ҤƤ롣
.PP
Berkeley Internet Name Domain (BIND) Фϡ
UNIX ƥΤΥͥåȥ͡ॵФƤ롣
ϡ
.I /etc/hosts
եۥ̾ååפ֤ۥȤ
.I /etc/hosts
ǿǴǤʤФʤʤ˰¸Ƥ뤳Ȥ롣
.PP
ۥȥơ֥ϡDNS ˤȤä줿ˤ⤫餺
ߤΥƥˤƼΤ褦ӤǹȤƤ롣
.TP
.B ֡Ȼ
ʬΥƥϡͥåȥˤƽפʥۥȤ
̾ȥɥ쥹ޤޤ줿ʥۥȥơ֥äƤ롣
ϡƥΥ֡Ȼʤɤ DNS ƯƤʤȤΩġ
.TP
.B NIS
NIS ѤƤ륵Ȥϡۥȥơ֥
NIS ۥȥǡ١ϤȤѤ롣
NIS DNS ȶ˻ѤǤˤ⤫餺
ʬ NIS Ȥ̤ˡ
ƤΥۥȤΥȥĥۥȥơ֥
ХååפȤƻѤƤ롣
.TP
.B 䤵줿Ρ
ͥåȥ䤵줿˾ʥȤϡ
DNS ˥ۥȥơ֥ѤƤ롣
ˤѹ줺
ͥåȥͥåȤ³Ƥʤ硢
DNS ˤۤɤϤʤ
.SH
.nf
127.0.0.1 localhost
192.168.1.10 foo.mydomain.org foo
192.168.1.13 bar.mydomain.org bar
216.234.231.5 master.debian.org master
205.230.163.103 www.opensource.org
.fi
.SH Ū
DNS оۥȥơ֥ϡФФΥͥåȤˤ
ۥ̾ͣˡǤä
ºݡΥե Network Information Control Center (NIC) ˤä
ۥȥǡ١뤳ȤǤ
ʥꥢʥۥȤ褦ˡ
ǿݤĤΥѹˤɬפȤ줿
NIC ϴ hosts.txt Ƥʤ
Ƥ (2000 ǯ) Ĵ٤Ƥߤȡ
WWW Ū hosts.txt ¸ߤ롣
92, 94, 95 ǯΤΤĤä
.SH ե
.I /etc/hosts
.SH Ϣ
.BR hostname (1),
.BR resolver (3),
.BR resolver (5),
.BR hosts (5),
.BR hostname (7),
.BR named (8),
Internet RFC 952
.SH
Υޥ˥奢ڡϡDebian GNU/Linux ƥΤ
Manoj Srivastava <srivasta@debian.org> ˤäƽ줿
|