From 30356629109b139f36b8b3f0612a62e17a2c4abc Mon Sep 17 00:00:00 2001 From: niten Date: Sat, 18 Nov 2023 12:27:40 -0800 Subject: [PATCH] mq hostToFqdn --- zone-to-zonefile.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zone-to-zonefile.nix b/zone-to-zonefile.nix index e5b593a..862d3a1 100644 --- a/zone-to-zonefile.nix +++ b/zone-to-zonefile.nix @@ -103,7 +103,7 @@ let optionalString (dmarcEmail != null) '' _dmarc IN TXT "v=DMARC1;p=quarantine;sp=quarantine;rua=mailto:${dmarcEmail};"''; - mxRecords = map (mx: "@ IN MX 10 ${mx}."); + mxRecords = map (mx: "@ IN MX 10 ${hostToFqdn mx}"); nsRecords = map (ns-host: "@ IN NS ${ns-host}");