求win10 64位hosts默认文件?
原创

求win10 64位hosts默认文件?

好文
试试语音读文章

热门回答:

您好您是想修改hosts文件是吧

路径在

C:\Windows\System32\drivers\etc

建议先修改权限。否则无法更改

建议像我这样设置user权限

以上设置只是用于个人电脑。服务器设置后有安全隐患。慎重

ヽ(*゚ー゚*)ノ我是一个爱折腾的up主。纯爱好。爱折腾。擅长软件安全。网络安全。数据安全。WEB服务器安全。等技术。关注我。学习更多网络知识

其他观点:

Windows 10 64位的默认文件一般在C:\Windows\System32\drivers\etc目录下。

有些系统在此目录下是没有hosts文件的。如果没此文件。可以在其他目录新建一个hosts文件。然后复制到C:\Windows\System32\drivers\etc目录。

正常情况下不建议修改此文件。如果需要修改。建议先备份。然后把hosts文件复制到其他非系统目录(如桌面)。修改后再复制C:\Windows\System32\drivers\etc目录并替换hosts文件。

注意:千万不要在C:\Windows\System32\drivers\etc目录直接修改hosts文件。这样是无法保存的。

下面是Windows 10 64位的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

#::1 localhost

其他观点:

位置:

C:\Windows\System32\drivers\etc

内容:

# 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:

# localhost name resolution is handled within DNS itself.

#127.0.0.1 localhost

#::1 localhost

您还感兴趣的文章推荐

以上就是由互联网推广工程师 网创网 整理编辑的,如果觉得有帮助欢迎收藏转发~

分享到 :
相关推荐

发表评论

您的电子邮箱地址不会被公开。

评论(2)

  • 陌上柳絮倾城雪 永久VIP 2022年12月27日 14:55:37

    文件,目录,建议,权限,观点,服务器,内容,目录下,个人电脑,在此

  • 旧日梦 永久VIP 2022年12月27日 14:55:37

    没想到大家都对求win10 64位hosts默认文件?感兴趣,不过这这篇解答确实也是太好了

  • 意中人 永久VIP 2022年12月27日 14:55:37

    您好您是想修改hosts文件是吧路径在C:\Windows\System32\drivers\etc建议先修改权限