Add reverse DNS (PTR) records to Terraform config
IPv4 and IPv6 PTR records pointing to trails.cool. These were applied to the server but missing from the committed config. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
223f75b4c3
commit
bf4eb81fcb
1 changed files with 14 additions and 0 deletions
|
|
@ -74,6 +74,20 @@ resource "hcloud_firewall_attachment" "trails" {
|
||||||
server_ids = [hcloud_server.trails.id]
|
server_ids = [hcloud_server.trails.id]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Reverse DNS
|
||||||
|
|
||||||
|
resource "hcloud_rdns" "trails_ipv4" {
|
||||||
|
server_id = hcloud_server.trails.id
|
||||||
|
ip_address = hcloud_server.trails.ipv4_address
|
||||||
|
dns_ptr = "trails.cool"
|
||||||
|
}
|
||||||
|
|
||||||
|
resource "hcloud_rdns" "trails_ipv6" {
|
||||||
|
server_id = hcloud_server.trails.id
|
||||||
|
ip_address = hcloud_server.trails.ipv6_address
|
||||||
|
dns_ptr = "trails.cool"
|
||||||
|
}
|
||||||
|
|
||||||
# DNS
|
# DNS
|
||||||
|
|
||||||
resource "hcloud_zone_rrset" "root_a" {
|
resource "hcloud_zone_rrset" "root_a" {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue