From c46afc3db9c4f805647c28961d9e457a1dedc2d8 Mon Sep 17 00:00:00 2001 From: SukkaW Date: Tue, 12 Nov 2024 22:15:27 +0800 Subject: [PATCH] Fix: update doh server --- Build/validate-domain-alive.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Build/validate-domain-alive.ts b/Build/validate-domain-alive.ts index d5c96f93d..468d3c221 100644 --- a/Build/validate-domain-alive.ts +++ b/Build/validate-domain-alive.ts @@ -35,16 +35,16 @@ const dohServers: Array<[string, DNS2.DnsResolver]> = ([ // 'zero.dns0.eu', 'dns.nextdns.io', 'anycast.dns.nextdns.io', - 'wikimedia-dns.org', + // 'wikimedia-dns.org', // 'ordns.he.net', // 'dns.mullvad.net', 'basic.rethinkdns.com' // 'ada.openbld.net', // 'dns.rabbitdns.org' -] as const).map(server => [ - server, +] as const).map(dns => [ + dns, DNS2.DOHClient({ - dns: server, + dns, http: false // get: (url: string) => undici.request(url).then(r => r.body) })