If you are using a VPN as your primary connection or even sometimes you may encounter an error message, "The remote connection was not established because the remote access server name was not resolved". This error message appears when trying to connect to a VPN.
The error could arise due to a problem with the VPN server or there is something wrong with your computer's connection. While a VPN can be useful these days, at some point it can lead to unexpected errors related to the VPN connection. And one of those annoying problems is that the remote access server didn't fix the error in Windows 10.
Fortunately, this error can be fixed. Let's see how.
Method 1: via network connections
Step 1: print Win + R together on the keyboard to open the file Run command.
Step 2: A Run command search field, type ncpa.cpl to open the file Network connections window.
Step 3: A Network connections window, right-click the file VPN adapter (ethernet 2 in this case) and select Property in the context menu.
Step 4: A VPN properties window, in the Networks tab, go to This connection uses the following elements section.
Here you go to Internet Protocol Version 4 (TCP / IPv4). Select it and click Property button below.
Step 5: A Internet Protocol Version 4 (TCP / IPv4) Properties dialog box below the file general tab, scroll all the way down and select the radio button next to Use the following DNS server addresses.
Now, enter Google's public DNS server as shown below:
Preferred DNS server - 22.214.171.124 Alternative DNS server - 126.96.36.199
print ok to save changes and exit.
You can now double check and there should be no more VPN connections. You can now browse normally. However, if the problem persists, try the second method.
Method 2: clear the DNS cache and reset Winsock
Step 1: Navigate to Windows icon (Home) at the bottom left of the desktop and type Symbol of the system in the search field.
Step 2: Right-click on the result and select Run as administrator from the context menu to open Symbol of the system in administrator mode. .
Step 3: A Symbol of the system window, run the following command to clean DNS:
ipconfig / flushdns
Step 4: Now, run the following command to register the DNS server:
ipconfig / registerdns
Step 5: Then run the following two commands one by one and press Log in after each command:
ipconfig /release ipconfig /renew
Step 6: Now, run the following command to restore the file winsock:
netsh winsock reset
Now, restart your PC and check if the VPN error is gone. You should now be able to navigate smoothly.