Awesome Open Source
Awesome Open Source

The Ultimate Hosts Blacklist - Largest Unified Hosts File in the Universe

Unified Hosts File - Ultimate Hosts File blacklist consolidating hosts files from multiple well-curated and tested sources. Best Network Blocker to Protect your Children, Your Family and Yourself from accessing Bad Web Sites

Updated Fueled By
Daily ✔️ Hosts File - Ultimate Hosts Blacklist
Build Status DUB

The Ultimate Hosts Blacklist is undoubtedly one of the world's largest curated Unified Hosts file for protecting your computer or device against over several hundred thousand bad web sites. Use this Hosts File to protect your network, your children and your family from gaining access to millions of bad web sites. Protect your wifi network, computers and smartphone devices from being infected with Malware or Ransomware.

Our hosts file is for use on any operating system to block bad domains out of your servers or devices. Information is gathered from multiple sources, tested regularly and merged into one massive hosts file and updated daily.

Follow @ubuntu101za


  • Version: V1.2336.2021.05.02

  • Total Bad Hosts in hosts file: 299,797

  • Total Bad IP's in hosts.deny file: 140,007

  • Total Bad Hosts and IP's in superhosts.deny file: 439,804

    ❗️ Yes you did indeed read those numbers correctly ❗️


Click the link below to see all the sources used as input data to create this hosts list.

SOURCES OF INPUT DATA USED TO CREATE THIS HOSTS FILE


DNS Server

Are our files too large for your machine or you can't touch your hosts file ? Use our DNS servers.

NOTICE: THIS IS THE RECOMMENDED METHOD FOR WINDOWS USER.

DNS Name safedns.allover.co.za safedns2.allover.co.za
IPv4 88.198.70.38 88.198.70.39
IPv6 2a01:4f8:140:5021::38 2a01:4f8:140:5021::39

RAW FILE SOURCES

The links below will direct you to the raw unzipped versions of the hosts files in this repo. (Files are updated daily)

File Name Operating System Format Download Link
hosts Unix/Linux UNIX Download
hosts Windows CRLF/DOS Download
hosts.deny Unix/Linux UNIX Download
superhosts.deny Unix/Linux UNIX Download
domains.list Any / Pi-Hole UNIX Download
domains-dotted-format.list DnsMasq UNIX Download
ips.list Any / Pi-Hole UNIX Download

Installers, Updaters and Uninstaller Helper Scripts

Linux Windows
hosts Installer hosts Installer
hosts UnInstaller hosts Updater
hosts Updater hosts UnInstaller
hosts.deny Installer
hosts.deny UnInstaller
hosts.deny Updater
superhosts.deny Installer
superhosts.deny UnInstaller
superhosts.deny Updater

WHAT IS A HOSTS FILE?

A hosts file, named hosts (with no file extension), is a plain-text file used by all operating systems to map hostnames to IP addresses.

In most operating systems, the hosts file is preferential to DNS. Therefore if a domain name is resolved by the hosts file, the request never leaves your computer.

Having a smart hosts file goes a long way towards blocking malware, adware, ransomware, porn and other nuisance web sites.

A hosts file like this causes any lookups to any of the listed domains to resolve back to your localhost so it prevents any outgoing connections to the listed domains.

For example, to drop all requests to certain domains or servers, adding lines to your hosts file as below will achieve this for you. You can create your own custom hosts or simply use ours which covers you for well over 1 million bad domains and web sites out there.

# Block Bad Domains and Servers with Hosts File
0.0.0.0 doubleclick.net
0.0.0.0 18chinese.com
0.0.0.0 gatekeeper.tss.net
0.0.0.0 www.gatekeeper.tss.net
0.0.0.0 cdn.gatekeeper.tss.net
0.0.0.0 youporn.com
0.0.0.0 www.youporn.com
0.0.0.0 x-lime.net
0.0.0.0 www.x-lime.net
# etc ... etc .... etc ...

It is important to note that a hosts file cannot understand wild card domains. So adding 0.0.0.0 *.doubleclick.net will not work. You must specify each and every variation of a domain name that is in use and up to no good.

Lucky for you our massive hosts file compiled from over 25 independent data input sources already does this for you. So it is as simple as downloading our hosts file and keeping it up to date as we update the hosts file several times a week as new threats emerg.


RECOMMENDATION FOR USING 0.0.0.0 instead of 127.0.0.1

Most host files traditionally use 127.0.0.1 as the loopback address, to establish an IP connection to the local machine.

I prefer the use of 0.0.0.0, which is defined as a non-routable meta-address. Using 0.0.0.0 is also faster because there's no wait for a timeout resolution. It also does not interfere with any web servers that may be running on the local system.

For many windows operating systems however 127.0.0.1 does appear to work slightly better and which is why our Windows version of the hosts file uses 127.0.0.1 as the loopback address.


WHAT IS A HOSTS.DENY FILE?

A hosts file, named hosts.deny is a plain-text file for Linux/Unix based operating systems only which blocks a list of IP addresses on the outside of your network from gaining any access to your computer. A hosts.deny file will not work on a Windows operating system.


WHAT IS A SUPERHOSTS.DENY FILE? I've never heard of such a thing ??

The superhosts.deny file is simply named superhosts.deny but is actually just a normal hosts.deny file which is a plain-text file for Linux/Unix based operating systems which blocks a list of IP addresses or hosts (domains) on the outside of your network from gaining any access to your computer. If you want to use this superhosts.deny file simply rename it to hosts.deny and place it in your /etc/ folder on your Linux/Unix operating system. A hosts.deny file will not work on a Windows operating system.


WHERE DO I PUT THIS ON MY COMPUTER?

To modify your current hosts file, look for it in the following places and modify it with a text editor.

PLEASE NOTE: On all operating systems you need administrative access to modify the hosts file. You can Google on how to do this for your particular operating system.

Linux, Mac OS X, iOS, Android: /etc/hosts

Linux, Mac OS X, iOS, Android: /etc/hosts.deny

Windows Systems: %SystemRoot%\system32\drivers\etc\hosts Try the Windows Installer Batch Script


WHEN IS THE LIST UPDATED ?

Times are in UTC (Every day) Start End
Central Repository (GitHub) ≈ 19:05 ≈ 19:15
API / Search engine 19:05 ≈ 19:20
Central Mirror (hosts.ubuntu101.co.za) 19:20 ≈ 19:25
DNS Server (#590) 19:20 ≈ 19:30

ADDITIONS

Log an Issue or a PR if you want to add an entry to our infrastructure.

REMOVALS

Log an Issue if you disagree with anything in our distributed content.

DISCUSSIONS

Log an Issue if you want to discuss anything in our infrastructure


INFORMATION DATA SOURCES, COPYRIGHTS AND CREDITS

CREDITS & THANKS

This hosts files is generated from multiple input sources, collated, sorted for duplicates and merged into one single hosts file.

The sources of the input data information are as follows.


AWESOME TOOLS WE WROTE

AWESOME TOOLS WE USE

  • PyFunceble
    • The tool to check the availability or syntax of domain, IP or URL.

SOME OTHER AWESOME TOOLS/PROJECTS


SUPPORT THIS PROJECT AND ITS INFRASTRUCTURE

💖 Buy Mitchell a Coffee 👇

Buy Mitchell some Coffee

💖 Buy Funilrys a Coffee 👇

Buy Mitchell some Coffee


Into Photography?

Come drop by and visit Mitchell's Portfolio.


License

MIT License

Copyright (c) 2020 Ultimate Hosts Blacklist - @Ultimate-Hosts-Blacklist
Copyright (c) 2017, 2018, 2019, 2020 Mitchell Krog - @mitchellkrogza
Copyright (c) 2017, 2018, 2019, 2020 Nissar Chababy - @funilrys

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
shell (10,197
malware (221
hosts (44
ransomware (33
ad-blocker (27
hostsfile (26
blocker (21
porn (20