- 01# Copyright (c) 1993-2009 Microsoft Corp.
- 02#
- 03# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
- 04#
- 05# This file contains the mappings of IP addresses to host names. Each
- 06# entry should be kept on an individual line. The IP address should
- 07# be placed in the first column followed by the corresponding host name.
- 08# The IP address and the host name should be separated by at least one
- 09# space.
- 10#
- 11# Additionally, comments (such as these) may be inserted on individual
- 12# lines or following the machine name denoted by a '#' symbol.
- 13#
- 14# For example:
- 15#
- 16# 102.54.94.97 rhino.acme.com # source server
- 17# 38.25.63.10 x.acme.com # x client host
- 18# localhost name resolution is handled within DNS itself.
- 19# 127.0.0.1 localhost
- 20# ::1 localhost
- 21Hosts文件目录:C:\Windows\System32\drivers\etc