Raspberry Pi Hol
Author
Discussion

thebraketester

Original Poster:

15,846 posts

169 months

Wednesday 5th December 2018
quotequote all
Anyone using this? (Pi Hole.... that is)

Thinking of adding one to my ubiquiti setup to block ads system wide so I don’t have to run ad blockers on all devices. TVs obviously can’t run an adblocker and it’s a bit annoying.

I think I can run ad blocking via my USG But it’s a bit faffy to install.

Any tips?

Rich

Edited by thebraketester on Wednesday 5th December 00:56

Dave.

7,903 posts

284 months

Wednesday 5th December 2018
quotequote all
I did at my previous house (virgin media) and it was bliss!

With BT now, and you can't change the DNS server on their homehubs.

Keep meaning to buy my own router but never got round to it.

ARHarh

4,892 posts

138 months

Wednesday 5th December 2018
quotequote all
I set one up last week easy setup and it seems to be doing the job OK. I did it mainly for the DHCP server as my router was struggling with the amount of things I have hanging off the wifi. The add blocking is nice and does make a difference to web browsing. If you have a pi doing nothing it is worth doing.

thebraketester

Original Poster:

15,846 posts

169 months

Wednesday 5th December 2018
quotequote all
Thanks guys.

I am thinking of going for the pi hole poe so I can just plug it straight into my Poe switch.

Do you have keep the pi updated with rules like you do with traditional in browser blocking?

jimmyjimjim

8,347 posts

269 months

Wednesday 5th December 2018
quotequote all
I was trying to find the pi thread the other day, because of this:



The lists are maintained externally. However, I had to go in and save and update the block lists the other day, which I shouldn't have had to do.

A script to do that daily should be simple, though.

Harpoon

2,553 posts

245 months

Wednesday 5th December 2018
quotequote all
I run Pi-Hole as a VM and also tunnel the DNS lookups over HTTPs to CloudFlare. Nice to remove most adverts without having to resort to browser extensions.

There's a good guide here:

https://scotthelme.co.uk/securing-dns-across-all-o...

Nimby

5,745 posts

181 months

Wednesday 5th December 2018
quotequote all
Dave. said:
I did at my previous house (virgin media) and it was bliss!

With BT now, and you can't change the DNS server on their homehubs.

Keep meaning to buy my own router but never got round to it.
You could change the DNS server on your clients to point to the RPi running PiHole (after they've booted and DHCP'd)
eg for Windows, either through the control panel GUI, or with a scheduled "netsh ip set dns=..." batch file command at boot.

It works fine for me on an RPi 2B. It's particularly good for unrooted smartphones/tablets where it's not always easy to install ad blockers.

ARHarh

4,892 posts

138 months

Wednesday 5th December 2018
quotequote all
Nimby said:
You could change the DNS server on your clients to point to the RPi running PiHole (after they've booted and DHCP'd)
eg for Windows, either through the control panel GUI, or with a scheduled "netsh ip set dns=..." batch file command at boot.

It works fine for me on an RPi 2B. It's particularly good for unrooted smartphones/tablets where it's not always easy to install ad blockers.
I have plusnet which uses a bt homehub 5. you cant change the dns on it, which is why pihole has a dhcp server. just disable the dhcp server on the router and setup the dhcp on pihole. https://discourse.pi-hole.net/t/how-do-i-use-pi-ho...

thebraketester

Original Poster:

15,846 posts

169 months

Wednesday 5th December 2018
quotequote all
Harpoon said:
I run Pi-Hole as a VM and also tunnel the DNS lookups over HTTPs to CloudFlare. Nice to remove most adverts without having to resort to browser extensions.

There's a good guide here:

https://scotthelme.co.uk/securing-dns-across-all-o...
Does pi hole block YouTube in video ads? As that’s the main reason I would want it.

ARHarh

4,892 posts

138 months

Thursday 6th December 2018
quotequote all
thebraketester said:
Does pi hole block YouTube in video ads? As that’s the main reason I would want it.
sometimes, because the video ad is part of the video stream you just get a blank screen instead which is nearly as annoying. some adds do still get through though.

a7x88

795 posts

179 months

Thursday 6th December 2018
quotequote all
Been using one at home for the last couple of years - highly recommended!

Dave.

7,903 posts

284 months

Thursday 6th December 2018
quotequote all
ARHarh said:
Nimby said:
You could change the DNS server on your clients to point to the RPi running PiHole (after they've booted and DHCP'd)
eg for Windows, either through the control panel GUI, or with a scheduled "netsh ip set dns=..." batch file command at boot.

It works fine for me on an RPi 2B. It's particularly good for unrooted smartphones/tablets where it's not always easy to install ad blockers.
I have plusnet which uses a bt homehub 5. you cant change the dns on it, which is why pihole has a dhcp server. just disable the dhcp server on the router and setup the dhcp on pihole. https://discourse.pi-hole.net/t/how-do-i-use-pi-ho...
Cheers for this, I've not looked into it for years, so thanks for the heads -up...