create

Create a secondary zone

Usage

ionosctl dns secondary-zone create [flags]

Aliases

For secondary-zone command:

[secondary-zones sz]

For create command:

[c]

Description

Create a new secondary zone with default NS and SOA records. Note that Cloud DNS relies on the following Anycast addresses for sending DNS notify messages. Make sure to whitelist on your end:

IPv4: 212.227.123.25 IPv6: 2001:8d8:fe:53::5cd:25

Options

  -u, --api-url string        Override default host url (default "dns.de-fra.ionos.com")
      --cols strings          Set of columns to be printed on output 
                              Available columns: [Id Name Description PrimaryIPs State] (default [Id,Name,Description,PrimaryIPs,State])
  -c, --config string         Configuration file used for authentication (default "$XDG_CONFIG_HOME/ionosctl/config.json")
      --description string    Description of the secondary zone
  -f, --force                 Force command to execute without user input
  -h, --help                  Print usage
  -n, --name string           Name of the secondary zone
      --no-headers            Don't print table headers when table output is used
  -o, --output string         Desired output format [text|json|api-json] (default "text")
      --primary-ips strings   Primary DNS server IP addresses
  -q, --quiet                 Quiet output
  -v, --verbose               Print step-by-step process when running command

Examples

ionosctl dns secondary-zone create --name ZONE_NAME --description DESCRIPTION --primary-ips 1.2.3.4,5.6.7.8

Last updated