Pi-hole DHCP sends wrong ipv6 DNS address
Today I've done a clean install with the latest Pi-hole and started using its DHCP. Everything seems to work except for the ipv6 address the DHCP sends along which is fe80::364d:eaff:fe8d:c629%2 while that's supposed to be 2a02:a446:a9d:1:215:5dff:fe02:6804. Does anyone know how I can fix this?
Posted May 3, 2017, 6:31 PM UTC
25
What is the contents of your
/etc/pihole/setupVars.conffile?/etc/pihole/setupVars.conf contains the following
If you need more info just tell me. To explain the situation a bit more Pi-hole DHCP is enabled and the router its DHCP is disabled. When the new DHCP situation was done I did the following.
Which showed the following information that was received from the Pi-hole DHCP. http://imgur.com/0Q8nBrP
When I take a look at the Network block in the Pi-hole settings it looks like this http://imgur.com/wIAEHC0 so I have no idea where it got that DNS ipv6 address from.
It looks a bit like the router is giving it's address as the IPv6 DNS server. It's hard to tell without having something like Wireshark listening to the packets coming through with the DHCP information. IPv6 uses Router Advertisement packets to announce what services are available, and the client appears to be getting the two overlapping. Offhand I'm not sure how we can troubleshoot this deeper, let me think on that and see if there's a way to solve the issue.
I think Pi-hole is showing the wrong ipv6 address when installing and in the settings. Since it's on a local network isn't it supposed to use the Link-local ipv6 address? That addess starts with fe80 and ends with %3 or something. Gonna do some testing if I can get it to communicate via ipv6 since it didn't work with the address Pi-hole provided as I showed in the screenshot. Noticed it wasn't working cuz I got this huge delay in visiting websites cuz of a broken ipv6 DNS address.
edit: Well both the ipv6 addresses shown in ifconfig on Ubuntu where Pi-hole is running don't seem to work and the one provided by the DHCP isn't blocking ads since that's probably the router as you said.