Skip to content

Commit

Permalink
Add DNS records for ioweb.it (#1340)
Browse files Browse the repository at this point in the history
  • Loading branch information
pp-ps authored Nov 28, 2024
1 parent 7e61e34 commit e650138
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions src/common/_modules/global/modules/dns/dns_ioweb_it.tf
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,30 @@ resource "azurerm_dns_caa_record" "ioweb_it" {
tags = var.tags
}

# DMARC record for ioapp.it
resource "azurerm_dns_txt_record" "dmarc_ioweb_it" {
name = "_dmarc"
zone_name = azurerm_dns_zone.ioweb_it.name
resource_group_name = var.resource_groups.external
ttl = var.dns_default_ttl_sec
record {
value = "v=DMARC1; p=reject; rua=mailto:dmarc@0f1qy7b5.uriports.com; aspf=s; adkim=s"
}
tags = var.tags
}

# set SPF to "empty" for ioapp.it
resource "azurerm_dns_txt_record" "spf_ioweb_it" {
name = "@"
zone_name = azurerm_dns_zone.ioweb_it.name
resource_group_name = var.resource_groups.external
ttl = var.dns_default_ttl_sec
record {
value = "v=spf1 -all"
}
tags = var.tags
}

# CNAME for zendesk help center
resource "azurerm_dns_cname_record" "zendesk" {
name = "assistenza"
Expand Down

0 comments on commit e650138

Please sign in to comment.