Pi-Hole using IPV6 by default?

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:

Typically during install, or using pihole -r, you are given the option to block ads over ipv4 or ipv6. I was not presented this option. I've seen numerous guides that show the same, but at the end of their install it says IPV6 is not configured.

Actual Behaviour:

When I install, I'm not prompted to select ipv4 or ipv6. And at the end of my install it gives me an ipv6 address. Which in other guides it typically says not configured.

Debug Token:

https://tricorder.pi-hole.net/ov7GhQ6U/ (for some reason creating a debug token sometimes freezes/hangs my pihole, it also hanged after installation)

On OS/interface level, an IPv6 address (up the three) is obtained automatically via router advertisements, Pi-hole has no control of this. The Pi-hole setting, I suppose, is about whether FTL binds to IPv6 as well to answer DNS queries from clients via IPv6 as well. If you configured Pi-hole as DNS server in router or clients via its IPv4 address, this is however not required, independently of whether the server has an IPv6 address or not.

Also hostnames can be resolved to IPv4 (A records) and IPv6 (AAAA records) independently of whether the DNS query was made via IPv4 or IPv6.

1 Like

Hi! Thanks for the reply.

When looking at other guides like this one https://youtu.be/KkAS7tavCYI their ipv6 says "not configured"

However when I installed it, it gave me an IPV4 dns and IPV6 dns.

When I try using only the pihole's IPV4 dns on my windows device, it doesn't block ads fully. I get queries but not much blocking, it didn't start blocking anything until I went into windows ipv6 DNS settings and added the pi's IPV6.

Is that normal? Every guide I see configured their device (I'm doing it by device individually), they only set up IPV4 in their DNS.

I basically need an "explain like I'm a grandma setting up their pi hole the first time" type explaination.

Is there some reason why IPV6 is configured on my Pihole install but not others? is this dependent on my router? Does pihole defaultly comes set up with IPV6 now? And I need to set on every other device the IPV6 of the pi, like I had to on my windows PC?

And why doesn't it block ads completely when I only add the IPV4 to my windows devices DNS servers?

Are you selecting reinstall or reconfigure for your pihole -r option?

Those guides are outdated.

6 months ago we removed the selection if users want to block over IPv4 and/or IPv6.
https://github.com/pi-hole/pi-hole/pull/4357

Pi-hole will block every request depending on the interface independently of IPv4/6.

1 Like

Ah you're right, Windows (opposed to Linux) has dedicated DNS settings for IPv4 and IPv6, and the one for IPv6 can be an IPv6 address only (which does not necessarily make sense if it is used to resolve every AAAA record then). The problem is that the fixed LLA usually cannot be used to communicate between two network clients with the router between them. The ULA is often not assigned, but can often be enabled in routers. The GUA changes whenever the public IPv6 address changes.

So you either need to enable ULAs in your router, and apply the one assigned to the Pi-hole server as DNS on Windows client's IPv6 adapter settings if you need to configure it per-client. Or configure the DNS via router, either as it's own upstream (configure clients to use the router itself as DNS then) or providing Pi-hole as DNS to clients via DHCP + RA directly. However, as you accepted a solution, it seems to work already now?

Most tutorials don't show an IPv6 address because they don't have IPv6 internet, you can see it because you do have IPv6 internet. When you only added the IPv4 dns address some ads were still showing up because they were using the IPv6 dns address which was not set to pi-hole, once you set the IPv6 dns address to pi-hole the ads were being blocked by pi-hole

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