Commit 824fb084 authored by Giancarlo Razzolini's avatar Giancarlo Razzolini Committed by Jelle van der Waa
Browse files

tf-stage1/archlinux: Change DNS records for the archweb migration and also...

tf-stage1/archlinux: Change DNS records for the archweb migration and also increase the machine size

Changed the A and AAAA record for @ to point to the new machine. Also, since we can't have CNAME to
@, change www from CNAME to A and AAAA and point to the new machine too. The other domains were kept
CNAME, but pointing to www in this case. Also, the master-key domain only had an A record, so added an
AAAA record too. The TTL is still at 600, but we can increase after a while.
parent 48b36870
......@@ -261,7 +261,7 @@ resource "hetznerdns_record" "archlinux_org_origin_a" {
zone_id = hetznerdns_zone.archlinux.id
name = "@"
ttl = 600
value = "138.201.81.199"
value = "95.217.163.246"
type = "A"
}
......@@ -269,7 +269,7 @@ resource "hetznerdns_record" "archlinux_org_origin_aaaa" {
zone_id = hetznerdns_zone.archlinux.id
name = "@"
ttl = 600
value = "2a01:4f8:172:1d86::1"
value = "2a01:4f9:c010:6b1f::1"
type = "AAAA"
}
......@@ -571,10 +571,18 @@ resource "hetznerdns_record" "archlinux_org_master_key_a" {
zone_id = hetznerdns_zone.archlinux.id
name = "master-key"
ttl = 600
value = "138.201.81.199"
value = "95.217.163.246"
type = "A"
}
resource "hetznerdns_record" "archlinux_org_master_key_aaaa" {
zone_id = hetznerdns_zone.archlinux.id
name = "master-key"
ttl = 600
value = "2a01:4f9:c010:6b1f::1"
type = "AAAA"
}
resource "hetznerdns_record" "archlinux_org_master_key_mx" {
zone_id = hetznerdns_zone.archlinux.id
name = "master-key"
......@@ -789,7 +797,7 @@ resource "hetznerdns_record" "archlinux_org_dev_cname" {
zone_id = hetznerdns_zone.archlinux.id
name = "dev"
ttl = 600
value = "apollo"
value = "www"
type = "CNAME"
}
......@@ -818,7 +826,7 @@ resource "hetznerdns_record" "archlinux_org_ipxe_cname" {
zone_id = hetznerdns_zone.archlinux.id
name = "ipxe"
ttl = 600
value = "apollo"
value = "www"
type = "CNAME"
}
......@@ -847,7 +855,7 @@ resource "hetznerdns_record" "archlinux_org_packages_cname" {
zone_id = hetznerdns_zone.archlinux.id
name = "packages"
ttl = 600
value = "apollo"
value = "www"
type = "CNAME"
}
......@@ -862,7 +870,7 @@ resource "hetznerdns_record" "archlinux_org_planet_cname" {
zone_id = hetznerdns_zone.archlinux.id
name = "planet"
ttl = 600
value = "apollo"
value = "www"
type = "CNAME"
}
......@@ -937,12 +945,20 @@ resource "hetznerdns_record" "archlinux_org_wiki_cname" {
type = "CNAME"
}
resource "hetznerdns_record" "archlinux_org_www_cname" {
resource "hetznerdns_record" "archlinux_org_www_a" {
zone_id = hetznerdns_zone.archlinux.id
name = "www"
ttl = 600
value = "apollo"
type = "CNAME"
value = "95.217.163.246"
type = "A"
}
resource "hetznerdns_record" "archlinux_org_www_aaaa" {
zone_id = hetznerdns_zone.archlinux.id
name = "www"
ttl = 600
value = "2a01:4f9:c010:6b1f::1"
type = "AAAA"
}
resource "hetznerdns_record" "archlinux_org_matrix_tcp_srv" {
......@@ -1395,7 +1411,7 @@ resource "hcloud_rdns" "archlinux_ipv6" {
resource "hcloud_server" "archlinux" {
name = "archlinux.org"
image = data.hcloud_image.archlinux.id
server_type = "cx11"
server_type = "cpx11"
lifecycle {
ignore_changes = [image]
}
......
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