hosts是什么文件_window7如何修改hosts
hosts文件内容是什么?hosts是一个没有扩展名的系统文件,其基本作用便是将一些常用的网址域名与其对应的ip地址建立一个关联“数据库”。有些用户不小心删除了hosts文件,就需要重新建了一个hosts文件。今天主编为大家共享一下hosts文件默认的内容。
win7的hosts 默认文件
文件地址:C:winsystem32driversetchosts
默认里面的内容如下:
-------------------------------------------------------
# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HosTs file used by Microsoft TCp/ip for win.
#
# This file contains the mappings of ip addresses to host names. Each
# entry should be kept on an inpidual 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 inpidual
# 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
-------------------------------------------------------
上述便是hosts文件的内容。
系统下载推荐
本站发布的系统与软件仅为个人学习测试使用,不得用于任何商业用途,否则后果自负,请支持购买微软正版软件!
Copyright @ 2022 win10 64位系统版权所有