mirror of
https://github.com/google/nomulus.git
synced 2025-05-15 17:07:15 +02: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:
parent
7e85ae9964
commit
bf818a0139
2 changed files with 19 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue