main
Ben Kristinsson 2 months ago
parent ddb54511cb
commit fd89e9ae30
  1. 4
      dns-do.sudo.is.tf
  2. 6
      dns-htznr.sudo.is.tf
  3. 5
      dns-oci.sudo.is.tf
  4. 8
      dns-vpn.sudo.is.tf
  5. 10
      dns-wg.sudo.is.tf

@ -1,4 +1,6 @@
# will be a delegated zone .htznr.sudo.is
### do.sudo.is
## delegated to digitalocean
resource "digitalocean_domain" "do-sudo-is" {
name = "do.sudo.is"

@ -1,12 +1,12 @@
# will be a delegated zone .htznr.sudo.is
### htznr.sudo.is
## delegated to digitalocean
resource "digitalocean_domain" "htznr-sudo-is" {
name = "htznr.sudo.is"
ip_address = local.fsn_lb_ip
}
# currently just flat dotted dns records .hcloud.sudo.is
resource "digitalocean_record" "fra1-auth-g0-hcloud" {
domain = digitalocean_domain.htznr-sudo-is.name
type = "A"

@ -1,8 +1,11 @@
# will become a delegated zone .oci.sudo.is
### oci.sudo.is
## delegated to digitalocean.com
resource "digitalocean_domain" "oci-sudo-is" {
name = "oci.sudo.is"
ip_address = local.fsn_lb_ip
}
# but should be private ip
resource "digitalocean_record" "lon-matrix-bridges-g0" {
domain = digitalocean_domain.oci-sudo-is.name
type = "A"

@ -1,8 +0,0 @@
resource "cloudflare_record" "broker-vpn-sudois" {
zone_id = cloudflare_zone.sudois.id
type = "CNAME"
name = "broker.vpn"
value = "ber0.sudo.is"
proxied = false
ttl = 60
}

@ -15,3 +15,13 @@ resource "digitalocean_record" "mainframe-wg-sudo-is" {
value = "10.102.47.128"
ttl = 60
}
# old, flattened dns record on sudo.is
resource "cloudflare_record" "broker-vpn-sudois" {
zone_id = cloudflare_zone.sudois.id
type = "CNAME"
name = "broker.vpn"
value = "ber0.sudo.is"
proxied = false
ttl = 60
}

Loading…
Cancel
Save