删了C:\WINDOWS\system32\drivers\etc下的hosts文件对电脑会有什么影响?
我不小心把C:\WINDOWS\system32\drivers\etc的文件都删了.对系统有什么影响呀?...
我不小心把C:\WINDOWS\system32\drivers\etc的文件都删了.对系统有什么影响呀?
展开
3个回答
展开全部
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!!!
如果没有生成。
那么你新建立一个记事本,改名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!!!
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询