hosts文件位置 hosts文件位置|hosts文件在哪|hosts文件内容

hosts文件位置|hosts文件在哪|hosts文件内容――简介

hosts文件是一个用于储存计算机网络中各节点信息的计算机文件。这个文件负责将主机域名映射到相应的IP地址。hosts文件通常用于补充或取代网络中DNS的功能。和DNS不同的是,计算机的用户可以直接对hosts文件进行控制。hosts文件的作用非常大,可以自由解析域名。

hosts文件位置|hosts文件在哪|hosts文件内容――hosts文件位置在不同操作系统的位置不大一

hosts文件位置|hosts文件在哪|hosts文件内容 1、

Windows NT/2000/XP/Vista/win7(即微软NT系列操作系统):
默认位置为 %SystemRoot%system32driversetc,但也可以改变。
典型的XP系统hosts文件位置:C:windowssystem32driversetc


hosts文件位置|hosts文件在哪|hosts文件内容 2、

Windows 95/98/Me:%WinDir%


hosts文件位置|hosts文件在哪|hosts文件内容 3、

Linux及其他类Unix操作系统:/etc


hosts文件位置|hosts文件在哪|hosts文件内容 4、

苹果系:
Mac OS 9及更早的系统:System Folder: Preferences或System folder(文件格式可能与Windows和Linux所对应的文件不同)
Mac OS X:/private/etc(使用BSD风格的hosts文件)


hosts文件位置|hosts文件在哪|hosts文件内容 5、

iPhone OS:/etc


hosts文件位置|hosts文件在哪|hosts文件内容 6、

iPad OS:/private/etc


hosts文件位置|hosts文件在哪|hosts文件内容 7、

Symbian第1/2版手机:C:systemdatahosts


hosts文件位置|hosts文件在哪|hosts文件内容 8、

Symbian第3版手机:C:private10000882hosts,只能使用兼容AllFiles的文件浏览器访问,大部分都不行。

hosts文件位置|hosts文件在哪|hosts文件内容――hosts文件内容

hosts文件位置|hosts文件在哪|hosts文件内容 1、

  用记事本打开hosts文件,就可以看见了微软对这个文件的说明。Hosts文件文一般有如下面的基本内容
  # Copyright (c) 1993-1999 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
  127.0.0.1 localhost

hosts文件位置 hosts文件位置|hosts文件在哪|hosts文件内容

  

爱华网本文地址 » http://www.413yy.cn/a/8104520103/290973.html

更多阅读

itunes备份文件在哪 itunes备份文件夹更改

itunes备份文件在哪——简介很多人在刷机的时候都会使用到iTunes备份功能!有的备份后却不知道itunes备份文件在哪!因为系统不同,itunes备份文件位置也有多不同, 这里小编就为大家整理了itunes备份文件在哪- XP、win7、mac三个系统的备份

qq离线文件在哪找 qq离线文件在哪找ipad

qq离线文件在哪找——简介离线文件保存在哪里?qq离线文件在哪找,下面小编就来给大家找到这个具体的位置qq离线文件在哪找——方法/步骤qq离线文件在哪找 1、qq发送的离线文件默认保存7天,不管我们是否接收,都会保存7天,小编这个文件已

声明:《hosts文件位置 hosts文件位置|hosts文件在哪|hosts文件内容》为网友风与水的痕迹分享!如侵犯到您的合法权益请联系我们删除