diff --git a/lib/serverlist.dart b/lib/serverlist.dart index fe2bfed..6bc9195 100644 --- a/lib/serverlist.dart +++ b/lib/serverlist.dart @@ -394,6 +394,12 @@ class _ServerListState extends State { return ServerStatus.dnsError; } + try { + var _ = await HttpUtils.getForJson('https://dns.google.com/resolve'); + } catch (SocketException) { + return ServerStatus.clientConnectivityIssues; + } + try { // Check if host is IP address InternetAddress(parsedUri.host);