The computer file hosts is an operating system file that maps hostnames to IP addresses. It is a plain text file. Originally a file named HOSTS.TXT was manually maintained and made available via file sharing by Stanford Research Institute for the ARPANET membership, containing the hostnames and address of hosts as contributed for inclusion by member organizations. The Domain Name System, first described in 1983 and implemented in 1984, automated the publication process and provided instantaneous and dynamic hostname resolution in the rapidly growing network. In modern operating systems, the hosts file remains an alternative name resolution mechanism, configurable often as part of facilities such as the Name Service Switch as either the primary method or as a fallback method.
Extending and consolidating hosts files from several well-curated sources like adaway.org, mvps.org, malwaredomainlist.com, someonewhocares.org, and potentially others. You can optionally invoke extensions to block additional sites by category.
This repository consolidates several reputable
hosts files, and merges them
into a unified hosts file with duplicates removed. A variety of tailored hosts files are provided.
Here’s the raw hosts file with base extensions containing 42,826 entries.
List of all hosts file variants
This repository offers 15 different host file variants, in addition to the base variant.
The Non GitHub mirror is the link to use for some hosts file managers like Hostsman for Windows that don’t work with Github download links.
|Host file recipe||Readme||Raw hosts||Unique domains||Non Github mirror|
|Unified hosts = (adware + malware)||Readme||link||42,826||link|
|Unified hosts + fakenews||Readme||link||43,768||link|
|Unified hosts + gambling||Readme||link||45,098||link|
|Unified hosts + porn||Readme||link||54,924||link|
|Unified hosts + social||Readme||link||45,301||link|
|Unified hosts + fakenews + gambling||Readme||link||46,040||link|
|Unified hosts + fakenews + porn||Readme||link||55,866||link|
|Unified hosts + fakenews + social||Readme||link||46,243||link|
|Unified hosts + gambling + porn||Readme||link||57,196||link|
|Unified hosts + gambling + social||Readme||link||47,573||link|
|Unified hosts + porn + social||Readme||link||57,398||link|
|Unified hosts + fakenews + gambling + porn||Readme||link||58,138||link|
|Unified hosts + fakenews + gambling + social||Readme||link||48,515||link|
|Unified hosts + fakenews + porn + social||Readme||link||58,340||link|
|Unified hosts + gambling + porn + social||Readme||link||59,670||link|
|Unified hosts + fakenews + gambling + porn + social||Readme||link||60,612||link|
Expectation: These unified hosts files should serve all devices, regardless of OS.