zones/rebmit.moe: add srv records for mail service
References: https://www.rfc-editor.org/rfc/rfc6186
This commit is contained in:
parent
4177868f1c
commit
a75d3f9ea8
|
@ -135,7 +135,7 @@ in
|
|||
file = pkgs.writeText "db.link.rebmit" (
|
||||
import ../../../../zones/rebmit.link.nix {
|
||||
inherit (inputs) dns;
|
||||
inherit lib;
|
||||
inherit lib config;
|
||||
}
|
||||
);
|
||||
}
|
||||
|
@ -144,7 +144,7 @@ in
|
|||
file = pkgs.writeText "db.moe.rebmit" (
|
||||
import ../../../../zones/rebmit.moe.nix {
|
||||
inherit (inputs) dns;
|
||||
inherit lib;
|
||||
inherit lib config;
|
||||
}
|
||||
);
|
||||
}
|
||||
|
|
|
@ -1,4 +1,9 @@
|
|||
{ dns, lib, ... }:
|
||||
{
|
||||
dns,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
with dns.lib.combinators;
|
||||
let
|
||||
common = import ./common.nix;
|
||||
|
@ -22,6 +27,20 @@ dns.lib.toString "rebmit.moe" {
|
|||
];
|
||||
}
|
||||
];
|
||||
SRV = [
|
||||
{
|
||||
service = "imaps";
|
||||
proto = "tcp";
|
||||
port = config.networking.ports.imap-tls;
|
||||
target = "suwako-vie0.rebmit.link.";
|
||||
}
|
||||
{
|
||||
service = "submissions";
|
||||
proto = "tcp";
|
||||
port = config.networking.ports.smtp-tls;
|
||||
target = "suwako-vie0.rebmit.link.";
|
||||
}
|
||||
];
|
||||
MX = with mx; [ (mx 10 "suwako-vie0.rebmit.link.") ];
|
||||
TXT = [ (with spf; soft [ "mx" ]) ];
|
||||
subdomains = {
|
||||
|
|
Loading…
Reference in a new issue