DNS Leak when using OpenVPN Connect for Android (& iOS)
Posted: Sun Nov 23, 2014 4:40 am
Hello, I've set up a SoftEther VPN server on my dedicated server. It is running on the default configuration (with a few modifications). I don't think the specific config and stuff is necessary for this question. Anyway, I (and possibly others) plan on connecting to this VPN through a smartphone (Android/iOS) when I am on a specific network (which is fairly constricting) in order to access blocked content. I cannot test what the network have blocked at this time. However, I am quite sure that they've blocked most ports (apart from the common ones like 80, 443, etc.), certain domain names from their DNS servers & most public DNS servers (like Google's 8.8.8.8). This means I cannot use L2TP so intead I use the OpenVPN Connect app to connect to the VPN on port 443. This all works fine, but the problem is that my DNS is getting leaked which means that I won't be able to access certain blocked content. I'm trying to figure what the best way to resolve this would be. I do have a BIND server running which I can set-up as a forwarder if necessary but I don't know how to actually make Android/iOS use my forwarder while connected to the VPN. Any ideas would be appreciated (I need this to work for both Android and iOS).