mirror of
https://github.com/google/nomulus.git
synced 2025-05-13 16:07:15 +02: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:
parent
839e4aa682
commit
3684fa3366
1 changed files with 4 additions and 2 deletions
|
@ -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"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue