You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(rdns): support setting RDNS for Primary IPs (#669)
Previously you could only set the RDNS for Primary IPs if they were
attached to a server, through the `server_id` attribute. This now also
allows setting the RDNS for Primary IPs directly, even if they are not
attached to a server.
Closes#668
Copy file name to clipboardexpand all lines: website/docs/r/rdns.html.md
+25-5
Original file line number
Diff line number
Diff line change
@@ -3,12 +3,12 @@ layout: "hcloud"
3
3
page_title: "Hetzner Cloud: hcloud_rdns"
4
4
sidebar_current: "docs-hcloud-resource-rdns"
5
5
description: |-
6
-
Provides a Hetzner Cloud Reverse DNS Entry to create, modify and reset reverse dns entries for Hetzner Cloud Servers, Floating IPs or Load Balancers.
6
+
Provides a Hetzner Cloud Reverse DNS Entry to create, modify and reset reverse dns entries for Hetzner Cloud Servers, Primary IPs, Floating IPs or Load Balancers.
7
7
---
8
8
9
9
# hcloud_rdns
10
10
11
-
Provides a Hetzner Cloud Reverse DNS Entry to create, modify and reset reverse dns entries for Hetzner Cloud Servers, Floating IPs or Load Balancers.
11
+
Provides a Hetzner Cloud Reverse DNS Entry to create, modify and reset reverse dns entries for Hetzner Cloud Servers, Primary IPs, Floating IPs or Load Balancers.
-`dns_ptr` - (Required, string) The DNS address the `ip_address` should resolve to.
64
79
-`ip_address` - (Required, string) The IP address that should point to `dns_ptr`.
65
-
-`server_id` - (Required, int) The server the `ip_address` belongs to. Specify only one of `server_id`, `floating_ip_id` and `load_balancer_id`.
66
-
-`floating_ip_id` - (Required, int) The Floating IP the `ip_address` belongs to. Specify only one of `server_id`, `floating_ip_id` and `load_balancer_id`.
67
-
-`load_balancer_id` - (Required, int) The Load Balancer the `ip_address` belongs to. Specify only one of `server_id`, `floating_ip_id` and `load_balancer_id`.
80
+
-`server_id` - (Required, int) The server the `ip_address` belongs to. - `server_id` - (Required, int) The server the `ip_address` belongs to. Specify only one of `server_id`, `primary_ip_id`, `floating_ip_id` and `load_balancer_id`.
81
+
-`primary_ip_id` - (Required, int) The Primary IP the `ip_address` belongs to. - `server_id` - (Required, int) The server the `ip_address` belongs to. Specify only one of `server_id`, `primary_ip_id`, `floating_ip_id` and `load_balancer_id`.
82
+
-`floating_ip_id` - (Required, int) The Floating IP the `ip_address` belongs to. - `server_id` - (Required, int) The server the `ip_address` belongs to. Specify only one of `server_id`, `primary_ip_id`, `floating_ip_id` and `load_balancer_id`.
83
+
-`load_balancer_id` - (Required, int) The Load Balancer the `ip_address` belongs to. - `server_id` - (Required, int) The server the `ip_address` belongs to. Specify only one of `server_id`, `primary_ip_id`, `floating_ip_id` and `load_balancer_id`.
68
84
69
85
## Attributes Reference
70
86
71
87
-`id` - (int) Unique ID of the Reverse DNS Entry.
72
88
-`dns_ptr` - (string) DNS pointer for the IP address.
73
89
-`ip_address` - (string) IP address.
74
90
-`server_id` - (int) The server the IP address belongs to.
91
+
-`primary_ip_id` - (int) The Primary IP the IP address belongs to.
75
92
-`floating_ip_id` - (int) The Floating IP the IP address belongs to.
76
93
-`load_balancer_id` - (int) The Load Balancer the IP address belongs to.
77
94
@@ -84,6 +101,9 @@ Reverse DNS entries can be imported using a compound ID with the following forma
84
101
# import reverse dns entry on server with id 123, ip 192.168.100.1
0 commit comments