Please follow the below template, it will help us to help you!
Expected Behaviour:
[This may or may not be a problem with the Pi Hole but is more likely a problem with my configuration but I don't know where to start as this has worked before. VPN Unlimited should connect and use the DNS servers of the VPN connection. When disconnected, system uses DHCP to get DNS settings from the router.]
Actual Behaviour:
_[DNS works when not connected to the VPN, but name resolution fails when connected. Is there a problem with using a system and also having it serve itself for DNS, as the PiHole server is also my home laptop. I have a DHCP reservation for my laptop, so the IP won't change, and the router is set to use that IP as the primary DNS, and then 1.1.1.1 and 1.0.0.1 as secondary DNS. Doing an nslookup while not connected to the vpn the system works correctly:
$ nslookup google.com
Server: 127.0.0.1
Address: 127.0.0.1#53
Non-authoritative answer:
Name: google.com
Address: 64.233.185.139
However when connected to VPN Unlimited there is an error:
$ nslookup google.com
../../../../lib/isc/unix/socket.c:2135: internal_send: 127.0.0.1#53: Invalid argument
../../../../lib/isc/unix/socket.c:2135: internal_send: 127.0.0.1#53: Invalid argument
^C
As I said I'm not sure if this is Pihole related which it probably isn't but it worked just last week (While running Windows and using the Pihole in virtual machine, now I installed Linux Mint and am experimenting with that). The vpn connection would force the use of the VPN dns servers. Any and all help will be greatly appreciated as I came here first because I feel the support will be immensely better than the support from VPN Unlimited.]_
Debug Token:
[rry4rhnrtb]