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

相关推荐
AI小小怪3 小时前
在Linux服务器上安装CVAT (Docker 28.5.1)
运维·docker·容器·数据标注·cvat
KYGALYX6 小时前
在Linux中备份msyql数据库和表的详细操作
linux·运维·数据库
lang201509287 小时前
Linux高效备份:tar与gzip完全指南
linux·运维·服务器
wanhengidc7 小时前
云手机的基本原理
运维·服务器·游戏·智能手机·云计算
篙芷7 小时前
两台服务器 NFS 共享目录实战
运维·服务器
Hard but lovely8 小时前
linux: centos 软件包管理 yum源
linux·运维·centos
2301_816073838 小时前
Chrony服务器
运维·服务器
学网络的APang9 小时前
Apache HTTP Server 2.4.65 详细安装教程(基于 CentOS 7)
运维·网络
非典型代码9 小时前
Jenkins发不出邮件
运维·servlet·jenkins
b***25119 小时前
储能电池组的生产流程|深圳比斯特自动化
运维·自动化