hosts and DNS priority

When the user enters a URL that needs to be logged in in the browser, the system will first search for the corresponding IP address from the hosts file , and once found, the system will immediately open the corresponding webpage.

If not found, the system will submit the URL to the DNS domain name resolution server for IP address resolution.

The request level of hosts is higher than that of DNS.

Guess you like

Origin blog.csdn.net/u013400314/article/details/131716261