Ipv6 question - disabled ipv6 on router and get less ads

I have pi-hole on home LAN, 1x on raspberry pi, 1 x centos since a while, all works well, terrific system, thanks. on status see +-30/50% blocked queries

rpi

  • Pi-hole [v5.16.2] * FTL [v5.22]* Web Interface [v5.19]
    centos is back level as certain libs not supported
  • Pi-hole [v5.15.3]* FTL [v5.16.3]* Web Interface [v5.18.3]

on a TV box I've noticed it shows correctly DNS rpi 192.168.1.7, centos 192.168.1.8 ALSO shows some IPV6 address there under DNS

whilst I can see adblocking works on PC, tablet on say news site, on TV box, when watching SBS on Demand TV I get ad before the newscast starts
hmm, is it the ipv6 address I see in DNS page..?

so, disabled IPV6 support on my modem/router Technicolor DJA0231:
Local Network IPV6 state: OFF

result: no longer see IPV6 host address on TV Box, no longer get ad on TB Box SBS on Demand

so I guess I have something misconfigured or am missing something ?
thanks for any pointers

I disabled my ISP IPV6, then did a clean setup of Pihole with Unbound with same Adlists as before, I'm noticing same browsing speeds and much lower block percentage. Seeing zero ads. You may not need IPV6 unless some of your devices require it.

1 Like

Likely, your router is advertising its own IPv6 address as DNS server, allowing your clients to by-pass Pi-hole.

You'd have to find a way to configure your router to advertise your Pi-hole host machine's IPv6 as DNS server or to stop advertising 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 to leave IPv6 disabled altogether.

1 Like

thanks, mikeinanaheim1, thanks, Bucking_Horn.

yes, I don't think I really need IPV6 for anything here currently, so simplest solution for now will be to disable IPV6 - I think I'll re check my router settings, perhaps removing support for IPV6 on actual WAN link page rather than Local LAN page might work better - anyhow, that's something I can tinker and assess reasonably easily.

longer term, I'll try to find proper resolution, thanks for detailed explanation. I kind of understand DNS little better than I understand IPV6... anyhow, I'll try to fix properly

just thinking loud.... maybe I should let Pi-hole do DHCP instead of using router's DHCP...?
hmmm, I think I should (re think ? and) re check...
anyhow, thank you both for assistance and explanations!

DHCP is strictly an IPv4 protocol, so switching to Pi-hole's DHCP server won't change a thing in your router's IPv6 configuration.

Even with Pi-hole's IPv6 support enabled, Pi-hole would advertise its own IPv6 (SLAAC/RA), but that wouldn't stop your router from advertising its own.
Your clients would then be free to choose from any of the advertised IPv6 addresses, with a tendency to prefer the router one, and thus by-pass Pi-hole.

my Pi-hole RPI has like(1):

is either of these what I need to specify in router's DHCP DNS page as 'IPv6 Primary DNS' ?

fe80::b4ab:aeda:28:b7af
fdfa:5f51:72d2:0:aad7:55b2:95aa:e04d

also, on pi-hole web i'f it shows 192.158.1.7 as well as these two
:
192.168.1.7
fdfa:5f51:72d2:0:aad7:55b2:95aa:e04d
fe80::b4ab:aeda:28:b7af

(1)
@raspberrypi:~ $ ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.7 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::b4ab:aeda:28:b7af prefixlen 64 scopeid 0x20
inet6 fdfa:5f51:72d2:0:aad7:55b2:95aa:e04d prefixlen 64 scopeid 0x0
ether dc:a6:32:c4:ad:c8 txqueuelen 1000 (Ethernet)
RX packets 1211323 bytes 137096918 (130.7 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 434305 bytes 111666708 (106.4 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
/snip/

wg0: flags=209<UP,POINTOPOINT,RUNNING,NOARP> mtu 1420
/snip/

wlan0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
/snip/

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