Commit fa89191e authored by Sven-Hendrik Haase's avatar Sven-Hendrik Haase
Browse files

Merge branch 'add-ipv6-hetzner-rdns' into 'master'

Add PTR entries for IPv6

See merge request !70
parents b4fe1cdd 0cd2f701
Pipeline #1442 passed with stage
in 48 seconds
......@@ -18,12 +18,18 @@ provider "hcloud" {
token = data.external.hetzner_cloud_api_key.result.hetzner_cloud_api_key
}
resource "hcloud_rdns" "quassel" {
resource "hcloud_rdns" "quassel_ipv4" {
server_id = hcloud_server.quassel.id
ip_address = hcloud_server.quassel.ipv4_address
dns_ptr = "quassel.archlinux.org"
}
resource "hcloud_rdns" "quassel_ipv6" {
server_id = hcloud_server.quassel.id
ip_address = hcloud_server.quassel.ipv6_address
dns_ptr = "quassel.archlinux.org"
}
resource "hcloud_server" "quassel" {
name = "quassel.archlinux.org"
image = data.hcloud_image.archlinux.id
......@@ -33,12 +39,18 @@ resource "hcloud_server" "quassel" {
}
}
resource "hcloud_rdns" "phrik" {
resource "hcloud_rdns" "phrik_ipv4" {
server_id = hcloud_server.phrik.id
ip_address = hcloud_server.phrik.ipv4_address
dns_ptr = "phrik.archlinux.org"
}
resource "hcloud_rdns" "phrik_ipv6" {
server_id = hcloud_server.phrik.id
ip_address = hcloud_server.phrik.ipv6_address
dns_ptr = "phrik.archlinux.org"
}
resource "hcloud_server" "phrik" {
name = "phrik.archlinux.org"
image = data.hcloud_image.archlinux.id
......@@ -48,12 +60,18 @@ resource "hcloud_server" "phrik" {
}
}
resource "hcloud_rdns" "bbs" {
resource "hcloud_rdns" "bbs_ipv4" {
server_id = hcloud_server.bbs.id
ip_address = hcloud_server.bbs.ipv4_address
dns_ptr = "bbs.archlinux.org"
}
resource "hcloud_rdns" "bbs_ipv6" {
server_id = hcloud_server.bbs.id
ip_address = hcloud_server.bbs.ipv6_address
dns_ptr = "bbs.archlinux.org"
}
resource "hcloud_server" "bbs" {
name = "bbs.archlinux.org"
image = data.hcloud_image.archlinux.id
......@@ -63,12 +81,18 @@ resource "hcloud_server" "bbs" {
}
}
resource "hcloud_rdns" "gitlab" {
resource "hcloud_rdns" "gitlab_ipv4" {
server_id = hcloud_server.gitlab.id
ip_address = hcloud_server.gitlab.ipv4_address
dns_ptr = "gitlab.archlinux.org"
}
resource "hcloud_rdns" "gitlab_ipv6" {
server_id = hcloud_server.gitlab.id
ip_address = hcloud_server.gitlab.ipv6_address
dns_ptr = "gitlab.archlinux.org"
}
resource "hcloud_server" "gitlab" {
name = "gitlab.archlinux.org"
image = data.hcloud_image.archlinux.id
......@@ -78,12 +102,18 @@ resource "hcloud_server" "gitlab" {
}
}
resource "hcloud_rdns" "matrix" {
resource "hcloud_rdns" "matrix_ipv4" {
server_id = hcloud_server.matrix.id
ip_address = hcloud_server.matrix.ipv4_address
dns_ptr = "matrix.archlinux.org"
}
resource "hcloud_rdns" "matrix_ipv6" {
server_id = hcloud_server.matrix.id
ip_address = hcloud_server.matrix.ipv6_address
dns_ptr = "matrix.archlinux.org"
}
resource "hcloud_server" "matrix" {
name = "matrix.archlinux.org"
image = data.hcloud_image.archlinux.id
......@@ -93,12 +123,18 @@ resource "hcloud_server" "matrix" {
}
}
resource "hcloud_rdns" "acccounts" {
resource "hcloud_rdns" "acccounts_ipv4" {
server_id = hcloud_server.accounts.id
ip_address = hcloud_server.accounts.ipv4_address
dns_ptr = "accounts.archlinux.org"
}
resource "hcloud_rdns" "acccounts_ipv6" {
server_id = hcloud_server.accounts.id
ip_address = hcloud_server.accounts.ipv6_address
dns_ptr = "accounts.archlinux.org"
}
resource "hcloud_server" "accounts" {
name = "accounts.archlinux.org"
image = data.hcloud_image.archlinux.id
......@@ -118,12 +154,18 @@ resource "hcloud_volume" "mirror" {
server_id = hcloud_server.mirror.id
}
resource "hcloud_rdns" "mirror" {
resource "hcloud_rdns" "mirror_ipv4" {
server_id = hcloud_server.mirror.id
ip_address = hcloud_server.mirror.ipv4_address
dns_ptr = "mirror.pkgbuild.com"
}
resource "hcloud_rdns" "mirror_ipv6" {
server_id = hcloud_server.mirror.id
ip_address = hcloud_server.mirror.ipv6_address
dns_ptr = "mirror.pkgbuild.com"
}
resource "hcloud_server" "mirror" {
name = "mirror.pkgbuild.com"
image = data.hcloud_image.archlinux.id
......@@ -133,12 +175,18 @@ resource "hcloud_server" "mirror" {
}
}
resource "hcloud_rdns" "homedir" {
resource "hcloud_rdns" "homedir_ipv4" {
server_id = hcloud_server.homedir.id
ip_address = hcloud_server.homedir.ipv4_address
dns_ptr = "homedir.archlinux.org"
}
resource "hcloud_rdns" "homedir_ipv6" {
server_id = hcloud_server.homedir.id
ip_address = hcloud_server.homedir.ipv6_address
dns_ptr = "homedir.archlinux.org"
}
resource "hcloud_server" "homedir" {
name = "homedir.archlinux.org"
image = data.hcloud_image.archlinux.id
......@@ -154,12 +202,18 @@ resource "hcloud_volume" "homedir" {
server_id = hcloud_server.homedir.id
}
resource "hcloud_rdns" "bugs" {
resource "hcloud_rdns" "bugs_ipv4" {
server_id = hcloud_server.bugs.id
ip_address = hcloud_server.bugs.ipv4_address
dns_ptr = "bugs.archlinux.org"
}
resource "hcloud_rdns" "bugs_ipv6" {
server_id = hcloud_server.bugs.id
ip_address = hcloud_server.bugs.ipv6_address
dns_ptr = "bugs.archlinux.org"
}
resource "hcloud_server" "bugs" {
name = "bugs.archlinux.org"
image = data.hcloud_image.archlinux.id
......@@ -169,12 +223,18 @@ resource "hcloud_server" "bugs" {
}
}
resource "hcloud_rdns" "aur" {
resource "hcloud_rdns" "aur_ipv4" {
server_id = hcloud_server.aur.id
ip_address = hcloud_server.aur.ipv4_address
dns_ptr = "aur.archlinux.org"
}
resource "hcloud_rdns" "aur_ipv6" {
server_id = hcloud_server.aur.id
ip_address = hcloud_server.aur.ipv6_address
dns_ptr = "aur.archlinux.org"
}
resource "hcloud_server" "aur" {
name = "aur.archlinux.org"
image = data.hcloud_image.archlinux.id
......@@ -184,12 +244,18 @@ resource "hcloud_server" "aur" {
}
}
resource "hcloud_rdns" "aur-dev" {
resource "hcloud_rdns" "aur-dev_ipv4" {
server_id = hcloud_server.aur-dev.id
ip_address = hcloud_server.aur-dev.ipv4_address
dns_ptr = "aur-dev.archlinux.org"
}
resource "hcloud_rdns" "aur-dev_ipv6" {
server_id = hcloud_server.aur-dev.id
ip_address = hcloud_server.aur-dev.ipv6_address
dns_ptr = "aur-dev.archlinux.org"
}
resource "hcloud_server" "aur-dev" {
name = "aur-dev.archlinux.org"
image = data.hcloud_image.archlinux.id
......@@ -199,12 +265,18 @@ resource "hcloud_server" "aur-dev" {
}
}
resource "hcloud_rdns" "mailman3" {
resource "hcloud_rdns" "mailman3_ipv4" {
server_id = hcloud_server.mailman3.id
ip_address = hcloud_server.mailman3.ipv4_address
dns_ptr = "mailman3.archlinux.org"
}
resource "hcloud_rdns" "mailman3_ipv6" {
server_id = hcloud_server.mailman3.id
ip_address = hcloud_server.mailman3.ipv6_address
dns_ptr = "mailman3.archlinux.org"
}
resource "hcloud_server" "mailman3" {
name = "mailman3.archlinux.org"
image = data.hcloud_image.archlinux.id
......@@ -214,12 +286,18 @@ resource "hcloud_server" "mailman3" {
}
}
resource "hcloud_rdns" "reproducible" {
resource "hcloud_rdns" "reproducible_ipv4" {
server_id = hcloud_server.reproducible.id
ip_address = hcloud_server.reproducible.ipv4_address
dns_ptr = "reproducible.archlinux.org"
}
resource "hcloud_rdns" "reproducible_ipv6" {
server_id = hcloud_server.reproducible.id
ip_address = hcloud_server.reproducible.ipv6_address
dns_ptr = "reproducible.archlinux.org"
}
resource "hcloud_server" "reproducible" {
name = "reproducible.archlinux.org"
image = data.hcloud_image.archlinux.id
......@@ -229,12 +307,18 @@ resource "hcloud_server" "reproducible" {
}
}
resource "hcloud_rdns" "monitoring" {
resource "hcloud_rdns" "monitoring_ipv4" {
server_id = hcloud_server.monitoring.id
ip_address = hcloud_server.monitoring.ipv4_address
dns_ptr = "monitoring.archlinux.org"
}
resource "hcloud_rdns" "monitoring_ipv6" {
server_id = hcloud_server.monitoring.id
ip_address = hcloud_server.monitoring.ipv6_address
dns_ptr = "monitoring.archlinux.org"
}
resource "hcloud_server" "monitoring" {
name = "monitoring.archlinux.org"
image = data.hcloud_image.archlinux.id
......@@ -244,12 +328,18 @@ resource "hcloud_server" "monitoring" {
}
}
resource "hcloud_rdns" "secure-runner2" {
resource "hcloud_rdns" "secure-runner2_ipv4" {
server_id = hcloud_server.secure-runner2.id
ip_address = hcloud_server.secure-runner2.ipv4_address
dns_ptr = "secure-runner2.archlinux.org"
}
resource "hcloud_rdns" "secure-runner2_ipv6" {
server_id = hcloud_server.secure-runner2.id
ip_address = hcloud_server.secure-runner2.ipv6_address
dns_ptr = "secure-runner2.archlinux.org"
}
resource "hcloud_server" "secure-runner2" {
name = "secure-runner2.archlinux.org"
image = data.hcloud_image.archlinux.id
......@@ -268,12 +358,18 @@ resource "hcloud_server" "svn2gittest" {
}
}
resource "hcloud_rdns" "mail" {
resource "hcloud_rdns" "mail_ipv4" {
server_id = hcloud_server.mail.id
ip_address = hcloud_server.mail.ipv4_address
dns_ptr = "mail.archlinux.org"
}
resource "hcloud_rdns" "mail_ipv6" {
server_id = hcloud_server.mail.id
ip_address = hcloud_server.mail.ipv6_address
dns_ptr = "mail.archlinux.org"
}
resource "hcloud_server" "mail" {
name = "mail.archlinux.org"
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