Skip to content

Latest commit

 

History

History
56 lines (42 loc) · 1.99 KB

stackit_dns_zone_create.md

File metadata and controls

56 lines (42 loc) · 1.99 KB

stackit dns zone create

Creates a DNS zone

Synopsis

Creates a DNS zone.

stackit dns zone create [flags]

Examples

  Create a DNS zone with name "my-zone" and DNS name "www.my-zone.com"
  $ stackit dns zone create --name my-zone --dns-name www.my-zone.com

  Create a DNS zone with name "my-zone", DNS name "www.my-zone.com" and default time to live of 1000ms
  $ stackit dns zone create --name my-zone --dns-name www.my-zone.com --default-ttl 1000

Options

      --acl string                     Access control list
      --contact-email string           Contact email for the zone
      --default-ttl int32              Default time to live (default 1000)
      --description string             Description of the zone
      --dns-name string                Fully qualified domain name of the DNS zone
      --expire-time int32              Expire time
  -h, --help[=true|false]              Help for "stackit dns zone create"
      --is-reverse-zone[=true|false]   Is reverse zone
      --name string                    User given name of the zone
      --negative-cache int32           Negative cache
      --primary strings                Primary name server for secondary zone
      --refresh-time int32             Refresh time
      --retry-time int32               Retry time
      --type string                    Zone type, (one of: [primary, secondary, ])

Options inherited from parent commands

  -y, --assume-yes[=true|false]   If set, skips all confirmation prompts
      --async[=true|false]        If set, runs the command asynchronously
  -o, --output-format string      Output format, (one of: [json, pretty, none, yaml])
  -p, --project-id string         Project ID
      --region string             Target region for region-specific requests
      --verbosity string          Verbosity of the CLI, (one of: [debug, info, warning, error]) (default "info")

SEE ALSO