DNS not working with VPN Unlimited

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]

This is a BIND9 related error. I'm not sure if you installed it on purpose or if it came with Linux mint.

Is it something you actually use or need? (Bind9 that is).

1 Like

I wouldn't know the answer to that. I assume it did not come with Pi Hole? May have came with my VPN Client VPN Unlimited. I downloaded Windscribe to use as a second test, and it seems to work ok. Still working out some kinks. I guess the issue is related the the Unlimited VPN client. Strangely though DNS requests when connected to the Windscribe VPN still answer from 127.0.0.1#53. Thought this was interesting.

That is correct. Pi-Hole does not need Bind9 to work. It comes with it's own binary - FTLDNS which is an in-house fork of dnsmasq.
I'm not familiarized with VPN Unlimited and their services. I prefer running my own VPN server (something you can do alongside Pi-hole).

1 Like

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