Closed Aetherinox closed 1 year ago
pihole worked a few months without any problem and same issue happened to me. i could not fix, may be windows 10 updates broke it.
Interesting.
I decided to throw up a ZorinOS box last night after this issue, using Virtual Box, just to see if it is the install, or if I've got a bigger problem.
It took about 15 minutes, and I got Pihole up and running, without issue. It's tracking my hostnames properly, blocking from the list properly, and I haven't had a single issue.
So I'm not sure if it's something with the package, or if I've got some sort of weird setting that is just blocking out connections.
It would be nice to get it working on WSL1 and not have to keep a Virtual Machine running, but I've messed with it for hours and it just refuses to allow me any access to the internet.
I also noticed in the right side under Upstream DNS Servers, it lists 127.0.0.1#5335
Recommend you uninstall, then reinstall with PH4WSL.CMD. 127.0.0.1#5335
Is the address of the bundled Unbound server. By default that should be the only upstream DNS server configured. Not sure how the other one got there.
On your Windows box, try querying Pi-hole to make sure it's working. It should return the DNS address for the name specified (in the below example, google.com). You can also try this fron another machine on your network, just replace 127.0.0.1 with the IP of your Windows box on your internal network.
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
> google.com
Server: localhost
Address: 127.0.0.1
Non-authoritative answer:
Name: google.com
Addresses: 142.250.176.206
I'll give it another shot. Originally I did install using PH4WSL1.cmd
. Install went smooth, just the issue of no connectivity.
However, when I install using a VM, Pihole works great.
Ran your installer, and Pihole is up.
However, as soon as I change the DNS server to
127.0.0.1
, the internet dies. I also tried192.168.0.55
which is the IP of the computer I'm using that is also hosting the Pihole WSL1 server.I went into the Pihole admin, and checked
Google (ESC, DNSSEC)
IPv4 and tried again, and then I was only able to access google, all other sites were dead. Initially with a fresh install, none of those were checked and setting the DNS also gave the same result (no internet).I also noticed in the right side under
Upstream DNS Servers
, it lists127.0.0.1#5335
Not sure what I'm doing wrong. As soon as that DNS server is changed, everything just dies, but yet in the
query log
, I do have entries appearing, but all thereply
values areSERVFAIL
Really like how easy your script is, but I've been tweaking with Pihole for a full two days (had a docker install, and then WSL2, and now yours). I just want it to work lol
In case it helps, went to check the resolv file to see what is listed via
And some of the debug outputs
And I'm not sure how these are configured or setup with your script, but this install seems to have a really large number of network adapters
eth3
seems to be the network adapter that is the same IP as my local machine I'm trying to connect to Pihole with the IP192.168.0.55