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
@@ -8,6 +8,10 @@ export abstract class AbstractDnsProvider<T = any> implements IDnsProvider<T> {
http!: HttpClient;
logger!: ILogger;
usePunyCode(): boolean {
return false;
}
setCtx(ctx: DnsProviderContext) {
this.ctx = ctx;
this.logger = ctx.logger;