mullvad / mullvadvpn-app

The Mullvad VPN client app for desktop and mobile
https://mullvad.net/
GNU General Public License v3.0
5.08k stars 338 forks source link

Split tunneled apps should retain the system's dns settings #6586

Closed th3m closed 2 months ago

th3m commented 2 months ago

Is it a bug?

I have checked if others have reported this already

Current Behavior

A split tunneled app keeps the system's IP but not the dns. Mullvad's app dns settings are used instead.

Expected Behavior

Expecting when split tunneling an app to retain the dns settings for the app and not use the ones that are set up on mullvad-app.

Steps to Reproduce

  1. Check the dns server on a browser app while securedns settings are off
  2. Connect to mullvadvpn while the browser app is split tunneled
  3. Check the dns server on the browser app, it is changed to the values set of the mullvadapp

Failure Logs

No response

Operating system version

Windows 11

Mullvad VPN app version

2024.4

Additional Information

No response

Serock3 commented 2 months ago

This is known limitation unfortunately and we don't have any plans to address it at the moment. All DNS lookups are made through the same system service which makes it non-trivial to split. You can read more about it here https://github.com/mullvad/mullvadvpn-app/blob/main/docs/split-tunneling.md.