diff --git a/android/weiss/weiss.aar b/android/weiss/weiss.aar index 8b038fba0..2a9348a4f 100644 Binary files a/android/weiss/weiss.aar and b/android/weiss/weiss.aar differ diff --git a/lib/network/onezero_client.dart b/lib/network/onezero_client.dart index 530d96a87..e5fd42802 100644 --- a/lib/network/onezero_client.dart +++ b/lib/network/onezero_client.dart @@ -22,7 +22,7 @@ import 'package:pixez/models/onezero_response.dart'; class OnezeroClient { Dio httpClient; - static const String URL_DNS_RESOLVER = "https://1.0.0.1"; + static const String URL_DNS_RESOLVER = "https://cloudflare-dns.com"; OnezeroClient() { this.httpClient = Dio(BaseOptions(baseUrl: URL_DNS_RESOLVER, connectTimeout: 5000)); @@ -47,7 +47,7 @@ class OnezeroClient { Future queryDns(String name) async { Response response = await httpClient.get('/dns-query', options: Options( - headers: {'accept': 'application/dns-json', 'Host': '1.0.0.1'}, + headers: {'accept': 'application/dns-json', 'Host': 'cloudflare-dns.com'}, ), queryParameters: { 'name': name,