mirror of
https://github.com/google/nomulus
synced 2026-01-09 23:47:49 +00:00
Create prod Cloud DNS domains in prod zonespace
When running create_cdns_tld in "production" mode, specify the Cloud DNS production namespace instead of the staging namespace. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=191451390
This commit is contained in:
@@ -66,8 +66,10 @@ class CreateCdnsTld extends ConfirmingCommand {
|
||||
managedZone =
|
||||
new ManagedZone()
|
||||
.setDescription(description)
|
||||
// TODO(b/67413698): allow parameterizing the nameserver set once it's safe to do so.
|
||||
.setNameServerSet("cloud-dns-registry-test")
|
||||
.setNameServerSet(
|
||||
RegistryToolEnvironment.get() == RegistryToolEnvironment.PRODUCTION
|
||||
? "cloud-dns-registry"
|
||||
: "cloud-dns-registry-test")
|
||||
.setDnsName(dnsName)
|
||||
.setName((name != null) ? name : dnsName)
|
||||
.setDnssecConfig(new ManagedZoneDnsSecConfig().setNonExistence("NSEC").setState("ON"));
|
||||
|
||||
Reference in New Issue
Block a user