单测优化。

develop
王良 2025-05-16 01:28:09 +08:00
parent fe447950b5
commit f7b591015e
1 changed files with 10 additions and 0 deletions

View File

@ -2,8 +2,18 @@ import DNSOverTLS from "../src/lib/dns/tls.js";
// 境外DNS的DoT配置sni测试
const servers = [
'1dot1dot1dot1.cloudflare-dns.com',
'cloudflare-dns.com',
'one.one.one.one',
// '1.1.1.1', // 可直连无需SNI
'dot.sb',
'185.222.222.222',
'45.11.45.11',
'dns.adguard.com',
'dns-family.adguard.com',
'dns-unfiltered.adguard.com',
]
const hostnames = [