Setting up Pi-hole

Soldato
Joined
24 Sep 2015
Posts
3,670
Why are you doing it that way rather then getting your DHCP server to dish out your Pi-Hole as the DNS server? No need to change settings on each and every device then.

I can't help with the Pixel question, I'm know pretty much sweet FA about Android.
 
Caporegime
Joined
21 Jun 2006
Posts
38,372
I've set up PiHole and in using it on a device by device basis. Got it successfully set up on my Linux machine but trying to get my Pixel 3 to run it is a nightmare.

Whenever I enter the DNS manually on my Pixel it gives me "Connected, no internet"

I've read IPv6 can be a problem but I've had that disabled since forever.

Any advice?


why not just use it on all devices as default?

setting it up per device must be a PITA.
 
Soldato
Joined
5 Nov 2011
Posts
5,361
Location
Derbyshire
Just set mine up again. Imported a "few" lists and am blocking about 3M domains now. Have set it up to take DNS from my main router so any DHCP devices can have pihole'd (read filtered) DNS and stuff I set up static I can either go through the router or the pihole.
 
Associate
Joined
15 Feb 2008
Posts
1,321
I setup pi hole a while ago and just left it, have'nt run any updates for about 3 months (I know lazy git) and have noticed pi hole is no longer blocking any ads (have tried multiple devices)

Today I have ran an update on both pi hole & Raspbian but still getting ads.

Is it easier to just start from fresh and clean install or an easy way of fixing this?
 
Soldato
Joined
19 Oct 2002
Posts
6,829
Location
Bath
I setup pi hole a while ago and just left it, have'nt run any updates for about 3 months (I know lazy git) and have noticed pi hole is no longer blocking any ads (have tried multiple devices)

Today I have ran an update on both pi hole & Raspbian but still getting ads.

Is it easier to just start from fresh and clean install or an easy way of fixing this?
Check your router, secondary DNS is probably pointing beyond your pihole
 
Soldato
Joined
7 Feb 2004
Posts
8,110
Location
North East
Does anyone else have occasional DNS issues?

Restarting the DNS resolver in the pihole admin menu seems to sort it, but I shouldn't have to do this.

I'm running pihole on it's own Ubuntu 18.04 LTS Hyper-V server.

Apart from this issue, it's rock solid.
 
Soldato
Joined
5 Nov 2011
Posts
5,361
Location
Derbyshire
Does anyone else have occasional DNS issues?
Restarting the DNS resolver in the pihole admin menu seems to sort it, but I shouldn't have to do this.
I'm running pihole on it's own Ubuntu 18.04 LTS Hyper-V server.
Apart from this issue, it's rock solid.

That's definitely not normal. Would suggest just binning the entire VM off and starting a fresh one.
 
Soldato
Joined
19 Oct 2002
Posts
6,829
Location
Bath
Does anyone else have occasional DNS issues?

Restarting the DNS resolver in the pihole admin menu seems to sort it, but I shouldn't have to do this.

I'm running pihole on it's own Ubuntu 18.04 LTS Hyper-V server.

Apart from this issue, it's rock solid.
Thats a massive VM load just to run pihole, would be better off running a raspbian image on the VM if you really want to do it that way, or even go docker (I use docker after playing around with VM's)
 
Soldato
Joined
7 Feb 2004
Posts
8,110
Location
North East
Thats a massive VM load just to run pihole, would be better off running a raspbian image on the VM if you really want to do it that way, or even go docker (I use docker after playing around with VM's)

It's a headless setup with no gui etc. I was led to believe that was pretty lightweight. I tried docker, but couldn't get my head round it.

Happy to set it up again if a different setup is better?
 
Don
Joined
19 May 2012
Posts
17,151
Location
Spalding, Lincolnshire
Thats a massive VM load just to run pihole, would be better off running a raspbian image on the VM if you really want to do it that way, or even go docker (I use docker after playing around with VM's)

I run pihole in an Ubuntu server VM as well. Its fine with 512mb ram, a single vcpu and doesn't use much disk space.
Hardly a heavyweight, and better supported than raspbian x86
 
Soldato
Joined
13 Jun 2009
Posts
6,847
Thats a massive VM load just to run pihole, would be better off running a raspbian image on the VM if you really want to do it that way, or even go docker (I use docker after playing around with VM's)
I tried running Pihole in docker on my main server and it borked my network config so badly that after 10 hours trying to fix it I gave up and restored a backup.

Right now I run Pihole in Docker on an Ubuntu Server VM. I then run LanCache in its 3 Docker containers in a separate VM and have the Pihole's upstream DNS server set to the Lancache VM. I don't think it's possible to run all the docker containers (pihole, lancache, lancache-dns, lancache-sniproxy) on a single VM because Pihole doesn't let you choose different upstream IPs for ports 53, 80, and 443. I'm not actually sure if it's working correctly yet. Using LanCache by itself works fine but Pihole -> LanCache might be a bit dodgy: I had trouble logging into Steam and the Blizzard app couldn't download the preview videos.

I'm trying to also setup Cloudfared in a Docker container but its input is port 5053 and the upstream DNS server for lancache-dns doesn't allow non-standard ports. So basically Cloudfared would need to run in a Docker container that forwards the host's port 53 to its internal port 5053, and since both Pihole and LanCache already use port 53 on their hosts, the Cloudfared Docker container would need to be run in yet another VM. Sigh, 3 VMs just for this feels silly.
 
Soldato
Joined
2 May 2011
Posts
11,878
Location
Woking
After owning a Pi for about 2 years, I've finally bothered to get mine running. I just want to get Pi Hole and Plex on there, and maybe Pi VPN just so I can remote access it from outside in case it goes wrong and I'm not at home (i.e. wife rings me and is furious that I've "broken" the internet).

Just wondering if anyone has a Home Hub and can send me an image of their router settings that enable the Pi? Weirdly I had it running fine on Monday, and then brought it into work to fiddle with it yesterday, set up a load of stuff, and then at home it was absolutely useless!

Edit: so I re-imaged the Pi (for about the fourth time in as many days). got Pi Hole onto it and after some issues with the IP of my router not being set, it all seems to be working!

I found on the Home Hub that the actual settings for the DHCP server mostly don't matter, as long as you point it to the range of addresses that Pi Hole tells you. Disabling DHCP on the router made absolutely no difference, and then I had to run ipconfig /release and ipconfig /renew (https://support.nexon.net/hc/en-us/articles/115000065463-Release-Renew-IP-and-Flush-DNS - didn't do the third step on this website as it worked before that).

So all is well!

Thanks for all the info in here @Feek
 
Last edited:
Soldato
Joined
15 Feb 2003
Posts
10,050
Location
Europe
I recently re-setup Pi-hole on an unused Pi. Seems things have moved on over the past 6-12 months.

I'm bringing to wonder what the point is in DNS blockers. If it's to avoid ads, google and other organisations are serving ads from the main content domain now, so your google search or youtube videos will still be littered by ads.
 
Associate
Joined
4 Dec 2009
Posts
518
I recently re-setup Pi-hole on an unused Pi. Seems things have moved on over the past 6-12 months.

I'm bringing to wonder what the point is in DNS blockers. If it's to avoid ads, google and other organisations are serving ads from the main content domain now, so your google search or youtube videos will still be littered by ads.

Google is not the only search engine, there is no reason for you to use it as your window onto the internet if you do not want to.
DuckDuckGo is a good search engine that doesnt track or offer ads, it also does its best to stop other stuff as well.
 
Soldato
Joined
13 Jun 2009
Posts
6,847
Pi-hole is nice but it's not perfect and never will be. Getting cashback via tracking is nearly impossible unless you enable loads of tracking websites, which kinda defeats the purpose. Some websites refuse to work for me even when disabling the Pi-hole and clearing my local DNS cache. Then there's the fact that whitelisting sites sometimes just doesn't work. The URL ends up in the whitelist.txt file but then still gets blocked according to the log. :/

On my main desktop I use uBlock and uMatrix anyway to only let stuff through that's actually needed for each website to render correctly, so Pi-hole is minimally useful here. The biggest advantage of something like Pi-hole is it blocks tracking and telemetry from other devices, e.g. my smart TV, my air conditioner (wtf), my wife's Huawei mobile...
 
Soldato
Joined
29 Mar 2005
Posts
5,792
I recently re-setup Pi-hole on an unused Pi. Seems things have moved on over the past 6-12 months.

I'm bringing to wonder what the point is in DNS blockers. If it's to avoid ads, google and other organisations are serving ads from the main content domain now, so your google search or youtube videos will still be littered by ads.
IM still using a Pi-Hole and am loving it. About 70% of my outbound requests are blocked, everything is working perfectly and all over DoH
 
Back
Top Bottom