This commit is contained in:
xiaojunnuo
2026-03-17 00:56:06 +08:00
parent 54e1681c5e
commit f477733483
37 changed files with 292 additions and 117 deletions
@@ -0,0 +1,46 @@
name: bind9
title: BIND9 DNS 授权
desc: 通过 SSH 连接到 BIND9 服务器,使用 nsupdate 命令管理 DNS 记录
icon: clarity:host-line
input:
sshAccessId:
title: SSH 授权
helper: 选择已配置的 SSH 授权
component:
name: access-selector
type: ssh
vModel: modelValue
required: true
dnsServer:
title: DNS 服务器地址
helper: BIND9 DNS 服务器地址,用于 nsupdate 命令
component:
placeholder: 192.168.182.100
dnsPort:
title: DNS 服务器端口
helper: BIND9 DNS 服务器端口,用于 nsupdate 命令,默认为 53
value: 53
component:
name: a-input-number
placeholder: '53'
testRequest:
title: 测试
component:
name: api-test
type: access
typeName: bind9
action: TestRequest
mergeScript: |2-
return {
component:{
form: ctx.compute(({form})=>{
return form
})
},
}
helper: 点击测试 SSH 连接和 nsupdate 命令
pluginType: access
type: builtIn
scriptFilePath: /plugins/plugin-bind9/access.js
@@ -59,14 +59,14 @@ input:
orderId:
title: 证书订单ID
component:
name: RemoteAutoComplete
name: RemoteSelect
vModel: value
mode: tags
type: plugin
typeName: CertApplyGetFormAliyun
action: onGetOrderList
search: false
pager: false
pager: true
watches:
- certDomains
- accessId
@@ -131,7 +131,7 @@ input:
helper: 兼容Windows Server各个版本
renewDays:
title: 过期前提醒
value: 10
value: 20
component:
name: a-input-number
vModel: value
@@ -7,7 +7,7 @@ title: 腾讯云-部署证书到COS
needPlus: false
icon: svg:icon-tencentcloud
group: tencent
desc: 部署到腾讯云COS源站域名证书【注意:很不稳定,需要重试很多次偶尔才能成功一次】
desc: 部署到腾讯云COS源站域名证书,注意是源站域名,加速域名请使用腾讯云CDN v2插件【注意:很不稳定,需要重试很多次偶尔才能成功一次】
input:
accessId:
title: Access授权
@@ -6,7 +6,7 @@ name: TencentDeployCertToCDNv2
title: 腾讯云-部署到CDN-v2
icon: svg:icon-tencentcloud
group: tencent
desc: 推荐使用
desc: 推荐使用,支持CDN域名以及COS加速域名
input:
cert:
title: 域名证书
@@ -0,0 +1,8 @@
name: bind9
title: BIND9 DNS
desc: 通过 SSH 连接到 BIND9 服务器,使用 nsupdate 命令管理 DNS 记录
icon: clarity:host-line
accessType: bind9
pluginType: dnsProvider
type: builtIn
scriptFilePath: /plugins/plugin-bind9/dns-provider.js