update

Update a record

Usage

ionosctl dns reverse-record update [flags]

Aliases

For reverse-record command:

[rr]

For update command:

[u up]

Description

Update a record

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 IP Description] (default [Id,Name,IP,Description])
  -c, --config string        Configuration file used for authentication (default "$XDG_CONFIG_HOME/ionosctl/config.json")
      --description string   The new description of the record
  -f, --force                Force command to execute without user input
  -h, --help                 Print usage
      --ip string            The new IP
      --name string          The new record name
      --no-headers           Don't print table headers when table output is used
  -o, --output string        Desired output format [text|json|api-json] (default "text")
  -q, --quiet                Quiet output
      --record string        The record ID or IP, for identifying which record you want to update (required)
  -v, --verbose              Print step-by-step process when running command

Examples

ionosctl dns rr update --record OLD_RECORD_IP --name mail.example.com --ip 5.6.7.8

Last updated