add towerops

This commit is contained in:
Graham McIntire 2026-01-03 15:20:24 -06:00
parent ab1afaebf0
commit 0238983be1
No known key found for this signature in database

38
terraform/dns_towerops.tf Normal file
View file

@ -0,0 +1,38 @@
# DNSimple DNS records for towerops.net
# SendGrid email authentication records
# SendGrid domain CNAME
resource "dnsimple_zone_record" "towerops_dnsimple_sendgrid_domain" {
zone_name = "towerops.net"
name = "em6505"
type = "CNAME"
value = "u177982.wl233.sendgrid.net"
ttl = 600
}
# SendGrid DKIM key 1
resource "dnsimple_zone_record" "towerops_dnsimple_sendgrid_dkim1" {
zone_name = "towerops.net"
name = "s1._domainkey"
type = "CNAME"
value = "s1.domainkey.u177982.wl233.sendgrid.net"
ttl = 600
}
# SendGrid DKIM key 2
resource "dnsimple_zone_record" "towerops_dnsimple_sendgrid_dkim2" {
zone_name = "towerops.net"
name = "s2._domainkey"
type = "CNAME"
value = "s2.domainkey.u177982.wl233.sendgrid.net"
ttl = 600
}
# DMARC policy
resource "dnsimple_zone_record" "towerops_dnsimple_dmarc" {
zone_name = "towerops.net"
name = "_dmarc"
type = "TXT"
value = "v=DMARC1; p=none;"
ttl = 600
}