cancel
Showing results for 
Search instead for 
Did you mean: 

Yes, you can use PiHole with a PlusNet Hub One router without changing DNS

Highlighted
Newbie
Posts: 2
Thanks: 5
Registered: ‎08-05-2020

Yes, you can use PiHole with a PlusNet Hub One router without changing DNS

I had a plan to set up a Raspberry Pi running PiHole so that I could block ads on a network level.

 

Unfortunately, the normal setup guides to PiHole tell you to change your router's DNS settings so that all devices on your network will send their DNS queries to the Raspberry Pi, which will in turn then block some of them using block lists and send the rest to your choice of DNS provider. I got to the point of having PiHole all set up when I realized there was no way to change the DNS settings on my PlusNet Hub One Router. 

 

I checked these forums yesterday and it seems like quite a few people have had the same problem. I almost ran out and bought a BT business router to replace the Hub One so I could change the DNS.

 

But then I did some reading and realized that if you just turn on the DHCP service on PiHole and disable DHCP on the Hub One Router, then everything on your network will go to the Raspberry Pi for its IP address and at the same time will be told to use it for DNS queries. This actually gives you a better solution than just changing the DNS server because PiHole then knows which client is making which query, handy if you're trying to work out which PC is infected with malware or whatever. I have it running now and it works great: TV, phones, PCs, all working.

 

If you want to do it yourself, the steps are these:

 

1. Get a Raspberry Pi (I bought a Pi 4, 2GB RAM - yes, 2GB is plenty, it's currently using 4% of that)

2. Install PiHole (I used this guide: https://www.smarthomebeginner.com/pi-hole-setup-guide/)

3. Connect to PiHole, go into Settings, go to the DHCP tab.

3a. Tick the box marked "DHCP server enabled"

3b. Set the Router (Gateway) IP address to the address of your router

3c. Make sure you save your changes

4. Connect to your Hub One Router.

4a. Go to Advanced Settings, then IP Addresses

4b. Change DHCP Server: Enable from Yes to No

4c. Click "Apply."

 

Turn off one of your computers and turn it on again. Go to PiHole's Network page and you should be able to see that it's now connected and getting its IP address from PiHole. Go to the queries page and you should see queries start to appear from it (if you don't, go to a website you've never been to before, or flush your DNS cache).

 

Hope that helps somebody Smiley

 

 

 

4 REPLIES 4
Highlighted
Hooked
Posts: 6
Thanks: 1
Fixes: 1
Registered: ‎19-02-2018

Re: Yes, you can use PiHole with a PlusNet Hub One router without changing DNS

@CuriousVole - out of interest, how 'hot' does the CPU run on the Raspberry Pi?  I've got a Pi2, Pi W and Pi3 lying around, and I'd prefer to utilise the oldest one capable of running the tool well Wink

Highlighted
Newbie
Posts: 2
Thanks: 5
Registered: ‎08-05-2020

Re: Yes, you can use PiHole with a PlusNet Hub One router without changing DNS

Using a Raspberry Pi 4 2GB running just Pi-hole:

 

54.5 degrees centigrade.

Load: 0.1 0.03 0.01

Memory usage: 4.9%

 

So I'm guessing an older Pi would run it just fine Smiley

Highlighted
Community Gaffer
Community Gaffer
Posts: 14,512
Thanks: 2,131
Fixes: 148
Registered: ‎04-04-2007

Re: Yes, you can use PiHole with a PlusNet Hub One router without changing DNS

This from a Pi 3b in DHCP mode, that's also running a couple of Webmail servers, a monitoring server and a handful of custom scripts:-

Active Temp: 50.5 °C
Load:  0.06  0.09  0.12
Memory usage:  36.3 %

It's also running its own instance of Unbound for local DNS resolution/caching.

Fairly certain I ran Pihole on a first gen Pi 1 Model B+ previously.

Comes thoroughly recommended.

Bob Pullen
Plusnet Product Team
If I've been helpful then please give thanks ⤵

Highlighted
Rising Star
Posts: 64
Thanks: 29
Fixes: 2
Registered: ‎26-09-2017

Re: Yes, you can use PiHole with a PlusNet Hub One router without changing DNS

@AndyHerb 

Currently running PiHole on a PiZero with DietPi

 Active Temp: 35.8 °C
 Load:  0.03  0.08  0.12
 Memory usage:  8.4 %

Powered directly from hub USB port , which makes for a nice 2 cable (USB power & network via Ethernet adapter) installation.

You can check out but you can never leave ( easily)