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

相关推荐
夜影风3 小时前
Linux系统中自签名HTTPS证书
linux·运维·https
wb1893 小时前
流编辑器sed
运维·笔记·ubuntu·云计算
成工小白4 小时前
【Linux】C语言模拟实现shell命令行(程序替换原理)
linux·运维·服务器
福理原乡大王6 小时前
Linux信号详解
linux·运维·服务器·c++·ubuntu·信号处理
孙克旭_7 小时前
day031-Shell自动化编程-数组与案例
linux·运维·自动化
喜欢踢足球的老罗7 小时前
自动化模型管理:MediaPipe Android SDK 中的模型文件下载与加载机制
android·运维·自动化
遇见火星7 小时前
自动化KVM虚拟机创建脚本详解:从模板到高效部署的线上实践!
运维·自动化·kvm
火山引擎开发者社区7 小时前
TickIt:基于 LLM 的自动化 Oncall 升级
运维·自动化·火山引擎
자신을 변화시키다8 小时前
磁盘配额管理
linux·运维·服务器·ubuntu·磁盘管理
zandy10118 小时前
低代码二次开发指南:基于HENGSHI SENSE的自动化报表生成教程
运维·低代码·自动化·教程·报表·bi报表