If you have any problems or suggestions, please contact me Solution B – Manually clearing the DNS configfilename_down.bat – executed after the connection is disconnected – Calls down.vbs – Reconfigure adapters back to their original configuration.configfilename_up.bat – executed when the connection is established – Calls up.vbs – Clear the DNS servers for all active adapter except the TAP32 adapter.configfilename_pre.bat – executed before the connection is established – Calls pre.vbs – If any active DHCP adapters exist, switch to static.Three scripts are generated for each OpenVPN configuration file
If you are using OpenVPN on Windows XP/Vista/7 then a fully automated solution is available.ĭownload dnsfixsetup.exe – (md5 checksum: f212a015a890bd2dae67bc8f8aa8bfd9)Īfter installation, when you connect to a VPN server, a batch file will be run executing the 3 steps above.
As this problem affects predominantly windows clients, only solutions for Windows appear here. The solution is to ensure that once connected to the anonymity network, you are using ONLY the DNS server/s provided by the anonymity service. has a batch file that’ll auto execute when running OpenVPN that’ll do the DNS work automatically.Put everything back after you disconnect ur VPN.After you are connected to your vpn put your dns nameserver of your regular internet connection to ‘none’ this particular forcing dns lookups via vpn only.let the computer specified dhcp settings instead of using Auto-dhcp settings (for that you are going to use VPN, only required if you are running XP.).If the latter is the case, you have a DNS leak, if none of the IP’s appears not from ur ISP then you are safe. Make sure none of those IP addresses is ur IP or indicates that the IP is from ur ISP. Check each IP address mentioned in that list, use infosniper or use Robtex.In the latter address click initiate bottom of the page, ignore ‘spoof ability’, everything except addresses listed as ‘nameserver’ and ‘server name’.Click Test, and ignore messages as “good, great” and everything except dns resolver addresses.Connect to ur VPN, go to this site: or.This problem is common when routers and computers are set to dhcp with automatic setting. Nowadays it is common that ur ISP neatly store’s that information by storage obligation this is not what u want. U also have the problem of “DNS Leakage” Domain nameservers are like phone-books, the name (This is called a “Dns leak” and means that ur ISP can look at what sites you go, etc.It usually takes a while for u know that ur VPN is stopped and u are using ur own ip that can recognize u (It will only happen during a PenTest lol). If the VPN drops out and the normal internet connection will continue, after which information and activities can be found.PC’s, have two problems with the use of VPN’s: