【杂】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地址进行静态的绑定

相关推荐
骑着骆驼写程序12 分钟前
Ubuntu上部署前端项目报500错误
linux·运维·ubuntu
心机之蛙qee19 分钟前
docker的安装(RHEL9)
运维·docker·容器
徐子元竟然被占了!!38 分钟前
TURN协议
运维
霍格沃兹测试学院-小舟畅学1 小时前
Browserbase Skills:让 Claude Code 具备浏览器自动化能力的开源框架
运维·开源·自动化
小娄~~1 小时前
进程间通信
linux·运维·服务器
qq_452396231 小时前
第十九篇:《视觉回归测试:让UI自动化检测样式异常》
运维·ui·自动化
实心儿儿1 小时前
Linux —— 库的制作和原理(2)
linux·运维·服务器
yyuuuzz2 小时前
企业出海中的技术稳定性问题梳理
运维·服务器·网络·github·aws
angushine2 小时前
ffmpeg+nginx搭建HLS 推流
运维·nginx·ffmpeg
Yang96113 小时前
12 小时续航 + 1.5kg 便携!鼎讯信通 OTDR 适配复杂野外运维
运维·网络