mirror of
https://github.com/google/nomulus
synced 2026-01-08 23:23:32 +00:00
Translate multi-part TLD zone names
Convert periods to hyphens in multi-part TLDs when using them as a zone name (cloud-dns doesn't allow periods in zone names). ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=172007089
This commit is contained in:
@@ -99,7 +99,7 @@ public class CloudDnsWriter extends BaseDnsWriter {
|
||||
Retrier retrier) {
|
||||
this.dnsConnection = dnsConnection;
|
||||
this.projectId = projectId;
|
||||
this.zoneName = zoneName;
|
||||
this.zoneName = zoneName.replace('.', '-');
|
||||
this.defaultATtl = defaultATtl;
|
||||
this.defaultNsTtl = defaultNsTtl;
|
||||
this.defaultDsTtl = defaultDsTtl;
|
||||
|
||||
Reference in New Issue
Block a user