Hello friends ...
I need help with Pi-Hole settings to work correctly with IPV6 ...
If possible, how should I configure my device's network, an Orange PI PC, step by step, running Debian Buster (Armbian Linux).
I configured unbound too, following the tour posted at Redirecting...
On my router, I run Openwrt 18.07.2.
I'm not a Linux expert, but I have some knowledge.
Expected Behaviour:
When a run tests about IPV6 in Internet, without use Pi-Hole, I have "OK" from tests, like screens bellow:
I temporarily disabled Pi-Hole, however, if I enable and test again on the same sites or even on other sites, I get an error in the IPV6 tests, , which indicates that there is some wrong configuration in the Pi-hole regarding IPV6.
I was starting studies on IPV6 around here and I found it interesting to try to implement ... but I have seen that, by the way, it is not that simple ...
Honestly, I haven't found any tutorial regarding how to use Pi-Hole and IPV6 ... For IPV4, we have several ...
There is no problem in showing the IP addresses above as I will completely reconfigure my local network.
Removing the Pi-Hole and leaving only my router settings with Openwrt, version 19.07.2 ...
My provider here in Brazil is Vivo, from Telefónica Group ...
I get IPV6 from the provider via Virtual Dynamic Interface (DHCPv6 client) like this:
The IPV6 addresses above will change as soon as I reconfigure the PPPOE (restart) connection, so there is no problem showing them at this point ...
However, now look at the IP addresses configured on my machine's network card ...
With that, I conclude that I am missing something in the Pi-Hole configuration so that it can deliver me an IPV6 gateway, however, I have no idea where I am missing, so I asked you for help, even for not having found a step-by-step Pi-Hole configuration tutorial for IPV6, as well as there are numerous available for IPV4 ...
That is a misconception:
Pi-hole's installation covers IPv4 as well as IPv6.
For the DNS part, there is nothing to configure in Pi-hole apart from providing a stable IPv6 address.
DHCPv6 options as accessible via Pi-hole's UI are sufficient for the majority of home users (for more exotic scenarios, dnsmasq's documentation -Pi-hole's embedded DNS/DHCP server- has all available options).
Specifically, there is no lack of an IPv6 gateway in Pi-hole's DHCP UI:
DHCPv6 has no gateway option.
Instead, a client learns the default gateway by digesting a router advertisment (RA) as the the link-local address of a respective router.
You'd have to convince your router to advertise itself as a gateway for IPv6..
You may want to further familiarise yourself with IPv6 in general and the different ways a client may join a network in specific, i.e. stateful vs. stateless DHCPv6 vs. SLAAC.
I´ll try to reconfigure all my network... including Pi-Hole, routers, etc...
I think that Pi-Hole receive a static IPV6 address, it should be enough to work properly ...
I am studying, in parallel, the Openwrt documentation to see what I can do or possibly be wrong on their side too ...
Let's go ... one hour it will work correctly.
One last question: Imagine that I configure the Pi-hole to respond to IPv4 and IPv6 requests, but configure my small network to work only with IPv4, would I have a problem with that?
Thank you very much for any assistance attempt so far.
No. There is a difference between resolving a domain name to an IPv6 address, and being able to connect to it. You don't even need IPv6 setup on the Pi-hole to resolve IPv6 addresses from domain names; this can be done by IPv4.
Example - IPv4 only network, using unbound without IPv6 enabled.
As I said, my network is small, home network, bringing everything together, 15 hosts, when we have visitors, 20 ...
I will reconfigure following the tutorials provided on the Pi-Hole website, I want to use it with unbound here - I prefer to have my own DNS server ...