ddns: store configuation in database (#435)

* ddns: store configuation in database

Co-authored-by: nap0o <144927971+nap0o@users.noreply.github.com>

* feat: split domain with soa lookup

* switch to libdns interface

* ddns: add unit test

* ddns: skip TestSplitDomainSOA on ci

network is not steady

* fix error handling

* fix error handling

---------

Co-authored-by: nap0o <144927971+nap0o@users.noreply.github.com>
This commit is contained in:
UUBulb
2024-10-17 21:03:03 +08:00
committed by GitHub
parent 0b7f43b149
commit a503f0cf40
38 changed files with 1252 additions and 827 deletions

View File

@@ -622,20 +622,59 @@ other = "網路"
[EnableShowInService]
other = "在服務中顯示"
[DDNS]
other = "動態 DNS"
[DDNSProfiles]
other = "DDNS配置"
[AddDDNSProfile]
other = "新增配置"
[EnableDDNS]
other = "啟用DDNS"
[EnableIPv4]
other = "啟用DDNS IPv4"
[EnableIpv6]
[EnableIPv6]
other = "啟用DDNS IPv6"
[DDNSDomain]
other = "DDNS域"
other = "DDNS域"
[DDNSProfile]
other = "DDNS設定名"
[DDNSDomains]
other = "域名(逗號分隔)"
[DDNSProvider]
other = "DDNS供應商"
[MaxRetries]
other = "最大重試次數"
[DDNSAccessID]
other = "DDNS憑據1"
[DDNSAccessSecret]
other = "DDNS憑據2"
[DDNSTokenID]
other = "令牌ID"
[DDNSTokenSecret]
other = "令牌Secret"
[WebhookURL]
other = "Webhook地址"
[WebhookMethod]
other = "Webhook請求方式"
[WebhookHeaders]
other = "Webhook請求頭"
[WebhookRequestBody]
other = "Webhook請求體"
[Feature]
other = "功能"