From 03e58a9b8484922ce89981a88e61685ffa173ad9 Mon Sep 17 00:00:00 2001 From: Paul-Henri Froidmont Date: Tue, 15 Feb 2022 21:47:47 +0100 Subject: [PATCH] Update mail server DNS to new server IP --- dns.tf | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/dns.tf b/dns.tf index ac4882e..5858815 100644 --- a/dns.tf +++ b/dns.tf @@ -31,6 +31,14 @@ resource "hetznerdns_record" "webmail_a" { ttl = 600 } +resource "hetznerdns_record" "mail_a" { + zone_id = data.hetznerdns_zone.banditlair_zone.id + name = "mail" + value = local.storage1_ip + type = "A" + ttl = 600 +} + resource "hetznerdns_record" "mail2_a" { zone_id = data.hetznerdns_zone.banditlair_zone.id name = "mail2"