Summary The hosts file is the first place Windows checks for IP addresses when connecting to websites and can be manually edited to block access to specific websites. The hosts file is the first place your PC will check to find an IP address for a website, but by default, the hosts file doesn't contain any. That means the browser ignores the hosts file entirely and uses a secured DNS server specified by the browser instead, so any addresses you attempt to block using the hosts file will be accessible.