删了C:\WINDOWS\system32\drivers\etc下的hosts文件对电脑会有什么影响?

来源:百度知道 编辑:UC知道 时间:2024/06/17 05:14:48
我不小心把C:\WINDOWS\system32\drivers\etc的文件都删了.对系统有什么影响呀?

HOST文件就是DNS对应关系的一个缓存。删了没事,没什么影响,重启动会重新生成一个。

如果没有生成。
那么你新建立一个记事本,改名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

保存 一切 OK!!!

对上网会有影响 一些软件也会有影响

电脑不能进行快速运行,病毒容易侵入