From 82b32479b351a5a72adeaff2441d0646e78ac330 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Motiejus=20Jak=C5=A1tys?= Date: Tue, 21 Mar 2023 15:24:39 +0200 Subject: [PATCH] add MX and www.jakstys.lt. --- configuration.nix | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/configuration.nix b/configuration.nix index 8e2da6d..7e7089e 100644 --- a/configuration.nix +++ b/configuration.nix @@ -501,6 +501,8 @@ in { @ SOA ns1.jakstys.lt. motiejus.jakstys.lt. (2023032100 86400 86400 86400 86400) @ NS ns1.jakstys.lt. @ NS ns2.jakstys.lt. + @ 600 A ${ips.hel1b} + www 600 A ${ips.hel1b} ns1 A ${ips.vno1} ns2 A ${ips.hel1a} beta A ${ips.hel1a} @@ -512,12 +514,20 @@ in { hel1-a A ${ips.hel1a} hel1-b A ${ips.hel1b} vno1 A ${ips.vno1} - www A ${ips.vno1} resolver 10 A ${ips.hel1b} + @ MX 10 aspmx.l.google.com. + @ MX 20 alt1.aspmx.l.google.com. + @ MX 20 alt2.aspmx.l.google.com. + @ MX 30 aspmx2.googlemail.com. + @ MX 30 aspmx3.googlemail.com. ''; in { enable = true; extraConfig = '' + server: + listen: 0.0.0.0@53 + listen: ::@53 + version: 42 zone: - domain: jakstys.lt file: ${jakstysLTZone}