diff --git a/integrationTest/integration_test.go b/integrationTest/integration_test.go index f27f03bc4..94ffaaff2 100644 --- a/integrationTest/integration_test.go +++ b/integrationTest/integration_test.go @@ -301,7 +301,7 @@ var tests = []*TestCase{ tc("Internationalized name", a("ööö", "1.2.3.4")), tc("Change IDN", a("ööö", "2.2.2.2")), tc("Internationalized CNAME Target", cname("a", "ööö.com.")), - tc("IDN CNAME AND Target", cname("öoö", "ööö.ööö.")), + tc("IDN CNAME AND Target", cname("öoö", "ööö.企业.")), //MX tc("Empty"), diff --git a/providers/namedotcom/records.go b/providers/namedotcom/records.go index 9507d6032..c61ca9498 100644 --- a/providers/namedotcom/records.go +++ b/providers/namedotcom/records.go @@ -19,6 +19,7 @@ var defaultNameservers = []*models.Nameserver{ } func (n *nameDotCom) GetDomainCorrections(dc *models.DomainConfig) ([]*models.Correction, error) { + dc.Punycode() records, err := n.getRecords(dc.Name) if err != nil { return nil, err