Host name analysis

xiaoxiao2021-03-06  82

Host name resolution is a mapping process named IP address. This process is usually used to find the IP address of a given host name.

/ etc / inet / hosts is the most basic, oldest hostname parsing method. It is now generally only used in some small private networks.

Typical HOSTS files as follows: # # internet host table # 127.0.0.1 localhost 192.168.1.100 dbse 192.168.1.8 PhoneLear

When analyzing the host name, you will scan each row of the HOSTS file from the head until you can get the first record of the first match. So if there are multi-line host records in the file, each time only uses the first matching record, other records will be ignored. You can find the hosts file in the X: / WinNT / System32 / Drivers / etc / directory under Win2K. Reverse hostname parsing is used to find the IP address of the specified hostname host. If you use the / etc / inet / host file to resolve the host name, the reverse hostname is automatically valid.

转载请注明原文地址:https://www.9cbs.com/read-95171.html

New Post(0)