我想知道下面这是什么意思?# Copyright (c) 1993-2009 Microsoft Corp.## This is a sample HOSTS file used by Microsoft TCP/IP for Windows.## This file contains the mappings of IP addresses to host names.Each# entry should be kept on an indivi

来源:学生作业帮助网 编辑:作业帮 时间:2024/11/09 02:40:49

我想知道下面这是什么意思?# Copyright (c) 1993-2009 Microsoft Corp.## This is a sample HOSTS file used by Microsoft TCP/IP for Windows.## This file contains the mappings of IP addresses to host names.Each# entry should be kept on an indivi
我想知道下面这是什么意思?
# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names.Each
# entry should be kept on an individual line.The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally,comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
127.0.0.1 activate.adobe.com

我想知道下面这是什么意思?# Copyright (c) 1993-2009 Microsoft Corp.## This is a sample HOSTS file used by Microsoft TCP/IP for Windows.## This file contains the mappings of IP addresses to host names.Each# entry should be kept on an indivi
版权(c)1993-2009 Microsoft Corp.
这是Windows系统 微软 TCP/IP 协议使用的主机文件样本.
此文件包含从IP地址到主机名的映射.每个入口应该使用单独的通道.IP地址应该放在第一列,然后后面是其对应的主机名.IP地址和主机名之间至少要用一个空格隔开.
另外,注释信息应该另起一行,或者放在主机名后面,用井号“#”做标识.
例如:
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host
本地主机名的转化由 DNS 本身操作.
# 127.0.0.1 localhost
# ::1 localhost
127.0.0.1 activate.adobe.com
翻译的不好,能看懂就行吧.