r/pihole•
KingHawkk

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
dschaperDev - Has a strong aversion to }'s•

What is the contents of your /etc/pihole/setupVars.conf file?

1
KingHawkkOP•

/etc/pihole/setupVars.conf contains the following

PIHOLE_INTERFACE=eth0
IPV4_ADDRESS=192.168.2.110/24
IPV6_ADDRESS=2a02:a446:a9d:1:215:5dff:fe02:6804
QUERY_LOGGING=true
INSTALL_WEB=true
WEBPASSWORD=
DNSMASQ_LISTENING=single
PIHOLE_DNS_1=208.67.222.222
PIHOLE_DNS_2=208.67.220.220
PIHOLE_DNS_3=2620:0:ccc::2
PIHOLE_DNS_4=2620:0:ccd::2
DNS_FQDN_REQUIRED=true
DNS_BOGUS_PRIV=true
DNSSEC=false
DHCP_ACTIVE=true
DHCP_START=192.168.2.1
DHCP_END=192.168.2.99
DHCP_ROUTER=192.168.2.254
DHCP_LEASETIME=168
PIHOLE_DOMAIN=local
DHCP_IPv6=true
1
KingHawkkOP•

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.

ipconfig /release
ipconfig /renew
ipconfig /all

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.

1
dschaperDev - Has a strong aversion to }'s•

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.

2
KingHawkkOP•

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.

1