Page cover

create

The dns create command creates a new DNS zone for your project. This command requires the project ID, zone name, and an optional description.

Usage

cldkctl dns create [flags]

Steps

Follow the steps below to run and view the result of this command:

  1. A DNS zone can be created directly by using a flag:

cldkctl dns create --name [dns-zone-name]
  1. Replace [dns-zone-name] with your desired DNS zone name.

  2. Or alternatively, run the command interactively using TUI mode:

cldkctl dns create
  1. Enter the site domain name when the prompt appears in the terminal.

  1. Confirm the DNS zone creation by pressing y to confirm or n to cancel

  1. Once completed successfully, the terminal displays “✓ DNS zone created successfully!”.

Flags

This command supports global flags. Refer to the Global Flags section for details

Flag
Description

-h, --help

Help for dns create command.

-n, --name

DNS zone name.

Last updated