首页 > 编程知识 正文

hosts文件的用途和用法,HOSTS文件

时间:2023-05-05 09:46:50 阅读:215330 作者:4508

C:WindowsSystem32driversetchosts

1 # Copyright (c) 1993-2009 Microsoft Corp. 2 # 3 # This is a sample HOSTS file used by Microsoft TCP/IP for Windows. 4 # 5 # This file contains the mappings of IP addresses to host names. Each 6 # entry should be kept on an individual line. The IP address should 7 # be placed in the first column followed by the corresponding host name. 8 # The IP address and the host name should be separated by at least one 9 # space.10 #11 # Additionally, comments (such as these) may be inserted on individual12 # lines or following the machine name denoted by a '#' symbol.13 #14 # For example:15 #16 # 102.54.94.97 rhino.acme.com # source server17 # 38.25.63.10 x.acme.com # x client host18 19 # localhost name resolution is handled within DNS itself.20 # 127.0.0.1 localhost21 # ::1 localhost

版权声明:该文观点仅代表作者本人。处理文章:请发送邮件至 三1五14八八95#扣扣.com 举报,一经查实,本站将立刻删除。