【杂】host文件

Copyright © 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

host文件是一个用来映射IP地址和Host name的规定,为了提高网络域名的解析效率,避免DNS域名解析与返回IP的时间,直接将要访问的域名与其ip地址进行静态的绑定

相关推荐
ybb_ymm4 小时前
mysql8在linux下的默认规则修改
linux·运维·数据库·mysql
半梦半醒*5 小时前
zabbix安装
linux·运维·前端·网络·zabbix
Panda__Panda6 小时前
docker项目打包演示项目(数字排序服务)
运维·javascript·python·docker·容器·c#
xx.ii6 小时前
Docker监控
运维·docker·容器
板鸭〈小号〉6 小时前
Socket网络编程(2)-command_server
运维·服务器
维尔切6 小时前
Docker 存储与数据共享
运维·docker·容器
温柔一只鬼.6 小时前
Docker快速入门——第四章Docker镜像
运维·docker·容器
温柔一只鬼.7 小时前
Docker快速入门——Windowns系统下Docker安装(2025最新理解与完整,附带WSL1如何升级为WSL2)
运维·docker·容器
何朴尧8 小时前
centos/cuos如何开启软件源
linux·运维·centos
csdn_Hzx9 小时前
Linux添加一个系统服务
linux·运维·服务器