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:
@@ -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})
|
||||
|
||||
Reference in New Issue
Block a user