terraform: add builtwithnix.org DNS
This commit is contained in:
parent
014ecdf056
commit
723d3709a2
2 changed files with 28 additions and 1 deletions
27
terraform/cloudflare_builtwithnix.tf
Normal file
27
terraform/cloudflare_builtwithnix.tf
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
locals {
|
||||||
|
builtwithnix_zone_id = "90161b6fed8644e4f5ea1eb8535260b1"
|
||||||
|
}
|
||||||
|
|
||||||
|
resource "cloudflare_record" "builtwithnix-A" {
|
||||||
|
zone_id = local.builtwithnix_zone_id
|
||||||
|
name = "@"
|
||||||
|
value = "nix-community.github.io"
|
||||||
|
type = "CNAME"
|
||||||
|
proxied = false
|
||||||
|
}
|
||||||
|
|
||||||
|
resource "cloudflare_record" "builtwithnix-www-A" {
|
||||||
|
zone_id = local.builtwithnix_zone_id
|
||||||
|
name = "www"
|
||||||
|
value = "nix-community.github.io"
|
||||||
|
type = "CNAME"
|
||||||
|
proxied = false
|
||||||
|
}
|
||||||
|
|
||||||
|
# Any email coming from that domain are SPAM
|
||||||
|
resource "cloudflare_record" "builtwithnix-TXT" {
|
||||||
|
zone_id = local.builtwithnix_zone_id
|
||||||
|
name = "@"
|
||||||
|
value = "v=spf1 -all"
|
||||||
|
type = "TXT"
|
||||||
|
}
|
|
@ -21,7 +21,7 @@ resource "cloudflare_record" "apex-A" {
|
||||||
name = "@"
|
name = "@"
|
||||||
value = "nix-community.github.io"
|
value = "nix-community.github.io"
|
||||||
type = "CNAME"
|
type = "CNAME"
|
||||||
proxied = true
|
proxied = false
|
||||||
}
|
}
|
||||||
|
|
||||||
# Any email coming from that domain are SPAM
|
# Any email coming from that domain are SPAM
|
Loading…
Add table
Add a link
Reference in a new issue