2024-10-28 15:05:06 +00:00
|
|
|
globals: dns:
|
|
|
|
with dns.lib.combinators; {
|
2024-09-07 10:35:02 +00:00
|
|
|
CAA = letsEncrypt "caa@kun.is";
|
|
|
|
|
|
|
|
SOA = {
|
|
|
|
nameServer = "ns1";
|
|
|
|
adminEmail = "webmaster.kun.is";
|
|
|
|
serial = 2024041301;
|
|
|
|
};
|
|
|
|
|
|
|
|
NS = [
|
|
|
|
"ns1.kun.is."
|
|
|
|
"ns2.kun.is."
|
|
|
|
];
|
|
|
|
|
|
|
|
MX = [
|
|
|
|
(mx.mx 10 "mail.kun.is.")
|
|
|
|
];
|
|
|
|
|
|
|
|
TXT = [
|
2024-10-28 15:05:06 +00:00
|
|
|
(with spf; soft ["include:spf.glasnet.nl"])
|
2024-09-07 10:35:02 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
subdomains = rec {
|
2024-10-28 15:05:06 +00:00
|
|
|
"*".A = [globals.routerPublicIPv4];
|
2024-09-07 10:35:02 +00:00
|
|
|
|
|
|
|
ns = {
|
2024-10-28 15:05:06 +00:00
|
|
|
A = [globals.routerPublicIPv4];
|
|
|
|
AAAA = [];
|
2024-09-07 10:35:02 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
ns1 = ns;
|
|
|
|
ns2 = ns;
|
|
|
|
|
|
|
|
wg = {
|
2024-10-28 15:05:06 +00:00
|
|
|
A = [globals.routerPublicIPv4];
|
|
|
|
AAAA = [];
|
2024-09-07 10:35:02 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#for SMTP2GO to be able send emails from kun.is domain
|
|
|
|
em670271 = {
|
2024-10-28 15:05:06 +00:00
|
|
|
CNAME = ["return.smtp2go.net."];
|
2024-09-07 10:35:02 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
"s670271._domainkey" = {
|
2024-10-28 15:05:06 +00:00
|
|
|
CNAME = ["dkim.smtp2go.net."];
|
2024-09-07 10:35:02 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
link = {
|
2024-10-28 15:05:06 +00:00
|
|
|
CNAME = ["track.smtp2go.net."];
|
2024-09-07 10:35:02 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|