<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>dnscrypt &#8211; John Large &#8211; Technology, Hardware,Web Development, Digital Privacy &amp; Ethics</title>
	<atom:link href="https://www.johnlarge.co.uk/tag/dnscrypt/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.johnlarge.co.uk</link>
	<description>I&#039;m a Computer science academic, working towards a PhD. I&#039;m researching digital privacy &#38; ethics. I also run a busy e-commerce business.</description>
	<lastBuildDate>Fri, 04 Sep 2026 08:44:19 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
<site xmlns="com-wordpress:feed-additions:1">6164056</site>	<item>
		<title>Using an old raspberry Pi on my home network to add a little privacy &#038; security</title>
		<link>https://www.johnlarge.co.uk/using-an-old-raspberry-pi-on-my-home-network-to-add-a-little-privacy-security/</link>
		
		<dc:creator><![CDATA[John Large]]></dc:creator>
		<pubDate>Fri, 31 Jan 2020 09:45:43 +0000</pubDate>
				<category><![CDATA[Cybersecurity]]></category>
		<category><![CDATA[Hardware Hacking]]></category>
		<category><![CDATA[Technical]]></category>
		<category><![CDATA[dnscrypt]]></category>
		<category><![CDATA[pihole]]></category>
		<category><![CDATA[raspberry pi]]></category>
		<guid isPermaLink="false">https://www.johnlarge.co.uk/?p=2291</guid>

					<description><![CDATA[I first got hold of this Raspberry Pi 1 Model B back in May 2012. At the time, I bought the pi to replace an ageing Apple TV 2 which I had jail broken and was using as a kodi media centre. It worked well, but I preferred the Aluminium apple remote &#38; IR sensor [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>I first got hold of this Raspberry Pi 1 Model B back in May 2012. At the time, I bought the pi to replace an ageing Apple TV 2 which I had jail broken and was using as a kodi media centre. It worked well, but I preferred the Aluminium apple remote &amp; IR sensor on the ATV2 so the pi was largely mothballed.</p>
<p>A few years later I bought a Raspberry Pi 2 Model B and this became our main Kodi media centre, replacing the Apple TV 2 and coupled with a Rii keyboard. It was much faster &amp; more stable running Libreelec.</p>
<p>A couple more years passed and I realized I still had my first Pi, complete with an awesome perspex case, so I had a look for projects to complete with it. I stumbled across the PiHole project and the rest is history.</p>
<p>PiHole is a network ad blocker/filter and DNS server. It has a great browser interface &amp; you can add lots of adblock/ublock blocklists to the pi, to block ads on all devices on the network at a hardware level. Unlike adblockers on a browser which use more cosmetic ways of blocking ads, the pihole blocks them at DNS level, meaning a request to the ad/blocked server never leaves the network. From a privacy standpoint this is huge. It also means I can control traffic/trackers on devices such as our Smart TV and iOS devices. It&#8217;s surprising how many requests these devices make without your knowledge.</p>
<figure id="attachment_2294" aria-describedby="caption-attachment-2294" style="width: 648px" class="wp-caption aligncenter"><img data-recalc-dims="1" fetchpriority="high" decoding="async" class="size-large wp-image-2294" src="https://i0.wp.com/www.johnlarge.co.uk/wp-content/uploads/2020/01/Screenshot-2020-01-31-at-09.42.34.png?resize=648%2C490&#038;ssl=1" alt="Pi Hole Web Interface" width="648" height="490" srcset="https://i0.wp.com/www.johnlarge.co.uk/wp-content/uploads/2020/01/Screenshot-2020-01-31-at-09.42.34.png?resize=1024%2C775&amp;ssl=1 1024w, https://i0.wp.com/www.johnlarge.co.uk/wp-content/uploads/2020/01/Screenshot-2020-01-31-at-09.42.34.png?resize=300%2C227&amp;ssl=1 300w, https://i0.wp.com/www.johnlarge.co.uk/wp-content/uploads/2020/01/Screenshot-2020-01-31-at-09.42.34.png?resize=768%2C581&amp;ssl=1 768w, https://i0.wp.com/www.johnlarge.co.uk/wp-content/uploads/2020/01/Screenshot-2020-01-31-at-09.42.34.png?w=1295&amp;ssl=1 1295w" sizes="(max-width: 648px) 100vw, 648px" /><figcaption id="caption-attachment-2294" class="wp-caption-text">Pi Hole Web Interface</figcaption></figure>
<p>PiHole&#8217;s web interface shows all traffic &amp; destinations and allows you to whitelist or blacklist IP&#8217;s &amp; domains for fine-grained control over outgoing traffic on your network.</p>
<p>I took my setup one step further &amp; coupled it with DNSCrypt 2.0 to encrypt all of my outbound DNS traffic. DNSCrypt coupled with PiHole on the pi &amp; HTTPS everywhere in my browser ensures no unencrypted traffic leaves my browser. All DNS lookups are encrypted &amp; I use non logging DNSCrypt Servers for my DNS lookups. This adds an extra layer of protection for my network traffic &amp; prevents eavesdropping &amp; sniffing of my traffic.</p>
<p>The Pi Hole raspberry pi sits in a cupboard downstairs and filters all of our network traffic. We have around 20 Wi-Fi connected devices on the network &amp; around 10 hard-wired devices &amp; it copes fine. It&#8217;s running 24/7 and the blocklist contains almost 1.3 million blocked domains without a hitch. Even with DNScrypt running alongside Pi Hole (which are both Python based) and a MySQL server for Kodi, the old Pi with its modest hardware isn&#8217;t stressed, runs silently, uses very little CPU time and has a 50% memory footprint. It&#8217;s even running the original SD card which has been in use since 2012.</p>
<p>This is a great solution. It&#8217;s silent, uses only a few watts of power &amp; saves thousands of extra requests per day, not to mention the amount of data which is never downloaded. Browsing is generally much quicker on my home network &amp; an added benefit is that we don&#8217;t see advertising on catch up TV services on our Smart TV.</p>
<p>I&#8217;m going to do a full post on setting up the pi for this usage, so if you would like to see that, check back soon.</p>
<p>For those of you willing to dive in, you need a Pi running raspbian. You can install Pi Hole using the instructions on their <a href="https://pi-hole.net/" target="_blank" rel="nofollow">website</a></p>
<p>I used <a href="https://github.com/pi-hole/pi-hole/wiki/DNSCrypt-2.0" target="_blank" rel="nofollow">these instructions to install DNScrypt 2.0</a></p>
<figure id="attachment_2293" aria-describedby="caption-attachment-2293" style="width: 648px" class="wp-caption aligncenter"><img data-recalc-dims="1" decoding="async" class="size-large wp-image-2293" src="https://i0.wp.com/www.johnlarge.co.uk/wp-content/uploads/2020/01/IMG_8917-1024x768.jpg?resize=648%2C486&#038;ssl=1" alt="Raspberry Pi 1 Model B from 2012 running pihole &amp; dnscrypt" width="648" height="486" srcset="https://i0.wp.com/www.johnlarge.co.uk/wp-content/uploads/2020/01/IMG_8917-scaled.jpg?w=1024&amp;ssl=1 1024w, https://i0.wp.com/www.johnlarge.co.uk/wp-content/uploads/2020/01/IMG_8917-scaled.jpg?resize=300%2C225&amp;ssl=1 300w, https://i0.wp.com/www.johnlarge.co.uk/wp-content/uploads/2020/01/IMG_8917-scaled.jpg?resize=768%2C576&amp;ssl=1 768w, https://i0.wp.com/www.johnlarge.co.uk/wp-content/uploads/2020/01/IMG_8917-scaled.jpg?resize=1536%2C1152&amp;ssl=1 1536w, https://i0.wp.com/www.johnlarge.co.uk/wp-content/uploads/2020/01/IMG_8917-scaled.jpg?resize=2048%2C1536&amp;ssl=1 2048w" sizes="(max-width: 648px) 100vw, 648px" /><figcaption id="caption-attachment-2293" class="wp-caption-text">Raspberry Pi 1 Model B from 2012 running pihole &amp; dnscrypt</figcaption></figure>
]]></content:encoded>
					
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2291</post-id>	</item>
	</channel>
</rss>
