Verified Commit 18e8dcba authored by Jelle van der Waa's avatar Jelle van der Waa 🚧
Browse files

Add reverse DNS and DNS entries for svn2gittest vps

parent 69f95b56
Pipeline #1723 passed with stage
in 38 seconds
......@@ -631,6 +631,20 @@ resource "hetznerdns_record" "archlinux_org_secure_runner2_aaaa" {
type = "AAAA"
}
resource "hetznerdns_record" "archlinux_org_svn2gittest_a" {
zone_id = hetznerdns_zone.archlinux.id
name = "svn2gittest"
value = hcloud_server.svn2gittest.ipv4_address
type = "A"
}
resource "hetznerdns_record" "archlinux_org_svn2gittest_aaaa" {
zone_id = hetznerdns_zone.archlinux.id
name = "svn2gittest"
value = hcloud_server.svn2gittest.ipv6_address
type = "AAAA"
}
resource "hetznerdns_record" "archlinux_org_state_a" {
zone_id = hetznerdns_zone.archlinux.id
name = "state"
......@@ -1201,6 +1215,18 @@ resource "hcloud_server" "secure-runner2" {
}
}
resource "hcloud_rdns" "svn2gittest_ipv4" {
server_id = hcloud_server.svn2gittest.id
ip_address = hcloud_server.svn2gittest.ipv4_address
dns_ptr = "svn2gittest.archlinux.org"
}
resource "hcloud_rdns" "svn2gittest_ipv6" {
server_id = hcloud_server.svn2gittest.id
ip_address = hcloud_server.svn2gittest.ipv6_address
dns_ptr = "svn2gittest.archlinux.org"
}
resource "hcloud_server" "svn2gittest" {
name = "svn2gittest"
image = data.hcloud_image.archlinux.id
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment