Dear Pi-hole Team
I asked myself the following questions and had a hard time finding relevant answers in the Pi-hole documentation:
- How can one ensure, that no clients can bypass pi-hole via IPV6 DNS resolving? Especially in docker setup.
- In the router config: Must "Local IPv6 DNS server" be disabled and/or "Announced IPv6 DNS servers" be configured with pi-hole's host IPV6 IP (if possible)?
- What are the consequences if above is not possible? Only disabling IPV6 network wide?
Maybe I am missing something, but it looks like the Pi-hole documentation lacks some of these IPV6 aspects. At least there seems to be misleading or inconsistent information about how Pi-hole/router should be configured to enable IPV6 DNS blocking.
In the "Post-Install" section of the documentation (Post-Install - Pi-hole documentation and How do I configure my devices to use Pi-hole as their DNS server?) IPV6 is not mentioned at all, at least in method 1 & 2. In the articles in the "Router setup" section (e.g. Fritz!Box (EN) - Pi-hole documentation) it look's like it is recommended to "Distribute Pi-hole as DNS server via IPv6".
Above is supported by Bucking_Horn's statement in [Solved] Extra DNS server advertised with pihole as dhcp server saying "You'd have to find a way to configure your router to advertise your Pi-hole host machine's IPv6 as DNS server instead." But this contradicts Bucking_Horn's statement in Pi-Hole and IPV6 - How to make it work? saying "I'd personally go for NOT distributing/advertising an IPv6 address as DNS resolver - if that's possible with your router."
Maybe adding a paragraph in the "Post-Install" section of the documentation helps, so that all relevant information in easy to understand words can be found at one place and must not be searched in multiple discource posts. Not all users are network specialists and understand the discussions.
Besides this I missed some information in pi-hole's docker documentation regarding IPV6 (prerequisites). E.g. I assume it is recommended to setup the docker network with IPV6 support, right? This might not be the default config in some docker installations. Any other aspects that must be considered? Btw in https://github.com/pi-hole/docker-pi-hole?tab=readme-ov-file#deprecated-environment-variables "FTLCONF_LOCAL_IPV6" is mentioned but not described elsewhere in the docs.
My setup: Docker Tag 2024.02.2, Pi-hole v5.17.3, FTL v5.25.1, Web Interface v5.21 on Raspberry Pi. Turris Omnia OpenWrt Router.
Please apologize if I have overlooked something. Many thanks for this great product and your efforts for the pi-hole project. I am a satisfied pi-hole user since many years and appreciate your work (and donated as well for sure)
Best regards
Markus