With numerous free VPNs in the market, more users would use the VPN for online security or change IP addresses. The VPN service shields your IP address and critical connection information from thieves who might use that data to hack your system or from the prying eyes of anyone who may want to know where you've been or what you've been doing across the internet. While some may meet the problem that the Internet stops when connect to a VPN server. The problem can easily be fixed, and all you need to do is to change the DNS servers you use. The easiest DNS service for free is Google DNS: 220.127.116.11 or 18.104.22.168. Here we will describe how to change your DNS servers.
CHANGE YOUR DNS PROVIDER IN WINDOWS
Open network connections
Right click on your WiFi connection and select Properties
Select TCP/IP version 4 and click properties
Copy and paste the DNS servers of the service you prefer into the fields for DNS servers
If it still does not work, restart your computer and try again
CHANGE DNS IN EARLIER WINDOWS VERSIONS
Refer to the control panel and select "View network status and tasks"
Press Network and Sharing Center followed by Change Adapter Settings
Select your Network adapter (WiFi) and press Properties
Select Internet Protocol Version 4 (TCP/IPv4) and select Properties
Select "Use the following DNS services" and copy one of the solutions mentioned
CHANGE DNS ON MAC OS X
Choose System preferences and Network
Choose the connection in use (either Ethernet or WiFi) and click advanced
Select DNS and add the DNS server information
CHANGE DNS SERVERS IN UBUNTU
Click System, Preferences, Network Connections
Select either wired (Ethernet) or Wireless connection based on what you use.
Click edit and select either IPv4 or IPv6 options
If option is Automatic (DHCP) change it to Automatic (DHCP) addresses only. Then go ahead and add the needed information to the DNS servers.
Click apply and you are ready to go!