Testing the shallow-clone notification.

This commit is contained in:
Steven Black
2017-04-08 22:51:36 -04:00
committed by GitHub
parent a3a21dd658
commit 9d0ad35b7b
+11 -1
View File
@@ -4,6 +4,16 @@ This repository consolidates several reputable `hosts` files, and merges them
into a unified hosts file with duplicates removed. This repo provides several
hosts files tailored to you need to block.
<div class="blankslate blankslate-large">
<img class="avatar left" src="https://avatars0.githubusercontent.com/u/80144?v=3&s=50" width="50" height="50">
<h3>Shallow clone and avoid 400 Mb of history</h3>
<p>I recommend a **shallow clone** because you probably don't need many years of history.</p>
<p>Like this:</p>
<pre>
git clone --depth 5 https://github.com/StevenBlack/hosts.git
</pre>
</div>
* Last updated: **April 09 2017**.
* Here's the [raw hosts file with base extensions](https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts) containing 35,460 entries.
@@ -308,4 +318,4 @@ devices under a variety of operating systems.
* [Block ads and malware via local DNS server](https://github.com/mueller-ma/block-ads-via-dns "Block ads and malware via local DNS server") (for Debian, Raspbian & Ubuntu): Set up a local DNS server with a `/etc/bind/named.conf.blocked` file, sourced from here.
* [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound") – [Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.") is a validating, recursive, and caching DNS resolver.
* [Blocking ads and malwares with unbound](https://deadc0de.re/articles/unbound-blocking-ads.html "Blocking ads and malwares with unbound") – [Unbound](https://www.unbound.net/ "Unbound is a validating, recursive, and caching DNS resolver.") is a validating, recursive, and caching DNS resolver.