Google VPN caught overwriting your Windows 11/10 DNS settings with its own (2024)

Google VPN caught overwriting your Windows 11/10 DNS settings with its own (1)

As more and more people become aware of the dangers of the internet and all the prying eyes around, VPN or Virtual Private Networks have grown in popularity as those users intend to encrypt and mask their browsing and surfing habits.

Corporations, both large and small, have had taken note and begun to offer VPN services bundled with previous products. But these can often lead to problems and annoyances as well. Recently, Brave stopped force-installing its VPN services on Windows PCs when you installed its browsers. The fix was rolled out nearly six months after the issue was highlighted.

And now there are reports of Google's VPN services messing up Windows' DNS (Domain Name Service) settings. Google introduced a VPN service as a part of its Google One cloud subscription services back in 2020. And a couple of years later in November of 2022, it was released to Windows and Mac as well.

The problem seems to be two-fold. First, Google One VPN is imposing its own DNS servers over the one you have on your Windows, and second, it also fails to revert back the changes it made to Windows' DNS settings even if you disable it. Mac seems unaffected by this and it seems to be Windows-exclusive bug.

The bug was noticed by GitHub user Mr-McMuffin who opened an issue describing the problem. The user wrote:

This VPN BREAKS DNS functionality in windows 11, it locks the system DNS to google DNS servers under the network settings.

  1. Settings -> Network & Internet -> Ethernet
    Leave this open, and set on Automatic DHCP.
  2. Connect to Google VPN, it will change your DNS setting to manual google DNS servers.
  3. Disconnect, and keep an eye on the settings window we left opened, it will stay stuck to the google DNS settings, not the automatic DHCP, breaking ANY dns functionality of your computer.

Even after a restart, closing the google VPN app, or disconnecting the DNS settings are stuck on a manual assignment.
This is unacceptable. In order to use the google one vpn, one needs to manually go into network settings and toggle back on the auto assignment.

This is a serious issue, it happens on all windows 11 computers ive tested.

MAJOR ISSUE. Please address when an ETA to fix this will be done.

Why is this a huge issue? If you use TLS or Encrypted DNS the google 8.8.8.8 will break this configuration.
I use encrypted dns with ECH, with google none of this is available putting my security at risk when the vpn is off.
If you have custom dns for work, firewalls, or family safety/filtering - again the vpn will break it.
This was causing a huge headache for me but i discovered the google VPN has a huge bug with not reseting DNS back into the state it was before turning on.

Although the issue notes that the problem happens on Windows 11, others on the thread chimed in to add that it is the same on Windows 10 too.

A Google engineer Ryan Lothian responded to the thread earlier this year in January (the issue was opened back in November 2023) thanking the user for bringing the issue to Google's attention and also explained what was happening. Lothian wrote:

Hey folks, thank you for reporting this behaviour.

To protect users privacy, the Google One VPN deliberately sets DNS to use Google's DNS servers. This prevents a nefarious DNS server (that might be set by DHCP) compromising your privacy. Visit https://developers.google.com/speed/public-dns/privacy to learn about the limited logging performed by Google DNS.

We think this is a good default for most users. However, we do recognize that some users might want to have their own DNS, or have the DNS revert when VPN disconnects. We'll consider adding this to a future release of the app.

While Google itself feels that it is a "good default for most users" to use Googles' own DNS servers, the commenters on the GitHub thread have mostly expressed disapproval.

The silver lining is that the company has said it will consider adding an option for users to use their own DNS but that was back in January and there is yet to be any update on it.

For the meantime, a user beez34 was able to devise a way to work around this Google shenanigan using a PowerShell script:

.... until this is addressed, I've set a simple PowerShell script that runs this on startup:

Get-DnsClientServerAddress | Set-DnsClientServerAddress -ResetServerAddresses


Run it elevated as a delayed scheduled task so that when Windows starts and Google One VPN starts, it has a minute and then runs the command to reset your network IPv4 and IPv6 adapters to default. Because make no mistake, every single interface alias is altered by Google here.

You can follow the issue for yourself on this GitHub page.

Google VPN caught overwriting your Windows 11/10 DNS settings with its own (2024)

FAQs

Does Google VPN change DNS settings? ›

The problem is that Google's VPN app changes the Windows DNS settings of all network adapters to always use Google's DNS, whether the VPN is on or off. Even if you change them, Google's program will change them back. Most VPN apps don't work this way, and even Google's Mac VPN program doesn't work this way.

Why is Google discontinuing VPN? ›

When asked why Google is retiring the VPN service, a company spokesperson previously told ZDNET: "We're refocusing our efforts to support more in-demand features with Google One. To keep our subscription service fresh, we're discontinuing the VPN feature, as we found people simply weren't using it."

How to fix VPN DNS problem? ›

Choose a DNS server that works. Ensure there isn't a firewall blocking traffic between the VPN client and the DNS server. Check for missing routes (if you're using routing instead of NAT for Access Server) and implement static routes for direct VPN client communication or switch to NAT.

Does a VPN override DNS? ›

Most VPN services use their own DNS servers, which will override any custom DNS or Smart DNS settings you have on your device. You can check which DNS servers your device is using with a DNS checker tool. It is also possible to buy a VPN subscription that also includes a Smart DNS service.

Should I leave Google VPN on? ›

Yes, you should leave your VPN on all the time. VPNs offer the best online security, so keeping it on will protect you against data leaks and cyberattacks, especially while you're using public Wi-Fi.

What happens if I change my DNS to Google DNS? ›

It is probably faster than one run by a small company or small ISP. It filters out known malware sites, and is updated quickly as Google discovers bad actors. It can provide addresses for sites that only answer DNS queries using IPv6.

How do I flush DNS cache in VPN? ›

In the command prompt window, type the following command: ipconfig /flushdns. Press “Enter” to confirm. If you are successful, you will see a message stating that the DNS resolver cache has been flushed.

How to bypass VPN DNS? ›

10 ways to bypass VPN blockers
  1. Choose a quality VPN provider. Not all VPNs are created equal. ...
  2. Switch VPN servers. ...
  3. Change your VPN protocol. ...
  4. Use obfuscated servers. ...
  5. Get a dedicated IP address. ...
  6. Change ports. ...
  7. Change your DNS settings. ...
  8. Send your VPN traffic through a proxy tunnel.
May 2, 2024

Do VPNs use their own DNS? ›

All good VPN providers operate their own DNS servers. When using a VPN, DNS requests are routed through the VPN tunnel and resolved by the VPN service.

How to check DNS for VPN? ›

Choose a reputable and reliable DNS leak testing tool to perform the test. Some popular options include dnsleaktest.com, dnsleak.com or ipleak.net. For this example, we'll use DNSLeakTest. If you're using DNSLeakTest, the page should show the location and IP address of the VPN server.

Is it better to change DNS or use VPN? ›

Both VPN and smart DNS can help overcome regional restrictions, but smart DNS doesn't offer any security features that a VPN has. A VPN encrypts your data and hides your IP address on top of changing your virtual location, which makes it a far better choice for online privacy and security.

Does DNS traffic go through VPN? ›

A “Full-Tunnel” VPN routes and encrypts all the Internet traffic through the VPN. Consequently, DNS requests are also encrypted and out of the control of the Internet provider. On the other hand, local network resources are not accessible.

Does Google VPN change IP address? ›

To allow websites to show the right content for your region, VPN by Google One will assign you an IP address based on your current region.

Does VPN prevent DNS hijacking? ›

DNS hijackers can target users' login information using malware that reveals passwords. Installing antivirus software can help you catch any attacker trying to leverage this type of malware. But to reduce the likelihood of data being compromised, use secure virtual private networks (VPNs).

References

Top Articles
Latest Posts
Article information

Author: Cheryll Lueilwitz

Last Updated:

Views: 5287

Rating: 4.3 / 5 (54 voted)

Reviews: 93% of readers found this page helpful

Author information

Name: Cheryll Lueilwitz

Birthday: 1997-12-23

Address: 4653 O'Kon Hill, Lake Juanstad, AR 65469

Phone: +494124489301

Job: Marketing Representative

Hobby: Reading, Ice skating, Foraging, BASE jumping, Hiking, Skateboarding, Kayaking

Introduction: My name is Cheryll Lueilwitz, I am a sparkling, clean, super, lucky, joyous, outstanding, lucky person who loves writing and wants to share my knowledge and understanding with you.