feat(ops/dns): setup Postmark DNS records
This configures the DNS records necessary to send emails from Postmark. Change-Id: I2e55151f40c4f5e54f6d7f06ae24f2e863b7c656 Reviewed-on: https://cl.snix.dev/c/snix/+/30204 Reviewed-by: Ryan Lahfa <masterancpp@gmail.com> Autosubmit: Florian Klink <flokli@flokli.de> Tested-by: besadii
This commit is contained in:
parent
29b4d0367b
commit
cfe842effa
1 changed files with 15 additions and 0 deletions
|
|
@ -110,3 +110,18 @@ resource "digitalocean_record" "snix_dev_meta01" {
|
|||
name = each.key
|
||||
for_each = toset(local.meta01_services)
|
||||
}
|
||||
|
||||
# DNS Records for Email (Postmark)
|
||||
resource "digitalocean_record" "snix_dev_dkim" {
|
||||
domain = digitalocean_domain.snix_dev.id
|
||||
type = "TXT"
|
||||
value = "k=rsa;p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDkF965mvnDqDnHpMX1NdRkYfDTAPMb3ovMQAefFtAWiZPVQDkZ+LPGObVaZb+6eQakFROz7wc2nG5pn/8KLcnKdGCQ0Glllr516EKF6oeGtqP9MwMslkmfOJ1FG5oDyDCIXOf7J+GcgYjs3K6j/4sw0q9lljXgzoHWdNbS0AuQBQIDAQAB"
|
||||
name = "20250320170729pm._domainkey"
|
||||
}
|
||||
|
||||
resource "digitalocean_record" "snix_dev_pm_bounces" {
|
||||
domain = digitalocean_domain.snix_dev.id
|
||||
type = "CNAME"
|
||||
value = "pm.mtasv.net."
|
||||
name = "pm-bounces"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue