Pihole with pfsense as resolver
-
Hey all,
I can't get IPv6 working in Pihole with Pfsense as resolver.I setup PiHole in my network as follows:
Pfsense:
In general setup I set the DNS servers to CloudFlare, IPv4 and V6. I enabled the DNS resolver.
This works.PiHole:
I setup the IPv4 address to my router's IPv4. This works. The client has Pihole as DNS server and Pihole resolves the address through pfsense. This also works.But what do I have to put in the IPv6 address in Pihole? The link local fe80 doesn't work and I don't want to use the GUA because my prefix isn't static.
What's best practice in this case?
Thanks in advance!
-
@gwabber You could, probably, just put in the LAN IPv6 gateway address -- but I don't have a compatible system to verify that for you.
-
@rcoleman-netgate Thanks for your reply!
Unfortunately, that doens't work. I can ping the gateway address, but only if an interface is specified. Pihole doesn't allow to specify an interface, so i can't use it (tested it allready).
What I did as a workarround is adding my ULA private addresses to the access list of Unbound, so now I am using ula addresses.
It works, but I don't know if this is best practice...
-
@gwabber said in Pihole with pfsense as resolver:
What's best practice in this case?
There is little reason to tell pihole to use an IPv6 address if you worried its going to change on you. Talking to resolver on IPv4 works, you can resolve IPv6 addresses (AAAA) over IPv4 just fine.
Not sure what you think you get by also setting IPv6 for pihole to use?
-
@johnpoz true, it works perfectly fine with IPv4. I just want to learn about IPv6 and I experiment with IPv6 only networks.