PI-HOLE®: A BLACK HOLE FOR INTERNET ADVERTISEMENTS

fus10n

VIP Member
VIP Member
Joined
Sep 5, 2016
Messages
681
Likes
355
#3
So I install this on a raspberry pi, and then direct the router to use it as a dns server?
 

Grimeire

VIP Member
VIP Member
Joined
Dec 3, 2012
Messages
834
Likes
292
#4
yes. Im not sure what router you have but you should have at least 2 dns server entires on your router.

change the second to the IP of the first and change the first to the IP of pi-holes host.

you can also use pi-hole as your DHCP server as that what i do. it gives you far more options to play around with.
 

fus10n

VIP Member
VIP Member
Joined
Sep 5, 2016
Messages
681
Likes
355
#5
yes. Im not sure what router you have but you should have at least 2 dns server entires on your router.

change the second to the IP of the first and change the first to the IP of pi-holes host.

you can also use pi-hole as your DHCP server as that what i do. it gives you far more options to play around with.

Gonna use a raspberry pi model 2, just setting it up now. Just hoping it won't slow the internet down!
 

fus10n

VIP Member
VIP Member
Joined
Sep 5, 2016
Messages
681
Likes
355
#6
Its all working. I just used it for DNS so it was simple enough to change the router to use the pi-hole.

Most importantly, my internet speed has not dropped. Was worried as i think the raspberry pi 2 does not have gigabyte lan port.
 

fus10n

VIP Member
VIP Member
Joined
Sep 5, 2016
Messages
681
Likes
355
#7
Anyone with a raspberry pi sitting doing nothing then they should give this a whirl. Best thing my raspberry pi has done yet!
 

fus10n

VIP Member
VIP Member
Joined
Sep 5, 2016
Messages
681
Likes
355
#9
In answer to your question @trevortron, i've not came across many that have that anti addblock detection, any i have, I've found the info elsewhere but you can add sites to a whitelist if it's something you visit regularly. I've had to add stuff like google add service to the safelist.

@Grimeire is my go to expert on this. He might have a better reply.
 
Last edited:

Captin

VIP Member
VIP Member
Joined
May 21, 2009
Messages
3,308
Likes
199
#10
Sounds good and I have a pi knocking about, but I use uBlock Origin addon for chrome and don't get ads at all, not even on youtube.
 

fus10n

VIP Member
VIP Member
Joined
Sep 5, 2016
Messages
681
Likes
355
#11
Sounds good and I have a pi knocking about, but I use uBlock Origin addon for chrome and don't get ads at all, not even on youtube.
I was using that too, pihole was better for ALL devices. You just change your routers first DNS to the i.p of raspberry pi hosting Pihole. Keep the second what it's already set at. Best to reserve the i.p of the pihole device on your router after setup too

There will be a small adjustment phase where you find that some sites don't work and you have to add them to the whitelist, but is pretty easy to do.
 
Last edited:

papa2

DW Member +
Joined
Mar 15, 2006
Messages
773
Likes
33
#12
I was using that too, pihole was better for ALL devices. You just change your routers first DNS to the i.p of raspberry pi hosting Pihole. Keep the second what it's already set at. Best to reserve the i.p of the pihole device on your router after setup too

There will be a small adjustment phase where you find that some sites don't work and you have to add them to the whitelist, but is pretty easy to do.
I dont get why you would leave the second DNS as is , because chances are its going to be used which would make pihole pointless ,
and if you read setup instructions it says to only use pihole DNS , I've had mine set up with only 1 DNS from the start
 

fus10n

VIP Member
VIP Member
Joined
Sep 5, 2016
Messages
681
Likes
355
#13
I dont get why you would leave the second DNS as is , because chances are its going to be used which would make pihole pointless ,
and if you read setup instructions it says to only use pihole DNS , I've had mine set up with only 1 DNS from the start
Works fine for me. I see 'blocked by pihole' so i'm happy that its working and in the admin panel it show me how much it has blocked. I'm in a household of non tech savvy people and they tend to turn things of and once or twice had the pi hole turned of and then get complaints that there is no internet. Having the 2nd dns as normal still gives me a whinge free household lol
 

papa2

DW Member +
Joined
Mar 15, 2006
Messages
773
Likes
33
#14
I see where your coming from, I set this up on a neighbours RPI and had to use the DNS server from within pihole (virgin media router),
But if he ever forgets to turn on pi then no internet for him lol
 

elcuolo

New Member ++
Joined
Jun 2, 2018
Messages
6
Likes
3
#15
Always a bit of a danger doing this kind of a favour for our less tech savvy friends/neighbours, as soon as they forget to do it they'll be at your door looking for assistance.

Good on you for sorting it for him though! :)
 

Captin

VIP Member
VIP Member
Joined
May 21, 2009
Messages
3,308
Likes
199
#16
I was using that too, pihole was better for ALL devices. You just change your routers first DNS to the i.p of raspberry pi hosting Pihole. Keep the second what it's already set at. Best to reserve the i.p of the pihole device on your router after setup too

There will be a small adjustment phase where you find that some sites don't work and you have to add them to the whitelist, but is pretty easy to do.

I can see what you mean but there's only me and the mrs and we both use ublock. We tend not to use a phone for anything but calls in the house and we don't use tablets in the house.

Might still give it a go cos I like to play with stuff for no other reason than I can.
 

fus10n

VIP Member
VIP Member
Joined
Sep 5, 2016
Messages
681
Likes
355
#17
I can see what you mean but there's only me and the mrs and we both use ublock. We tend not to use a phone for anything but calls in the house and we don't use tablets in the house.

Might still give it a go cos I like to play with stuff for no other reason than I can.

When i used ublock it was device specific - Meaning seperate computers had to have it install. You probably say 'thats not a hardship' but in a house with multiple IoT device, computers and phones -I now don't have to install ublock on anything as my router sends the request to pihole and pihole filters out the ads in realtime with no discernable delay!

Give it a go if you have a pi kicking about doing nothing. I do understand that you share a devices in your home and maybe it's overkill for you but it has worked flawlessly for me. (apart from when people switch of the pi)
 
Last edited:

Grimeire

VIP Member
VIP Member
Joined
Dec 3, 2012
Messages
834
Likes
292
#18
I dont get why you would leave the second DNS as is , because chances are its going to be used which would make pihole pointless ,
and if you read setup instructions it says to only use pihole DNS , I've had mine set up with only 1 DNS from the start
if your pihole goes down you wont loose internet access if you have a second DNS entry in your router. last thing i want to listen to is everyone giving out there is no internet.

I use pi-hole as a dhcp server and there seems to be a bug that dnsmasq doesnt start if the host is rebooted, everytime the host is rebooted i have to manually go into the pi-hole web-gui and restart dnsmasq.
 

Spectre

Administrator
Staff member
Jnr Admin
Joined
Jun 3, 2001
Messages
39,342
Likes
712
#19
Call me cynical but what are they doing with everyone's DNS request logs?

I know nothing about it so it could just be my ultraparanoia.
 

fus10n

VIP Member
VIP Member
Joined
Sep 5, 2016
Messages
681
Likes
355
#20
Call me cynical but what are they doing with everyone's DNS request logs?

I know nothing about it so it could just be my ultraparanoia.
As i understand it, it passes no information to a thrid party. The pihole has ad blacklists which you can change or add to and if something dodgy is on it it does not get through. It's a hardware based ad block.
 
TEST
Top