mirror of
https://github.com/google/nomulus.git
synced 2025-08-06 09:45:19 +02:00
Add validation during domain creation for locked down TLDs
During domain create/applicationcreate/allocate, domains that are on the reserved list(s) with nameserver restricted reservation type must set nameservers that are part of the allowed nameservers for that domain in the reserved list(s) applied to that TLD. Additionally a boolean is added to Registry to indicate if a TLD is restricting domain create. If it is, only domains that are nameserver restricted can be registered. For consistency with a similar feature that validates a TLD-wide nameserver whitelist, the per-domain nameserver validation is performed even when the operation is in super-user mode. Similarly, if a domain is nameserver restricted, nameservers must be supplied (i. e. the nameservers set cannot be empty) when registering the domain. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=150641269
This commit is contained in:
parent
582469e052
commit
620d698479
15 changed files with 735 additions and 49 deletions
|
@ -16,7 +16,12 @@ a price, it has a reservation type. The valid values for reservation types are:
|
|||
domain with this label. If the a label in this type exists on multiple
|
||||
reserved lists that are applied to the same TLD. The set of allowed
|
||||
nameservers for that label in that TLD is the intersection of all applicable
|
||||
nameservers.
|
||||
nameservers. Note that this restriction is orthogonal to the TLD-wide
|
||||
nameserver restrictions that may be otherwise imposed. The ultimate set of
|
||||
allowed nameservers for a certain domain is the intersection of per-domain
|
||||
and TLD-wide allowed nameservers set. Furthermore, a TLD can be set in a
|
||||
domain create restricted mode, in which case **only** domains that are
|
||||
reserved with this type can be registered.
|
||||
* **`ALLOWED_IN_SUNRISE`** - The label can be registered during the sunrise
|
||||
period by a registrant with a valid claim but it is reserved thereafter.
|
||||
* **`MISTAKEN_PREMIUM`** - The label is reserved because it was mistakenly put
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue