Here we are interested in the line Hosts. This order is installed in the configuration file /etc/nf There is a specific search order, according to which it is performed. I said that the operating system immediately sends a request to the DNS server, but this is not quite so. In this article, we will look at how to configure the Hosts file in Linux, and what opportunities it provides us.īefore we bypassing the Hosts file itself, you need to figure out how the IP address is searching for a domain name in Linux. It most often was used in order to quickly block access to any resource. If you used to use Windows, you probably have already heard about such a file. For example, when we appeal to the domain Localhost, always the request is sent to our local computer. When you need any program to contact the site on its domain name, the operating system sends a request to the DNS server to find out what ip it further transmits packets. The DNS domain name system is used to determine which IP belongs to the desired domain on the Internet. HOSTS file in Linux how to change the hosts file
0 Comments
Leave a Reply. |