Skip to content

Commit

Permalink
point m0.fi dns to vercel
Browse files Browse the repository at this point in the history
  • Loading branch information
MikaelSiidorow committed Jan 19, 2024
1 parent f4bb1fd commit 9ad95af
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion modules/dns/m0/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,20 @@ resource "azurerm_dns_zone" "root_zone" {
resource_group_name = "dns-m0-rg"
}

# A record for root
resource "azure_dns_a_record" "root_a" {
name = "@"
resource_group_name = azurerm_resource_group.dns_rg.name
zone_name = azurerm_dns_zone.root_zone.name
ttl = 300
records = ["76.76.21.21"]
}

# CNAME record for www.
resource "azurerm_dns_cname_record" "www_cname" {
name = "www"
resource_group_name = azurerm_resource_group.dns_rg.name
zone_name = azurerm_dns_zone.root_zone.name
ttl = 300
record = azurerm_dns_zone.root_zone.name
record = "cname.vercel-dns.com."
}

0 comments on commit 9ad95af

Please sign in to comment.