mirror of
https://github.com/google/nomulus.git
synced 2025-07-22 02:36:03 +02:00
Allow square bracket expansion when specifying nameservers
I'm finally fed up enough with all the nameserver changes we've had to make on our self-allocated domains to improve the command. Now you can simply run: $ nomulus ... update_domain ... -n ns[1-4].foo.bar ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=205282317
This commit is contained in:
parent
4b99fae1dd
commit
a2fe058865
9 changed files with 305 additions and 32 deletions
|
@ -7,8 +7,8 @@
|
|||
<domain:name>example.tld</domain:name>
|
||||
<domain:add>
|
||||
<domain:ns>
|
||||
<domain:hostObj>ns1.zdns.google</domain:hostObj>
|
||||
<domain:hostObj>ns2.zdns.google</domain:hostObj>
|
||||
<domain:hostObj>ns3.zdns.google</domain:hostObj>
|
||||
</domain:ns>
|
||||
<domain:contact type="admin">crr-admin2</domain:contact>
|
||||
<domain:contact type="tech">crr-tech2</domain:contact>
|
||||
|
@ -16,6 +16,7 @@
|
|||
</domain:add>
|
||||
<domain:rem>
|
||||
<domain:ns>
|
||||
<domain:hostObj>ns3.zdns.google</domain:hostObj>
|
||||
<domain:hostObj>ns4.zdns.google</domain:hostObj>
|
||||
</domain:ns>
|
||||
<domain:contact type="admin">crr-admin1</domain:contact>
|
||||
|
|
|
@ -7,8 +7,8 @@
|
|||
<domain:name>example.abc</domain:name>
|
||||
<domain:add>
|
||||
<domain:ns>
|
||||
<domain:hostObj>ns1.zdns.google</domain:hostObj>
|
||||
<domain:hostObj>ns2.zdns.google</domain:hostObj>
|
||||
<domain:hostObj>ns3.zdns.google</domain:hostObj>
|
||||
</domain:ns>
|
||||
<domain:contact type="admin">crr-admin2</domain:contact>
|
||||
<domain:contact type="tech">crr-tech2</domain:contact>
|
||||
|
@ -16,6 +16,7 @@
|
|||
</domain:add>
|
||||
<domain:rem>
|
||||
<domain:ns>
|
||||
<domain:hostObj>ns3.zdns.google</domain:hostObj>
|
||||
<domain:hostObj>ns4.zdns.google</domain:hostObj>
|
||||
</domain:ns>
|
||||
<domain:contact type="admin">crr-admin1</domain:contact>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue