From 60ceb29ef9c830215993ddc07432353f24056d8c Mon Sep 17 00:00:00 2001 From: SukkaW Date: Sun, 14 Sep 2025 03:40:47 +0800 Subject: [PATCH] Chore: update domain alive options --- .github/workflows/check-source-domain.yml | 2 +- Build/lib/is-domain-alive.ts | 6 ++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/check-source-domain.yml b/.github/workflows/check-source-domain.yml index cac5a2d9..ffcdf3f8 100644 --- a/.github/workflows/check-source-domain.yml +++ b/.github/workflows/check-source-domain.yml @@ -50,7 +50,7 @@ jobs: - run: pnpm install - run: pnpm run node Build/validate-domain-alive.ts env: - DEBUG: domain-alive:dead-domain + DEBUG: domain-alive:dead-domain,domain-alive:error:* - name: Cache cache.db if: always() uses: actions/cache/save@v4 diff --git a/Build/lib/is-domain-alive.ts b/Build/lib/is-domain-alive.ts index 8c66c3a5..6b572146 100644 --- a/Build/lib/is-domain-alive.ts +++ b/Build/lib/is-domain-alive.ts @@ -32,14 +32,12 @@ const dnsServers = [ // 'ordns.he.net', 'dns.mullvad.net', 'basic.rethinkdns.com', - 'doh.qis.io', 'dns.surfsharkdns.com', 'private.canadianshield.cira.ca', 'unfiltered.joindns4.eu', 'public.dns.iij.jp', - 'doh.libredns.gr', - 'common.dot.dns.yandex.net' - // '198.54.117.10' // NameCheap DNS, supports DoT, DoH, UDP53 + 'common.dot.dns.yandex.net', + 'safeservedns.com' // NameCheap DNS, supports DoT, DoH, UDP53 // 'ada.openbld.net', // 'dns.rabbitdns.org' ].map(dns => 'https://' + dns + '/dns-query');