2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 06:40:59 +08:00

feat(acme): 不再强制记录TTL时间

This commit is contained in:
2026-01-30 16:59:10 +08:00
parent f3e31ab518
commit a6e4c17b83

View File

@@ -387,7 +387,6 @@ func (s *dnsSolver) Present(ctx context.Context, challenge acme.Challenge) error
rec := libdns.TXT{
Name: libdns.RelativeName(dnsName+".", zone+"."),
Text: keyAuth,
TTL: 10 * time.Minute,
}
results, err := provider.SetRecords(ctx, zone+".", []libdns.Record{rec})