diff --git a/Netch/Controllers/MainController.cs b/Netch/Controllers/MainController.cs index b717cbf2..1bf80a06 100644 --- a/Netch/Controllers/MainController.cs +++ b/Netch/Controllers/MainController.cs @@ -34,6 +34,10 @@ namespace Netch.Controllers if (await DnsUtils.LookupAsync(server.Hostname) == null) throw new MessageException(i18N.Translate("Lookup Server hostname failed")); + + // TODO Disable NAT Type Test setting + // cache STUN Server ip to prevent "Wrong STUN Server" + DnsUtils.LookupAsync(Global.Settings.STUN_Server).Forget(); Server = server; Mode = mode;