From 8c29b36862332bcd7a92fd6a5e6c8ff11b1931ef Mon Sep 17 00:00:00 2001 From: Davide De Rosa Date: Mon, 9 Dec 2019 11:00:52 +0100 Subject: [PATCH] Revert fallback to CloudFlare DNS Fixes #116 --- CHANGELOG.md | 1 + Passepartout-iOS-Tunnel/PacketTunnelProvider.swift | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 56042aba..9a2cdb0c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - "Trusted networks" settings are now saved per profile. [#114](https://github.com/passepartoutvpn/passepartout-ios/issues/114) - Require explicit `--ca` and `--cipher` in .ovpn configuration file. +- Revert fallback to CloudFlare DNS when no servers provided. [#116](https://github.com/passepartoutvpn/passepartout-ios/issues/116) ### Fixed diff --git a/Passepartout-iOS-Tunnel/PacketTunnelProvider.swift b/Passepartout-iOS-Tunnel/PacketTunnelProvider.swift index a44d369a..09337ee8 100644 --- a/Passepartout-iOS-Tunnel/PacketTunnelProvider.swift +++ b/Passepartout-iOS-Tunnel/PacketTunnelProvider.swift @@ -31,6 +31,7 @@ class PacketTunnelProvider: OpenVPNTunnelProvider { dnsTimeout = GroupConstants.VPN.dnsTimeout logSeparator = GroupConstants.VPN.sessionMarker dataCountInterval = GroupConstants.VPN.dataCountInterval + fallbackDNSServers = [] super.startTunnel(options: options, completionHandler: completionHandler) } }