From fe61522f2aceea1b2681fe8493a54d321b952218 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Wed, 26 May 2021 18:03:44 +0200 Subject: tunnel: retry DNS resolution for 10 seconds This has several problems: 1) it blocks the main thread; 2) it doesn't distinguish between a permanent error and a transient one; 3) the 10 seconds is hard coded; 4) there's no way for the user to cancel it. We'll have to improve this. Signed-off-by: Jason A. Donenfeld --- ui/src/main/res/values/strings.xml | 1 + 1 file changed, 1 insertion(+) (limited to 'ui/src/main/res/values/strings.xml') diff --git a/ui/src/main/res/values/strings.xml b/ui/src/main/res/values/strings.xml index 812b2192..bb4466aa 100644 --- a/ui/src/main/res/values/strings.xml +++ b/ui/src/main/res/values/strings.xml @@ -214,6 +214,7 @@ Add a tunnel using the blue button Tunnel Name Unable to turn tunnel on (wgTurnOn returned %d) + Unable to resolve DNS hostname: ā€œ%sā€ Unable to rename tunnel: %s Successfully renamed tunnel to ā€œ%sā€ Go userspace -- cgit v1.2.3-59-g8ed1b