Skip to content
Odinex Cloud
CLI (odx)Command reference

odx primary-ip

Manage primary IPs

odx primary-ip describe

Describe a primary IP

Usage:
  odx primary-ip describe <primary-ip> [flags]

Flags:
  -h, --help                 help for describe
  -o, --output stringArray   output format: json or yaml

odx primary-ip list

List primary IPs.

Columns: age, assignee, assignee_id, auto_delete, blocked, created, dns, id, ip, labels, location, name, type

Usage:
  odx primary-ip list [options] [flags]

Aliases:
  list, ls

Flags:
  -h, --help                 help for list
  -o, --output stringArray   output format: json, yaml, noheader, columns=a,b,c (repeatable)
  -l, --selector string      label selector, e.g. env=prod,!tmp

odx primary-ip set-rdns

Set the reverse DNS entry of a primary IP

Usage:
  odx primary-ip set-rdns (--hostname <hostname> | --reset) <primary-ip> [flags]

Flags:
  -h, --help              help for set-rdns
  -r, --hostname string   hostname for the PTR record
      --no-wait           do not wait for the action to finish
      --reset             reset the PTR record to the default

On this page