@@ -8705,9 +8705,10 @@ paths:
8705
8705
tags:
8706
8706
- Linode Instances
8707
8707
summary: IP Address Update
8708
- description: >
8709
- Updates a particular IP Address associated with this Linode.
8710
- Only allows setting/resetting reverse DNS.
8708
+ description: |
8709
+ Updates a the reverse DNS (RDNS) for a particular IP Address associated with this Linode.
8710
+
8711
+ Setting the RDNS to `null` for a public IPv4 address, resets it to the default "ip.linodeusercontent.com" RDNS value.
8711
8712
operationId: updateLinodeIP
8712
8713
x-linode-cli-action: ip-update
8713
8714
security:
@@ -8719,8 +8720,18 @@ paths:
8719
8720
content:
8720
8721
application/json:
8721
8722
schema:
8722
- allOf:
8723
- - $ref: '#/components/schemas/IPAddress'
8723
+ required:
8724
+ - rdns
8725
+ type: object
8726
+ properties:
8727
+ rdns:
8728
+ type: string
8729
+ description: >
8730
+ The reverse DNS assigned to this address. For public IPv4 addresses,
8731
+ this will be set to a default value provided by Linode if not
8732
+ explicitly set.
8733
+ nullable: true
8734
+ example: test.example.org
8724
8735
responses:
8725
8736
'200':
8726
8737
description: The updated IP address record.
@@ -8738,11 +8749,11 @@ paths:
8738
8749
-X PUT -d '{
8739
8750
"rdns": "test.example.org"
8740
8751
}' \
8741
- https://api.linode.com/v4/linode/instances/123/ips/97.107.143.141
8752
+ https://api.linode.com/v4/linode/instances/123/ips/203.0.113.1
8742
8753
- lang: CLI
8743
8754
source: >
8744
8755
linode-cli linodes ip-update 123 \
8745
- 97.107.143.141 \
8756
+ 203.0.113.1 \
8746
8757
--rdns test.example.org
8747
8758
delete:
8748
8759
x-linode-grant: read_write
@@ -12995,11 +13006,11 @@ paths:
12995
13006
-X PUT -d '{
12996
13007
"rdns": "test.example.org"
12997
13008
}' \
12998
- https://api.linode.com/v4/networking/ips/97.107.143.141
13009
+ https://api.linode.com/v4/networking/ips/203.0.113.1
12999
13010
- lang: CLI
13000
13011
source: >
13001
13012
linode-cli networking ip-update \
13002
- 97.107.143.141 \
13013
+ 203.0.113.1 \
13003
13014
--rdns "test.example.org"
13004
13015
/networking/ips/assign:
13005
13016
x-linode-cli-command: networking
@@ -22219,6 +22230,7 @@ components:
22219
22230
explicitly set.
22220
22231
x-linode-cli-display: 4
22221
22232
example: test.example.org
22233
+ nullable: true
22222
22234
linode_id:
22223
22235
type: integer
22224
22236
description: >
0 commit comments