Skip to content

Commit

Permalink
dns updates (#377)
Browse files Browse the repository at this point in the history
  • Loading branch information
DaMandal0rian authored Nov 13, 2024
1 parent 4d319e3 commit 28c1b70
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dns/autonomys-xyz.tf
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ resource "cloudflare_record" "mail_autonomys_spf" {
zone_id = data.cloudflare_zone.autonomys_xyz.id
name = "mail.autonomys.xyz"
type = "TXT"
value = "v=spf1 a mx include:_spf.google.com include:sendgrid.net ~all"
value = "v=spf1 include:_spf.google.com include:sendgrid.net ~all"
ttl = 3600
}

Expand All @@ -133,15 +133,15 @@ resource "cloudflare_record" "dmarc" {
zone_id = data.cloudflare_zone.autonomys_xyz.id
name = "_dmarc"
type = "TXT"
value = "v=DMARC1; p=quarantine; rua=mailto:[email protected]; ruf=mailto:[email protected]; aspf=r; adkim=r;"
value = "v=DMARC1; p=reject; rua=mailto:[email protected]; ruf=mailto:[email protected]; aspf=r; adkim=r;"
ttl = 3600
}

resource "cloudflare_record" "spf" {
zone_id = data.cloudflare_zone.autonomys_xyz.id
name = "@"
type = "TXT"
value = "v=spf1 a mx include:_spf.google.com include:subspace.network ~all"
value = "v=spf1 include:_spf.google.com include:subspace.network ~all"
ttl = 3600
}

Expand Down
63 changes: 63 additions & 0 deletions dns/subspace-foundation.tf
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,66 @@ resource "cloudflare_record" "substation" {
value = "35.89.37.220"
zone_id = data.cloudflare_zone.subspace_foundation.id
}

resource "cloudflare_record" "ambassador" {
name = "ambassador"
proxied = false
ttl = 3600
type = "CNAME"
value = "external.notion.site"
zone_id = data.cloudflare_zone.subspace_foundation.id
}

// DNS record for _notion-dcv.ambassador
resource "cloudflare_record" "ambassador_notion_txt" {
zone_id = data.cloudflare_zone.subspace_foundation.id
name = "_notion-dcv.ambassador"
type = "TXT"
value = "13189b83-0b39-8161-a840-00701292a577"
ttl = 3600
}

resource "cloudflare_record" "bootstrap_0_devnet" {
zone_id = data.cloudflare_zone.subspace_foundation.id
name = "bootstrap-0.devnet"
type = "A"
value = "173.208.0.26"
ttl = 1 # Auto
proxied = false
}

resource "cloudflare_record" "bootstrap_0_mainnet" {
zone_id = data.cloudflare_zone.subspace_foundation.id
name = "bootstrap-0.mainnet"
type = "A"
value = "173.208.0.26"
ttl = 1 # Auto
proxied = false
}

resource "cloudflare_record" "rpc_devnet" {
zone_id = data.cloudflare_zone.subspace_foundation.id
name = "rpc.devnet"
type = "A"
value = "173.208.0.25"
ttl = 1 # Auto
proxied = false
}

resource "cloudflare_record" "rpc_mainnet" {
zone_id = data.cloudflare_zone.subspace_foundation.id
name = "rpc.mainnet"
type = "A"
value = "173.208.0.25"
ttl = 1 # Auto
proxied = false
}

resource "cloudflare_record" "rpc_taurus" {
zone_id = data.cloudflare_zone.subspace_foundation.id
name = "rpc.taurus"
type = "A"
value = "65.108.225.226"
ttl = 1
proxied = false
}

0 comments on commit 28c1b70

Please sign in to comment.