# resolv.conf from eth0.dhcp
# Generated by dhcpcd from eth0.dhcp
nameserver 192.168.1.128
# resolv.conf from eth0.ra
# Generated by dhcpcd from eth0.ra
nameserver 2001:1998:f00:2::1
nameserver 2001:1998:f00:1::1
Everything was working fine until a few months ago where I noticed some of my devices were receiving the 3 DNS' above, I ended up turning IPV6 off on my router but I'd like to re-enable it if possible
Where the heck does eth0.ra come from? I tried updating the file with resolvconf -u but it errored out so I tried sudo service dhcpcd restart but there was no change ( grasping a straws here ) figured it wouldn't work since its grabbing it from that .ra
I realize this isn't strictly a PiHole issue but any help is greatly appreciated
Hmm if it's not that... then I can't seem to figure out why my devices are getting these extra 2 servers
*** [ DIAGNOSING ]: contents of /etc
-rw-r--r-- 1 root root 24 Jan 7 01:03 /etc/dnsmasq.conf
conf-dir=/etc/dnsmasq.d
-rw-r--r-- 1 root root 123 Feb 11 01:25 /etc/resolv.conf
search home
nameserver 192.168.1.128
nameserver 2001:1998:f00:2::1
nameserver 2001:1998:f00:1::1
As soon as I enable IPv6 they queries start going there, the only statically assigned server in my conf file is 192.168.1.128... I'm not really sure where those are coming from ( I traced it back to whatever this is eth0.ra ) but couldn't find a way to discard it
I have AT&T but the gateway is just set up to passthrough. I use OpenWRT on my TP-Link.
But, I was ,randomly, having DNS issues that were going to AT&T. No way to change the IPv6 on it.
Got a pi 2 zero, fresh installed and enabled IPv6 on it using Cloudflare as my DNS on both IPv4 and 6.
They are telling you to get a router and not use your gateway as a router.
Yeah that's what I was trying to fix, I naively thought that if I could remove those resolv and have them not be available to PiHole it just might work ( since the PI is the DHCP ). From what you're saying it sounds like the DHCPv6 is treated as it's own entity and dictates which DNS' to send out regardless of who is configured for the IPv4. My router does have a field to put in an alternate DNS but roughly 3 months ago decide to completely ignore those fields =/
Thanks for the response, it helped clear things up and solidify the fact that I need a new router if I want to use IPv6 with PiHole
With IPv6, clients may use Stateful or Stateless DHCPv6 or SLAAC/NDP to acquire network information like gateways and DNS servers along with their IPv6 addresses. The actual choice may be limited by a client's OS as well as its specific configuration (e.g. Android does not support DHCPv6 at all and uses SLAAC exclusively).
DHCP and DNS are different. IPv4 and IPv6 are different. IPv6 does not dictate which DNS to use; gateways, routers and pi-holes do, in that order. (Well, you can configure most individual devices manually, but I had issues with IPv6 configured manually)
If your gateway is also your router then your provider can do whatever it wants to whatever it can.
If you can figure out how to get the router to forward IPv6 DNS requests to the pi-hole's IPv6 address your network will use the DNS you chose in the pi-hole/settings/DNS; the router should be set to the pi-hole's IPv6 address.