feat: 添加DNS解析功能及相关配置项

This commit is contained in:
Megghy
2025-09-25 14:00:50 +08:00
parent 41767d1195
commit 5863336e20
4 changed files with 114 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
using System.Text.Encodings.Web;
using System.Text.Encodings.Web;
using System.Text.Json;
using System.Text.Unicode;
@@ -63,5 +63,11 @@ namespace MegghysAPI
public string MinIOSecretKey { get; set; } = "Nko5azOSUiYgOUeLsj8hLxGz4cKC8XOcH0VS7lWq";
public string MinIORegion { get; set; } = "cn-main";
public string MinIOBucket { get; set; } = "general";
// DNS解析配置
public string DnsResolverAccountId { get; set; } = "720341";
public string DnsResolverAkId { get; set; } = "720341_30798028364391424";
public string DnsResolverAkSecret { get; set; } = "0739b7584ab54c1b9585f10594af0cd0";
public string DnsResolverEndpoint { get; set; } = "https://223.5.5.5/resolve";
}
}