I have Pi-Hole installed on Ubuntu running on a virtual machine via VMWare with Windows 10 host. I believe I have everything installed correctly, and I'm able to access the web admin panel for Pi-Hole with no problem. Below is the configuration of my router. The IP address for Pi-Hole is 192.168.189.128.
I should also note that I also use a VPN for this machine (it's a media server). I have tested everything with the VPN disabled and enabled and I see no difference.
I've searched for hours trying to find a solution but I cannot find anything that works, so I hope someone here may have some insight! Please let me know if I can provide any more information that may be helpful.
You appear to have systemd-resolve running on port 53 instead of dnsmasq. However, the test queries work as expect. Check what DNS servers your clients are actually getting (ipconfig /all on Windows).
Mcat, thanks for the quick response. I'm not sure what to do about the issue you brought up regarding systemd-resolve. If that's a problem, can you tell me how to adjust it?
It looks like all of my devices are still using DNS 192.168.1.1, which I assume is the default option from the router. I attempted to manually change the DNS on a Windows computer and several Apple devices to 192.168.189.128 but then I do not have internet connection.
I have tried these steps on the Windows computer:
Added *.msftncsi.com to the whitelist and ran gravity.sh
Flushed DNS and rebooted the Win10
Manually set the DNS server in Win10.
Verified with ipconfig that the Pi is set as my DNS server.
C:\Users\name>nslookup pi.hole
DNS request timed out.
timeout was 2 seconds.
Server: UnKnown
Address: 192.168.189.128
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:\Users\name>nslookup google.com
DNS request timed out.
timeout was 2 seconds.
Server: UnKnown
Address: 192.168.189.128
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
I forgot to bridge the network connection between the virtual machine that's running Pi-Hole and the host. Now I have everything on the same subnet and it's working great.