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

相关推荐
m0_526119402 分钟前
ssh key生成,gitee配置ssh
运维·gitee·ssh
赋缘汇(fableshare)-黄从庆11 分钟前
Ubuntu重启后进入initramfs导致无法开机
linux·运维·ubuntu
CHINA红旗下18 分钟前
固定虚拟机的IP地址
运维·服务器·网络
DO_Community19 分钟前
百亿参数开源模型托管成本账:从按 Token 计费到单卡 GPU 服务器怎么选?
运维·服务器·开源·llm·agent
着迷不白23 分钟前
十、网络客户端工具curl, wget, ssh, scp, sftp, rsync
运维·网络·ssh
the sun3426 分钟前
集群架构实操:MySQL主、从节点配置
运维·服务器
睡不醒男孩03082337 分钟前
CLup篇之数据库传统运维对比
运维·数据库
changxiang1 小时前
Jenkins备忘
运维·jenkins
biter down1 小时前
4:Ubuntu 22.04 安装完成后的收尾与优化
linux·运维·ubuntu
热爱运维的小七1 小时前
深度解析|应用性能 + RUM + 拨测:现代 IT 运维的可观测性“铁三角”
运维·it运维·devops·apm·rum·网站拨测