解决电信DNS Let's Encrypt证书刷新缓慢问题

解决电信DNS Let's Encrypt证书刷新缓慢问题,改为阿里DNS后问题改善
This commit is contained in:
aiminick 2023-10-17 00:54:49 +08:00 committed by GitHub
parent f03264faf3
commit b7da567cee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -198,7 +198,7 @@ func (c *LeGoClient) NewClient(l *SettingLetsEncrypt) error {
if err != nil {
return err
}
if err := client.Challenge.SetDNS01Provider(Provider, dns01.AddRecursiveNameservers([]string{"114.114.114.114", "114.114.115.115"})); err != nil {
if err := client.Challenge.SetDNS01Provider(Provider, dns01.AddRecursiveNameservers([]string{"223.6.6.6", "223.5.5.5"})); err != nil {
return err
}
if legouser.Registration == nil {