Skip to content

Commit

Permalink
Point 1,2.th.ooni.org to the AWS instances
Browse files Browse the repository at this point in the history
  • Loading branch information
hellais committed Apr 23, 2024
1 parent 21d4bfc commit 6c70ddf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 34 deletions.
34 changes: 0 additions & 34 deletions tf/environments/prod/dns_records.tf
Original file line number Diff line number Diff line change
Expand Up @@ -1005,37 +1005,3 @@ resource "aws_route53_record" "test-ooni-nu-_NS_" {
type = "NS"
zone_id = local.dns_root_zone_ooni_nu
}

## Records for the th.ooni.org zone

resource "aws_route53_record" "_2-th-ooni-org-_A_" {
name = "2.th.ooni.org"
records = ["161.35.89.250"]
ttl = "60"
type = "A"
zone_id = local.dns_root_zone_ooni_org
}

resource "aws_route53_record" "_2-th-ooni-org-_AAAA_" {
name = "2.th.ooni.org"
records = ["2a03:b0c0:2:d0::1768:9001"]
ttl = "60"
type = "AAAA"
zone_id = local.dns_root_zone_ooni_org
}

resource "aws_route53_record" "_1-th-ooni-org-_A_" {
name = "1.th.ooni.org"
records = ["161.35.89.250"]
ttl = "60"
type = "A"
zone_id = local.dns_root_zone_ooni_org
}

resource "aws_route53_record" "_1-th-ooni-org-_AAAA_" {
name = "1.th.ooni.org"
records = ["2a03:b0c0:2:d0::1768:9001"]
ttl = "60"
type = "AAAA"
zone_id = local.dns_root_zone_ooni_org
}
2 changes: 2 additions & 0 deletions tf/environments/prod/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -552,6 +552,8 @@ module "oonith_oohelperd" {

alternative_names = {
"0.th.ooni.org" = local.dns_root_zone_ooni_org,
"1.th.ooni.org" = local.dns_root_zone_ooni_org,
"2.th.ooni.org" = local.dns_root_zone_ooni_org,
"3.th.ooni.org" = local.dns_root_zone_ooni_org,
"4.th.ooni.org" = local.dns_root_zone_ooni_org
}
Expand Down

0 comments on commit 6c70ddf

Please sign in to comment.