nix/hosts/prefect/services/nsd/yourmother.website.nix

33 lines
571 B
Nix

{ dns, ... }: with dns.combinators; {
SOA = {
nameServer = "ns1.thehedgehog.me.";
adminEmail = "me@thehedgehog.me";
serial = 2022070903;
};
CAA = letsEncrypt "me@thehedgehog.me";
NS = [
"ns1.thehedgehog.me."
];
A = [ "5.161.140.5" ];
AAAA = [ "2a01:4ff:f0:98bf::1" ];
# Mail config
## Yourmother.website does not send email, so verify this.
TXT = [ (with spf; strict [ "" ]) ];
DKIM = [{
selector = "*";
p = "";
}];
DMARC = [{
p = "reject";
sp = "reject";
adkim = "strict";
aspf = "strict";
}];
}