Skip to content

Commit

Permalink
Add turkeltaub.me DNS records (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
ethnt authored Sep 12, 2024
1 parent a978880 commit 664b3f0
Showing 1 changed file with 52 additions and 0 deletions.
52 changes: 52 additions & 0 deletions deploy/terraform/dns.tf
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@ resource "aws_route53_zone" "satan_network" {
name = "satan.network"
}

resource "aws_route53_zone" "turkeltaub_me" {
name = "turkeltaub.me"
}

resource "aws_route53_record" "root_e10_video" {
zone_id = aws_route53_zone.e10_video.zone_id
name = "e10.video"
Expand Down Expand Up @@ -93,3 +97,51 @@ resource "aws_route53_record" "wildcard_e10_camp" {
ttl = 300
records = [aws_instance.gateway.public_ip]
}

resource "aws_route53_record" "root_mx_turkeltaub_me" {
zone_id = aws_route53_zone.turkeltaub_me.zone_id
name = "turkeltaub.me"
type = "MX"
records = ["10 in1-smtp.messagingengine.com", "20 in2-smtp.messagingengine.com"]
ttl = 300
}

resource "aws_route53_record" "wildcard_mx_turkeltaub_me" {
zone_id = aws_route53_zone.turkeltaub_me.zone_id
name = "*.turkeltaub.me"
type = "MX"
records = ["10 in1-smtp.messagingengine.com", "20 in2-smtp.messagingengine.com"]
ttl = 300
}

resource "aws_route53_record" "fm1_domainkey_turkeltaub_me" {
zone_id = aws_route53_zone.turkeltaub_me.zone_id
name = "fm1._domainkey.turkeltaub.me"
type = "CNAME"
records = ["fm1.turkeltaub.me.dkim.fmhosted.com"]
ttl = 300
}

resource "aws_route53_record" "fm2_domainkey_turkeltaub_me" {
zone_id = aws_route53_zone.turkeltaub_me.zone_id
name = "fm2._domainkey.turkeltaub.me"
type = "CNAME"
records = ["fm2.turkeltaub.me.dkim.fmhosted.com"]
ttl = 300
}

resource "aws_route53_record" "fm3_domainkey_turkeltaub_me" {
zone_id = aws_route53_zone.turkeltaub_me.zone_id
name = "fm3._domainkey.turkeltaub.me"
type = "CNAME"
records = ["fm3.turkeltaub.me.dkim.fmhosted.com"]
ttl = 300
}

resource "aws_route53_record" "spf_turkeltaub_me" {
zone_id = aws_route53_zone.turkeltaub_me.zone_id
name = "turkeltaub.me"
type = "TXT"
records = ["v=spf1 include:spf.messagingengine.com ?all"]
ttl = 300
}

0 comments on commit 664b3f0

Please sign in to comment.