diff --git a/providers/dns/tencentcloud/client.go b/providers/dns/tencentcloud/client.go index 1d417ce4..1259cef8 100644 --- a/providers/dns/tencentcloud/client.go +++ b/providers/dns/tencentcloud/client.go @@ -20,7 +20,7 @@ func getDomainData(fqdn string) (*domainData, error) { } return &domainData{ - domain: zone, + domain: dns01.UnFqdn(zone), subDomain: dns01.UnFqdn(strings.TrimSuffix(fqdn, zone)), }, nil }