查看: 1005|回复: 4
收起左侧

[网络] 请高手帮忙:最原始的hosts文件是什么样子?(已解决)

[复制链接]
timewarps
发表于 2019-3-2 12:25:19 | 显示全部楼层 |阅读模式
本帖最后由 timewarps 于 2019-3-2 13:46 编辑


我想把hosts文件里的东西清理一下,想把它恢复到最开始(系统刚装完)的样子。

请教刚刚装完系统(比如winodws 10),这时的hosts文件,用txt记事本打开,到底是什么样子呢?

sjt524
发表于 2019-3-3 01:30:49 | 显示全部楼层
应该是全部删掉,host没有内容就会去访问dns

评分

参与人数 1人气 +1 收起 理由
timewarps + 1 感谢解答: )

查看全部评分

为所欲为666
发表于 2019-3-3 18:24:52 | 显示全部楼层
# 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
风之咩~
发表于 2019-3-3 21:02:20 | 显示全部楼层
最原始的就是空白    你看到的只是注释说明而已
wwdboy
发表于 2019-3-4 22:01:38 | 显示全部楼层
3楼真相了
您需要登录后才可以回帖 登录 | 快速注册

本版积分规则

手机版|杀毒软件|软件论坛| 卡饭论坛

Copyright © KaFan  KaFan.cn All Rights Reserved.

Powered by Discuz! X3.4( 沪ICP备2020031077号-2 ) GMT+8, 2024-4-25 15:41 , Processed in 0.127887 second(s), 17 queries .

卡饭网所发布的一切软件、样本、工具、文章等仅限用于学习和研究,不得将上述内容用于商业或者其他非法用途,否则产生的一切后果自负,本站信息来自网络,版权争议问题与本站无关,您必须在下载后的24小时之内从您的电脑中彻底删除上述信息,如有问题请通过邮件与我们联系。

快速回复 客服 返回顶部 返回列表