1, about/etc/host, hostname and IP configuration file Hosts-the static table lookup for host name (host-Name query-still tables) Hosts file is a Linux system responsible for the rapid resolution of IP address and domain name files, in ASCII format
Hosts file
Hosts--the static table lookup for host name (host name query for static tables).
The Hosts file is the last file in the Linux system responsible for fast resolution of IP addresses and domain names, saved in ASCII format under
/etc/resolv.confThe file is a configuration file for DNS domain name resolution, and its format is simple, with each line beginning with a keyword followed by configuration parameters. There are four key words in resolv.conf, namely:nameserver
1. Noun analysisHost Name:Whether it is on the LAN or the Internet, each host has an IP address to distinguish the current machine (in fact, the bottom is the use of the physical address of the machine), that is, the IP address is a host number, the
1, about/etc/host, hostname and IP configuration fileHosts-the static table lookup for host name (host-Name query-still tables)The Hosts file is a file that is responsible for the fast resolution of IP addresses and domain names in the Linux system,
Article title: hosts file under unix. Linux is a technology channel of the IT lab in China. Includes basic categories such as desktop applications, Linux system management, kernel research, embedded systems, and open source.
1. about/etc/host, host
1. About/etc/host, hostname and IP profile hosts:the static table lookup for Host name (hostname query static table) Linux/etc/hosts is the configuration IP address and It corresponds to the hostname of the file, where you can log the machine or
Double-click mutual trust, that is, mutual parsing and do not need to enter a password to log on to another server, the cluster services, such as MySQL master and slave, heartbeat do high availability, copy file transfer, provide fast and convenient
If you use Linux as your work environment, this article is a good news! Because I often use SSH to log on to other hosts during my study/work (especially recently Playing Raspberry Pi), and every time I use SSH to log on, I need to enter a long
localhostLocalHost in the computer network, localhost (meaning "local host" means "this computer") is a standard host name for The Loop network Interface (loopback), and the corresponding IP address is 127.0.0.1 (IPV4) and [:: 1] (IPV6).
Directory
1
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.