Adding a DNS Server and Ad Blocking setup to Raspberry Pi 5

Following the excellent guide on Adafruits website I've added a DNS server / add blocking setup to my Bitorrent Sync Raspberry Pi 5.   This blocks any requests for banner advertising so when browsing to certain websites they are advert free.  This will also work on Playstations, Xbox's, tablets and mobile phones when connected to my local wifi.

Before and After shots of the same web page below.  The colour change is part of the advert on the left.

Before-Adblocking   after-adblocking

Only change to the guide is I had to run the following command at the start

sudo apt-get update

I also changed by routers Default DNS from my ISP to my Raspberry Pi's P address.

Unfortunately it doesn't look like the scripts for removing sites from the list is working.  If you use quidco etc you might have to change your PC's DNS server manually to (Googles open DNS servers)

Resource -

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>