perf: 从域名的soa获取主域名,子域名托管无需额外配置

This commit is contained in:
xiaojunnuo
2025-04-24 11:54:54 +08:00
parent 3df20a924f
commit a586a92d5e
9 changed files with 97 additions and 54 deletions
@@ -35,6 +35,8 @@ export interface IDnsProvider<T = any> {
createRecord(options: CreateRecordOptions): Promise<T>;
removeRecord(options: RemoveRecordOptions<T>): Promise<void>;
setCtx(ctx: DnsProviderContext): void;
//中文域名是否需要punycode转码,如果返回True,则使用punycode来添加解析记录,否则使用中文域名添加解析记录
usePunyCode(): boolean;
}
export interface ISubDomainsGetter {