Skip to content

Commit

Permalink
add autonomys.net DNS records to terraform (#327)
Browse files Browse the repository at this point in the history
* add autonomys.net DNS records to terraform

* rename file
  • Loading branch information
DaMandal0rian authored Sep 9, 2024
1 parent 40e9d57 commit fb1ebc2
Showing 1 changed file with 91 additions and 0 deletions.
91 changes: 91 additions & 0 deletions dns/autonomys-net.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
resource "cloudflare_record" "autonomys_net_1" {
name = "autonomys.net"
proxied = false
ttl = 3600
type = "A"
value = "52.223.52.2"
zone_id = data.cloudflare_zone.autonomys_net.id
}

resource "cloudflare_record" "autonomys_net_2" {
name = "autonomys.net"
proxied = false
ttl = 3600
type = "A"
value = "35.71.142.77"
zone_id = data.cloudflare_zone.autonomys_net.id
}

resource "cloudflare_record" "autonomys_net_www" {
name = "www"
proxied = false
ttl = 3600
type = "CNAME"
value = "sites.framer.app"
zone_id = data.cloudflare_zone.autonomys_net.id
}

resource "cloudflare_record" "autonomys_net_academy" {
name = "academy"
proxied = false
ttl = 3600
type = "CNAME"
value = "a80ab473c4-hosting.gitbook.io"
zone_id = data.cloudflare_zone.autonomys_net.id
}

// mailserver records for autonomys.net
resource "cloudflare_record" "mailserver_mx_1" {
name = "autonomys.net"
comment = "MX record pointing to our preferred mailserver"
priority = 1
proxied = false
ttl = 3600
type = "MX"
value = "aspmx.l.google.com"
zone_id = data.cloudflare_zone.autonomys_net.id
}

resource "cloudflare_record" "mailserver_mx_2" {
name = "autonomys.net"
comment = "MX record pointing to our preferred mailserver"
priority = 5
proxied = false
ttl = 3600
type = "MX"
value = "alt1.aspmx.l.google.com"
zone_id = data.cloudflare_zone.autonomys_net.id
}

resource "cloudflare_record" "mailserver_mx_3" {
name = "autonomys.net"
comment = "MX record pointing to our preferred mailserver"
priority = 5
proxied = false
ttl = 3600
type = "MX"
value = "alt2.aspmx.l.google.com"
zone_id = data.cloudflare_zone.autonomys_net.id
}

resource "cloudflare_record" "mailserver_mx_4" {
name = "autonomys.net"
comment = "MX record pointing to our preferred mailserver"
priority = 10
proxied = false
ttl = 3600
type = "MX"
value = "alt3.aspmx.l.google.com"
zone_id = data.cloudflare_zone.autonomys_net.id
}

resource "cloudflare_record" "mailserver_mx_5" {
name = "autonomys.net"
comment = "MX record pointing to our preferred mailserver"
priority = 10
proxied = false
ttl = 3600
type = "MX"
value = "alt4.aspmx.l.google.com"
zone_id = data.cloudflare_zone.autonomys_net.id
}

0 comments on commit fb1ebc2

Please sign in to comment.