diff options
Diffstat (limited to 'build/pihole-cloudflare/index.html')
-rw-r--r-- | build/pihole-cloudflare/index.html | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/build/pihole-cloudflare/index.html b/build/pihole-cloudflare/index.html new file mode 100644 index 0000000..b7b6282 --- /dev/null +++ b/build/pihole-cloudflare/index.html @@ -0,0 +1,65 @@ +<!doctype html> +<html lang="en" id="top"> +<head> + <meta charset="utf-8"> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <link rel="icon" href="data:,"> + <title>Setting Up 1.1.1.1 for Families on a Pi-Hole</title> + <link href="https://bt.ht/atom.xml" type="application/atom+xml" rel="alternate" title="Atom feed for blog posts" /> + <style>*{box-sizing:border-box;}body{font-family:sans-serif;margin:0 auto;max-width:650px;padding:1rem;}img{max-width:100%;}pre{overflow:auto;}table{text-align:left;width:100%;}</style> +</head> + +<nav> + <a href="#menu">Menu ↓</a> +</nav> + +<main> +<h1>Setting Up 1.1.1.1 for Families on a Pi-Hole</h1> +<p>2021-10-28</p> +<p>After seeing Cloudflare's 1.1.1.1 for Families mentioned on the <a href="https://news.ycombinator.com/item?id=29024195">front page of HackerNews</a>, I thought it might be helpful to show those currently using a <a href="https://pi-hole.net">pi-hole device</a> how to include 1.1.1.1 alongside it.</p> +<h2>Keeping Things Updated</h2> +<p>It should go without saying that you should be running the latest stable pi-hole version for security and full feature support. To do so, simply <code>ssh</code> into your device (or connect to it directly if you prefer) and run the following to check your pi-hole version:</p> +<pre><code>pihole -v +</code></pre> +<p>And if your version is out of date, run:</p> +<pre><code>pihole -up +</code></pre> +<p>Once it completes the update everything will be good to go!</p> +<h2>Adding 1.1.1.1 (1.1.1.2)</h2> +<p>Now you need to navigate to your main pi-hole admin in your browser (most likely the url will be <em>pi.hole</em>). Login in using your credentials and the do the following steps:</p> +<ol> +<li>Navigate to <strong>Settings</strong></li> +<li>Navigate to <strong>DNS</strong></li> +<li>Under "Upstream DNS Servers" enter:</li> +</ol> +<ul> +<li>Custom 1 (IPv4): 1.1.1.2</li> +<li>Custom 2 (IPv4): 1.0.0.2</li> +</ul> +<p><figure> + <img src="/public/images/pihole-cloudflare.png" alt="PiHole setup admin dashboard"> + <figcaption>PiHole DNS settings (<a href="/public/images/pihole-cloudflare.webp">link to hi-res image</a>)</figcaption> +</figure></p> +<h2>Ad-Block & Malware Protection</h2> +<p>You now officially have protection against both intrusive advertisements <em>and</em> sites flagged with malware. Happy (and now safer) browsing!</p> +<footer role="contentinfo"> + <h2>Menu Navigation</h2> + <ul id="menu"> + <li><a href="/">Home</a></li> + <li><a href="/projects">Projects</a></li> + <li><a href="/uses">Uses</a></li> + <li><a href="/wiki">Wiki</a></li> + <li><a href="/resume">Resume</a></li> + <li><a href="/colophon">Colophon</a></li> + <li><a href="/now">Now</a></li> + <li><a href="/donate">Donate</a></li> + <li><a href="/atom.xml">RSS</a></li> + <li><a href="#top">↑ Top of the page</a></li> + </ul> + <small> + Built with <a href="https://git.sr.ht/~bt/barf">barf</a>. <br> + Maintained with ♥ for the web. <br> + Proud supporter of <a href="https://usefathom.com/ref/DKHJVX">Fathom</a> & <a href="https://nextdns.io/?from=74d3p3h8">NextDNS</a>. <br> + The content for this site is <a href="https://creativecommons.org/licenses/by-sa/2.0/">CC-BY-SA</a>.<br> The <a href="https://git.sr.ht/~bt/bt.ht">code for this site</a> is <a href="https://git.sr.ht/~bt/bt.ht/tree/master/item/LICENSE">MIT</a>. + </small> +</footer>
\ No newline at end of file |