This means that you can use the hosts file to add to what the DNS servers can't provide (such as aliases for locations on your local network, which is otherwise only possible if you have a DNS server set up within your local network) or override the IP addresses that your DNS servers would normally provide.įor example, if you ask for, the DNS servers will return Wikipedia's IP address to your computer. Turns out, your system will check the hosts file first before looking up a site on the DNS servers defined in your network settings (usually your ISP's DNS servers). Instead, there might be just a couple of lines and that's it. If you open the hosts file, you'll quickly notice that it doesn't have the directory of the entire internet in there. When you type in a hostname, such as, your system will look into the hosts file to get the IP address needed to connect to the appropriate server.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |