The HOSTS file is used as a local Domain Name System (DNS) equivalent to resolve host names to Internet Protocol (IP) addresses. MS does not say it can block website listed.