linode-cli icon indicating copy to clipboard operation
linode-cli copied to clipboard

Add ability to clear rDNS

Open nivex opened this issue 4 years ago • 0 comments

To clear the rDNS for an IP in the web UI, you leave the domain name field blank. This is an illegal operation in the CLI:

$ linode-cli networking ip-update
usage: linode-cli [-h] [--rdns rdns] address
linode-cli: error: the following arguments are required: address
$ linode-cli networking ip-update 2600:3c03::1b:1000
Request failed: 400
┌errors─┬──────────────────┐
│ field │ reason           │
├───────┼──────────────────┤
│ rdns  │ rdns is required │
└───────┴──────────────────┘
$ linode-cli networking ip-update --rdns "" 2600:3c03::1b:1000
Request failed: 400
┌errors─┬─────────────────────────────────┐
│ field │ reason                          │
├───────┼─────────────────────────────────┤
│ rdns  │ Length must be 1-255 characters │
└───────┴─────────────────────────────────┘

nivex avatar Oct 28 '21 17:10 nivex