Windows 7下方便的hosts文件修改小工具HostEditor V1.2免费下载

时间: 2010-06-03 / 分类: 资源下载 / 浏览次数: 1,592 人喜欢 / 0个评论 发表评论

hosts文件的简介

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

hosts文件位置及默认内容

hosts文件在不同操作系统(甚至不同Windows版本)的位置都不大一样:

1.Windows NT/2000/XP/Vista/7:默认位置为%SystemRoot%\system32\drivers\etc\,(C:\WINDOWS\system32\drivers\etc\hosts)但也可以改变。动态目录由注册表键\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\ Services\Tcpip\Parameters\DataBasePath决定。
2.Windows 95/98/Me:%WinDir%\
3.Linux及其它类Unix操作系统:/etc
4.Mac OS 9及更早的系统:System Folder: Preferences或System folder(文件格式可能与Windows和Linux所对应的文件不同)
5.Mac OS X:/private/etc(使用BSD风格的hosts文件)
6.OS/2及eComStation:”bootdrive”:\mptn\etc\
7.Symbian第1/2版手机:C:\system\data\hosts
8.Symbian第3版手机:C:\private\10000882\hosts,只能使用兼容 AllFiles的文件浏览器访问,大部分都不行[1]。

Windows 7的hosts 默认文件内容:

# 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

HostEditor V1.2 中文版下载地址:
http://freakshare.net/files/iw0hbshz/jackq.com_HostEditor-V1.2.zip.html
http://hotfile.com/dl/46233729/408761a/jackq.com_HostEditor_V1.2.zip.html

对经常在windows下需要操作hosts(测试或翻墙)的同学异常有用。

无觅相关文章插件

发表评论

您的昵称 *

您的邮箱 * (绝对保密)

您的网站

icon_wink.gif icon_neutral.gif icon_mad.gif icon_twisted.gif icon_smile.gif icon_eek.gif icon_sad.gif icon_rolleyes.gif icon_razz.gif icon_redface.gif icon_surprised.gif icon_mrgreen.gif icon_lol.gif icon_idea.gif icon_biggrin.gif icon_evil.gif icon_cry.gif icon_cool.gif icon_arrow.gif icon_confused.gif icon_question.gif icon_exclaim.gif 

*