I don't understand how the raspberry shows up with the same IPV6 as the router (localhost).
I did a pihole -d and I get the alert of:
"IPv6 address(es) bound to the eth0 interface:
2001:8a0:574c:e301:4d99:d1e0:7c76:4db3 does not match the IP found in /etc/pihole/setupVars.conf
fe80::94e8:3f10:e797:c26c does not match the IP found in /etc/pihole/setupVars.conf "
but I set the IPV6 in the setupVars.conf and did pihole -g but it still shows this.. pihole_debug.txt (35.4 KB)
Those are reverse lookups (Type) for a single IPv6 address (Domain) as requested by raspberrypi and localhost (Client) where no hostname was ever returned as an answer (Reply) (terms in brackets refer to your screenshot's respective column).
From the screenshot itself, it is not deducible which device in your network would have that IPv6 address assigned.
Considering your debug log and assuming that your posted excerpt is complete, it can however be concluded that the requested IPv6 does not match your Pi-hole's public IPv6 address, as the latter ends in 4db3 and the former in 04ef.
At the same time, it can be concluded from the respective IPv6 prefixes that those public IPv6 addresses from both your screenshot as well as your debug log belong to your local network.
All in all, this wouldn't constitute an error at all, and it specfically doesn't show that your router and Pi-hole would share the same IP address.
If that doesn't help, please try to rephrase your question.
I've been digging through this for a while now and I'm coming to some conclusions.
I'm noticing raspberrypi is sharing the same IPv6 address as my mobile phone. I don't know how is this happening.
We can see in the pihole_debug attached that the IPv6 is 2001:8a0:574c:e301:4d99:d1e0:7c76:4db3
But on the Clients (also see attached images) it associates another IPv6 to raspberrypi..
All IPs shown there are also IPs which made requests to your Pi-hole. This is guaranteed. So your IP address may have changed over time. Pi-hole still handles them as different devices as you may very well have two raspberrypi in the same network, right?
No, I have only one raspberrypi.
The IPv6 address 2001:8a0:574c:e301:30a0:4f96:b62b:c768 is from my mobile phone wifi 5GHz.
I don't understand why it is being associated with the raspberrypi..
Your output shows that dig was using your router as DNS server.
Please repeat the commands, forcing lookup through your Pi-hole's IP this time:
dig -x <your-ipv6-address-here> @192.168.1.88
PS: (click for more)
Please consider posting the textual output of commands.
It might be necessary to reenact or reuse some of it, and that is easier to do for both other potential readers and me with living text instead of a “ dead ” screenshot.
You can paste your output here and format it by selecting a text passage and applying the </>Preformatted text option from the menu.
PPS:
In some shells (e.g. puTTY) it is enough to highlight text to copy it into the clipboard, from where it can be pasted here.
That's correct, and from that output, we can conclude that Pi-hole does not associate your mobile phone's :c768 address with a hostname of raspberrypi.
Rather, there seems to be no hostname at all associated with your mobile, which is unusual. Most mobile phones will also try to register a name when requesting an IPv4 address via DHCP. IPv6 addresses get associated with that hostname by virtue of using the same MAC on the link, at least when Pi-hole is acting as DHCP (which it is in your case, right?).
Does your mobile phone appear with a DHCP lease under Settings | DHCP ?
Only the IPv4 of the phone shows up there. Strange.
Is there a way to flush all the leases or restart the DHCP to gather the devices again?
I'm considering turning off IPv6 on DHCP after all this...
PS.- Thank you so much for helping me Bucking_Horn
That's ok.
Devices are not at all obliged to request an IPv6 address via DHCPv6. In fact, most won't (Android doesn't even support DHCPv6). Commonly, they will calculate an IPv6 address for themselves, respecting only some information as advertised by the router via RAs (most importantly, the IPv6 prefix),
But if an IPv4 DHCP lease would have been absent for your Smartphone, it could have explained why there is no hostname for your corresponding public IPv6 address.
From your screenshot, I'd expect a reverse lookup to return gonsaplus as hostname.
Does that IPv4 indeed match the IP on your mobile?
Your earlier mobile screen only shows DNS and IPv6 info, not IPv4.
This is where it is associating the IP 192.168.1.80 to raspberrypi, although as we know the real one is 192.168.1.88.
How can I fix this? Can I flush these entries?
This confirms that :c767 and .80 are related to the same device.
It shows the same unwanted and yet unexplainable association of raspberrypi with those addresses.
Now that we've verified that .80 is your smartphone's IPv4, what does a dig return for that IPv4 address?
Yes now the return of dig is right, it associates with the right hostname gonsaplus.
How and why is it showing up in the network table and clients as raspberrypi???