DesktopECHO / Pi-Hole-for-WSL1

Ad-blocking DNS server for Windows • Unbound pre-configured • Deployment ready in minutes • Does not require hypervisor/docker
364 stars 54 forks source link

No DHCP tab in settings and IPv6 #104

Closed skinlab closed 1 year ago

skinlab commented 1 year ago

I am trying to enable ipv6 support, and general pi-hole documentation says it should be under settings and then the DHCP tab, but in this build the DHCP tab under settings doesn't exist.

DesktopECHO commented 1 year ago

DHCP Server is not supported and is disabled in the Pi-hole Web UI.
That said, IPv6 should still work out of the box but I have not tested this extensively.

skinlab commented 1 year ago

Ok, thanks. Should it be as simple as adding the local host's ipv6 address to pi-hole's DNS upstream servers in the settings? Because as is it doesn't seem like clients using ipv6 are using pi-hole.

DesktopECHO commented 1 year ago

Hi... It should just work.
You can test it by opening a command prompt on the Windows machine running Pi-hole:

C:\>nslookup
Default Server:  xxx.yyy.zzz
Address:  10.74.0.101

> server 127.0.0.1
Default Server:  localhost
Address:  127.0.0.1

> set q=AAAA
> google.com
Server:  localhost
Address:  127.0.0.1

Non-authoritative answer:
Name:    google.com
Addresses:  2607:f8b0:4004:c08::66
            2607:f8b0:4004:c08::65
            2607:f8b0:4004:c08::71
            2607:f8b0:4004:c08::8a
Bucking-Horn commented 1 year ago

@skinlab wrote:

Because as is it doesn't seem like clients using ipv6 are using pi-hole.

Then your router may be propagating ts own IPv6 address as local DNS server. This has to be addressed by configuring your router to stop advertising its own IPv6 for DNS (or -if that's not possible- to advertise your Pi-hole host machine's IPv6 instead).

If your router doesn't support configuring IPv6 DNS, you could consider disabling IPv6 altogether (unless you'd depend on IPv6 for other reasons). If your router doesn't support that either, your IPv6-capable clients will always be able to bypass Pi-hole via IPv6.

Consult your router's documentation sources on further details for its IPv6 configuration options.