PC won't connect to Internet unless connected to VPN

I want to apologize in advance for the long post.

I've posted this question in 3 different forums but noone was able to help me.
I've been having some problems recently with my laptops internet connection. For some reason I can only connect to the internet if my VPN is activated (btw im using IPVanish).
I have a desktop, Xbox and another laptop that all connect to the internet fine but for some reason my laptop has this problem. When I open Google Chrome and try to go on a website it gives me an error sayin that I was unable to connect to the internet. The second I connect to my VPN everything works just fine The strange thing, however, is that when I connect with this laptop at a hotel or someone elses wi-fi it works fine.
My friend suggested formatting my PC as there might be a corrupted file but before trying that I wanted to hear your suggestions?
Thank You
 

jobeard

Posts: 13,899   +1,763
This suggests to me your PC has an invalid DNS server configuration.

Get a command prompt and enter:
  1. ping 8.8.8.8
  2. nslookup 8.8.8.8
  3. ping google.com
all three should not fail, find the targets and reply.
If only (1) gives timings, then the DNS settings are bogus.
 
  • Like
Reactions: bazz2004

bazz2004

Posts: 1,584   +254
It's well worth working with jobeard on this before doing anything drastic like reinstalling the OS. You might come across the same issue after a reinstall and that would be upsetting.
 
  • Like
Reactions: jobeard