dcloud dns zones create

Create a hosted zone for a domain you own

IAM dns:CreateZoneChanges state

One owner per domain platform-wide, and the platform root domain cannot be hosted. Delegate by setting the returned nameservers as the NS records at the registrar.

Synopsis

dcloud dns zones create --name name [flags]

Flags

  • --nameRequired

    string

    The domain, such as example.com: trimmed, lowercased, trailing dot dropped, at most 253 characters. Refused (400) when it is not a hostname or is, sits under or encloses the platform domain; refused (409) when another organization holds it or an overlapping name as a zone or app domain, or when it lies inside an existing hosted zone

    Constraints: 1-253 chars

  • --tagsOptional

    map of string

    Tags for the new resource, e.g. {"env": "prod", "project": "shop"}. Keys your organization marks required must be present, or the create is refused with the missing keys (GET /tags/api/keys lists them).

    Constraints: key=value

Example

dcloud dns zones create --name example

Generated from the API description, the same one the API checks requests against and the CLI is built from.