Using Pi Hole By Individual Device, Ads Aren't Blocking On Mobile / using the IPV4 address

Please follow the below template, it will help us to help you!

If you are Experiencing issues with a Pi-hole install that has non-standard elements (e.g you are using nginx instead of lighttpd, or there is some other aspect of your install that is customised) - please use the Community Help category.

Expected Behaviour:

When configuring individual devices, you set the IPV4 DNS of the device to your Pihole's IP and it should block ads.

Actual Behaviour:

When I configured it first on my windows device, going to IPV4 DNS, setting it to my piholes address and saving. Ad's weren't being blocked completely. I was getting queries tons of them and it said it was blocking %50 of it, though I kept seeing ads, and canyoublockit failed the test.

I noticed at the end of the install though it had set up an IPV6 DNS too it seems, as it prompted me to use the ipv4 and ipv6. I then did just that and added the IPV6 address of the pi to my windows IPV6 DNS settings, and the ads now block.

I then go over to my mobile device and set the IPV4 dns as the Pi's address as I did with my PC. Though there tons of mobile ads getting through. I went to check the query page for the mobile device and I did not see any ad links either (The ads were embedded within apps), but I got queries from the mobile device such as google.com over and over. Basically long story short, tl;dr, I set the IPV4 DNS settings on my mobile device to my piholes IPV4 address, and it's not blocking ads. It shows up green under the network tab though on pihole's admin interface.

However one extra thing, now after setting the IPV4 and IPV6 on my windows, I'm getting more queries and less blocks, it's only blocking %9?

(Extra may be useless info)
I truly need help getting my pi hole working. As far as I know with my router set up, as I might as well describe that, I have two routers/ or I believe it's either a modem or a router, and I have another router, WRT32X running as my network, I'm not the one who set it up, but I've obtained access to both 192.168.0.1 and 192.168.1.1, 192.168.0.1 is some arris device.. Not sure if it's relevant. Because I set up the static IP under static reservations under my WRT32x on what showed to be my gateway on ifconfig, 192.168.1.1.

Debug Token:

https://tricorder.pi-hole.net/RcpJaect/

Your debug log suggests your router is advertising its own IPv6 address as DNS server (as picked up by your machine hosting Pi-hole):

*** [ DIAGNOSING ]: contents of /etc

-rw-r--r-- 1 root root 59 May 25 06:16 /etc/resolv.conf
   nameserver 2600:<redacted>::1

Thus, your IPv6-capable clients are able to by-pass Pi-hole via IPv6.

You'd have to find a way to configure your router to advertise your Pi-hole host machine's IPv6 as DNS server instead of its own.

You'd have to consult your router's documentation sources on further details for its IPv6 configuration options.

If your router doesn't support configuring IPv6 DNS, you could consider disabling IPv6 altogether.

If your router doesn't support that either, your IPv6-capable clients will be able to bypass Pi-hole via IPv6.

Thank you! I'll look into my routers DNS settings. I'm assuming it'd be listed as "IPV6" under the DNS settings or a page called IPV6 DNS on my router?

The router that seems to be my gateway (192.168.1.1) is a linksys wrt 32x and this is the page

. Should I try putting the pi's IPV6 settings over on this routers page under connection settings? I do not see an option for IPV6 or anything related. I have two routers though set up on my network. I believe 168.1.1 is just an extra access point.

I'm assuming by having two "gateways" 168.1.1 and 168.0.1. Maybe IPV6 is enabled on the first router, over on 168.0.1?

(I might just have to share this thread to the person who owns the routers and may know them better, they gave me access I just don't see an IPV6 DNS option or an option to enable or disable on the linksys)

Meanwhile as I dig around in my router. Doing it device by device until then, I assume I'd just put both
IPV4 & 6 addresses on each device DNS config?

Hi! I just looked into my router..

Unsure if it's because I have two again..

But ipv6 is disabled under the gateway that shows when I type ifconfig, 192.168.1.1 on that router.

Are there any more steps to disable ipv6 on the pihole?

Sorry, I wouldn't know that.

You'd have to consult your routers' documentation and support channels for details.

This isn't Pi-hole related.
The issue is with one of your routers advertising its IPv6 as local DNS server. As long as it does that, clients may use that IPv6 to by-pass Pi-hole.

Hi!
I contacted the owner of the router of the linksys wrt32x, and it turns out that IPV6 was enabled on a higher level. And we disabled IPV6, it works now!

I have a few questions;
are there any cons to disabling ipv6 or any pros to having it enabled?

You'd have to find a way to configure your router to advertise your Pi-hole host machine's IPv6 as DNS server instead of its own.

When you said this, this would be the pihole on the network level, if I understand? Doing that would set my pihole for my whole network if we kept the router as ipv6? As I was just trying to do it device by device since it had some weird incompatibilities with some of my home stuff and didn't have time to whitelist all of their services.

Third one is;
Is there any pros vs cons setting up the DNS in the router to the pihole vs doing it device by device like I am?

Thank you so much again. Your reply was able to assist my network admin.

IPv6 is the next generation internet protocol (IP) we currently use IPv4, I would highly recommend not disabling IPv6 since we are all slowly transitioning to IPv6. Try changing your router's dns to pi-hole for both IPv4 and IPv6, this way all of your devices will have ads blocked by pi-hole over both IPv4 and IPv6. If your router does not let you change the IPv6 dns then you could consider disabling IPv6 (I wouldn't but I am an IPv6 fanboy).

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.