Pihole DNS on RPI does not resolve from Windows, not from RPI address, works through piVPN

Please follow the below template, it will help us to help you!

Expected Behaviour:

PiHole DNS should resolve DNS from Windows

Actual Behaviour:

PiHole does not resove DNS from Windows DNSbench etc

Debug Token:

https://tricorder.pi-hole.net/wfuajrd3hx!

Here is my problem. W10 is set to use my RPI pihole on 192.168.2.1
The Windows DNS is set to 192.168.2.1 from the RPI
In a windows command processor window I can see these results

C:\Windows\syswow64>
nslookup spotify.com   (with 192.168.2.1 as DNS server)
DNS request timed out.
    timeout was 2 seconds.
Server:  UnKnown
Address:  fe80::561f:4e44:952f:f480

DNS request timed out.
    timeout was 2 seconds.
DNS request timed out.
    timeout was 2 seconds.
DNS request timed out.
    timeout was 2 seconds.
DNS request timed out.
    timeout was 2 seconds.
*** Request to UnKnown timed-out

C:\Windows\syswow64>
nslookup spotify.com 8.8.8.8
Server:  google-public-dns-a.google.com
Address:  8.8.8.8

Non-authoritative answer:
Name:    spotify.com
Addresses:  104.199.64.136
          104.199.240.211
          104.154.127.47

Same excercise on my RPI

pi@raspberrypi:~ $ nslookup spotify.com
Server:         127.0.0.1
Address:        127.0.0.1#53

Non-authoritative answer:
Name:   spotify.com
Address: 104.199.240.211
Name:   spotify.com
Address: 104.154.127.47
Name:   spotify.com
Address: 104.199.64.136

pi@raspberrypi:~ $ nslookup spotify.com 192.168.2.1
;; connection timed out; no servers could be reached

pi@raspberrypi:~ $ nslookup spotify.com 8.8.8.8
Server:         8.8.8.8
Address:        8.8.8.8#53

Non-authoritative answer:
Name:   spotify.com
Address: 104.154.127.47
Name:   spotify.com
Address: 104.199.64.136
Name:   spotify.com
Address: 104.199.240.211

Checking with Namebench or DNSbench both tell me that DNS 192.168.2.1 is not responding.
However, when I use the combination of PiHole and PiVPN like explained on Marc Stan's site. I can see that DNS is resolved and that adds are blocked.

What problem is there that I cannot see?

Can't see your debug token but i'm guessing that your Pi-hole is set to listen to tun interface only.

Switch it to listen to all, permit all origins under the /admin/interface, and that should do the trick.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.