Linode API - RDNS

This may have been answered before but I'm not able to find it… Is there any way to set the RDNS for a linode using the API? If not, is there any chance of that ability being added in the future?

1 Reply

I realize that this is a really stale question, but I want to respond because this post came up in my search results.

It is possible to set the RDNS in APIv3 using the linoode.ip.setrdns api_action.

The modern APIv4 approach is to PUT the RDNS name into the IP address, as described here, https://developers.linode.com/api/v4#operation/updateIP

curl -H "Content-Type: application/json" \
    -H "Authorization: Bearer $TOKEN" \
    -X PUT -d '{
      "rdns": "test.example.org"
    }' \
    https://api.linode.com/v4/networking/ips/97.107.143.141

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct