@@ -8691,9 +8691,10 @@ paths:
8691
8691
tags:
8692
8692
- Linode Instances
8693
8693
summary: IP Address Update
8694
- description: >
8695
- Updates a particular IP Address associated with this Linode.
8696
- Only allows setting/resetting reverse DNS.
8694
+ description: |
8695
+ Updates a the reverse DNS (RDNS) for a particular IP Address associated with this Linode.
8696
+
8697
+ Setting the RDNS to `null` for a public IPv4 address, resets it to the default "ip.linodeusercontent.com" RDNS value.
8697
8698
operationId: updateLinodeIP
8698
8699
x-linode-cli-action: ip-update
8699
8700
security:
@@ -8705,8 +8706,18 @@ paths:
8705
8706
content:
8706
8707
application/json:
8707
8708
schema:
8708
- allOf:
8709
- - $ref: '#/components/schemas/IPAddress'
8709
+ required:
8710
+ - rdns
8711
+ type: object
8712
+ properties:
8713
+ rdns:
8714
+ type: string
8715
+ description: >
8716
+ The reverse DNS assigned to this address. For public IPv4 addresses,
8717
+ this will be set to a default value provided by Linode if not
8718
+ explicitly set.
8719
+ nullable: true
8720
+ example: test.example.org
8710
8721
responses:
8711
8722
'200':
8712
8723
description: The updated IP address record.
@@ -8724,11 +8735,11 @@ paths:
8724
8735
-X PUT -d '{
8725
8736
"rdns": "test.example.org"
8726
8737
}' \
8727
- https://api.linode.com/v4/linode/instances/123/ips/97.107.143.141
8738
+ https://api.linode.com/v4/linode/instances/123/ips/203.0.113.1
8728
8739
- lang: CLI
8729
8740
source: >
8730
8741
linode-cli linodes ip-update 123 \
8731
- 97.107.143.141 \
8742
+ 203.0.113.1 \
8732
8743
--rdns test.example.org
8733
8744
delete:
8734
8745
x-linode-grant: read_write
@@ -12971,11 +12982,11 @@ paths:
12971
12982
-X PUT -d '{
12972
12983
"rdns": "test.example.org"
12973
12984
}' \
12974
- https://api.linode.com/v4/networking/ips/97.107.143.141
12985
+ https://api.linode.com/v4/networking/ips/203.0.113.1
12975
12986
- lang: CLI
12976
12987
source: >
12977
12988
linode-cli networking ip-update \
12978
- 97.107.143.141 \
12989
+ 203.0.113.1 \
12979
12990
--rdns "test.example.org"
12980
12991
/networking/ips/assign:
12981
12992
x-linode-cli-command: networking
@@ -22167,6 +22178,7 @@ components:
22167
22178
explicitly set.
22168
22179
x-linode-cli-display: 4
22169
22180
example: test.example.org
22181
+ nullable: true
22170
22182
linode_id:
22171
22183
type: integer
22172
22184
description: >
0 commit comments