Add new DOH check configuration

pull/160/head
XUZHONGXIN 2025-12-01 17:34:44 +08:00 committed by GitHub
parent 35639354e2
commit f7dbfd023e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 9 additions and 0 deletions

View File

@ -180,6 +180,15 @@ const workerConfig: WorkerConfig = {
target: 'https://passport.xinnew.top/',
timeout: 10000,
},
{
id: 'doh.sec.hn.cn',
name: 'DOH核查',
// `method` should be `TCP_PING` for tcp monitors
method: 'GET',
// `target` should be `host:port` for tcp monitors
target: 'https://doh.sec.hn.cn/dns-query',
timeout: 100,
},
],
notification: {
// [Optional] apprise API server URL