Skip to content
This repository has been archived by the owner on Sep 29, 2024. It is now read-only.

DNS is broken when no servers are provided #84

Closed
keeshux opened this issue Apr 5, 2019 · 2 comments
Closed

DNS is broken when no servers are provided #84

keeshux opened this issue Apr 5, 2019 · 2 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@keeshux
Copy link
Member

keeshux commented Apr 5, 2019

Not really a bug, but OpenVPN Connect seems to fall back to a working server.

Options:

  • DNS servers for the current network interface
  • A 3rd party server (unlikely)

Unsurprisingly, NEDNSSettings is not smart enough to fall back to system-wide settings when set to nil.

@keeshux keeshux added the bug Something isn't working label Apr 5, 2019
@keeshux keeshux self-assigned this Apr 18, 2019
@keeshux keeshux added this to the 1.6.3 milestone Apr 24, 2019
@keeshux
Copy link
Member Author

keeshux commented Apr 25, 2019

Though unlikely, 3rd party was the case. OpenVPN Connect appears to fall back to Google DNS (!):

https://github.com/OpenVPN/openvpn3/blob/e6ec025932b928347fa2d4194364e6787bbceb6d/openvpn/tun/client/tunprop.hpp#L174

@keeshux
Copy link
Member Author

keeshux commented Apr 25, 2019

Could not fall back to DNS servers in local network yet. Fall back to CloudFlare, at least.

keeshux added a commit that referenced this issue Apr 27, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant