move beta to it's own zone
This commit is contained in:
parent
605142d713
commit
84be8520dd
40
data.nix
40
data.nix
@ -126,6 +126,29 @@ rec {
|
|||||||
vno3.cidr = "192.168.100.0/24";
|
vno3.cidr = "192.168.100.0/24";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
betaJakstysLTZone = ''
|
||||||
|
$ORIGIN beta.jakstys.lt.
|
||||||
|
$TTL 86400
|
||||||
|
@ SOA ns1.jakstys.lt. motiejus.jakstys.lt. (2023121600 86400 86400 86400 86400)
|
||||||
|
@ NS ns1.jakstys.lt.
|
||||||
|
@ NS ns2.jakstys.lt.
|
||||||
|
@ TXT hosted-email-verify=czwt2yjp
|
||||||
|
@ TXT "v=spf1 include:spf.migadu.com -all"
|
||||||
|
_dmarc TXT "v=DMARC1; p=quarantine;"
|
||||||
|
@ MX 10 aspmx1.migadu.com.
|
||||||
|
@ MX 20 aspmx2.migadu.com.
|
||||||
|
* MX 10 aspmx1.migadu.com.
|
||||||
|
* MX 20 aspmx2.migadu.com.
|
||||||
|
key1._domainkey CNAME key1.beta.jakstys.lt._domainkey.migadu.com.
|
||||||
|
key2._domainkey CNAME key2.beta.jakstys.lt._domainkey.migadu.com.
|
||||||
|
key3._domainkey CNAME key3.beta.jakstys.lt._domainkey.migadu.com.
|
||||||
|
autoconfig CNAME autoconfig.migadu.com.
|
||||||
|
_autodiscover._tcp SRV 0 1 443 autodiscover.migadu.com.
|
||||||
|
_submissions._tcp SRV 0 1 465 smtp.migadu.com.
|
||||||
|
_imaps._tcp SRV 0 1 993 imap.migadu.com.
|
||||||
|
_pop3s._tcp SRV 0 1 995 imap.migadu.com.
|
||||||
|
'';
|
||||||
|
|
||||||
jakstysLTZone = let
|
jakstysLTZone = let
|
||||||
fra1a = hosts."fra1-a.servers.jakst".publicIP;
|
fra1a = hosts."fra1-a.servers.jakst".publicIP;
|
||||||
vno1 = hosts."vno1-oh2.servers.jakst".publicIP;
|
vno1 = hosts."vno1-oh2.servers.jakst".publicIP;
|
||||||
@ -135,6 +158,8 @@ rec {
|
|||||||
@ SOA ns1.jakstys.lt. motiejus.jakstys.lt. (2023100800 86400 86400 86400 86400)
|
@ SOA ns1.jakstys.lt. motiejus.jakstys.lt. (2023100800 86400 86400 86400 86400)
|
||||||
@ NS ns1.jakstys.lt.
|
@ NS ns1.jakstys.lt.
|
||||||
@ NS ns2.jakstys.lt.
|
@ NS ns2.jakstys.lt.
|
||||||
|
beta NS ns1.jakstys.lt.
|
||||||
|
beta NS ns2.jakstys.lt.
|
||||||
@ 600 A ${vno1}
|
@ 600 A ${vno1}
|
||||||
www 600 A ${vno1}
|
www 600 A ${vno1}
|
||||||
ns1 A ${vno1}
|
ns1 A ${vno1}
|
||||||
@ -146,21 +171,6 @@ rec {
|
|||||||
fra1-a A ${fra1a}
|
fra1-a A ${fra1a}
|
||||||
vno1 A ${vno1}
|
vno1 A ${vno1}
|
||||||
|
|
||||||
beta TXT hosted-email-verify=czwt2yjp
|
|
||||||
beta TXT "v=spf1 include:spf.migadu.com -all"
|
|
||||||
_dmarc.beta TXT "v=DMARC1; p=quarantine;"
|
|
||||||
beta MX 10 aspmx1.migadu.com.
|
|
||||||
beta MX 20 aspmx2.migadu.com.
|
|
||||||
*.beta MX 10 aspmx1.migadu.com.
|
|
||||||
*.beta MX 20 aspmx2.migadu.com.
|
|
||||||
key1._domainkey.beta CNAME key1.beta.jakstys.lt._domainkey.migadu.com.
|
|
||||||
key2._domainkey.beta CNAME key2.beta.jakstys.lt._domainkey.migadu.com.
|
|
||||||
key3._domainkey.beta CNAME key3.beta.jakstys.lt._domainkey.migadu.com.
|
|
||||||
autoconfig.beta CNAME autoconfig.migadu.com.
|
|
||||||
_autodiscover._tcp.beta SRV 0 1 443 autodiscover.migadu.com.
|
|
||||||
_submissions._tcp.beta SRV 0 1 465 smtp.migadu.com.
|
|
||||||
_imaps._tcp.beta SRV 0 1 993 imap.migadu.com.
|
|
||||||
_pop3s._tcp.beta SRV 0 1 995 imap.migadu.com.
|
|
||||||
|
|
||||||
@ MX 10 aspmx.l.google.com.
|
@ MX 10 aspmx.l.google.com.
|
||||||
@ MX 20 alt1.aspmx.l.google.com.
|
@ MX 20 alt1.aspmx.l.google.com.
|
||||||
|
@ -80,6 +80,7 @@
|
|||||||
interfaces = ["0.0.0.0" "::"];
|
interfaces = ["0.0.0.0" "::"];
|
||||||
zones = {
|
zones = {
|
||||||
"jakstys.lt.".data = myData.jakstysLTZone;
|
"jakstys.lt.".data = myData.jakstysLTZone;
|
||||||
|
"beta.jakstys.lt.".data = myData.betaJakstysLTZone;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -488,6 +488,7 @@
|
|||||||
interfaces = ["0.0.0.0" "::"];
|
interfaces = ["0.0.0.0" "::"];
|
||||||
zones = {
|
zones = {
|
||||||
"jakstys.lt.".data = myData.jakstysLTZone;
|
"jakstys.lt.".data = myData.jakstysLTZone;
|
||||||
|
"beta.jakstys.lt.".data = myData.betaJakstysLTZone;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -638,7 +639,10 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [geoipWithDatabase];
|
environment.systemPackages = with pkgs; [
|
||||||
|
imapsync
|
||||||
|
geoipWithDatabase
|
||||||
|
];
|
||||||
|
|
||||||
networking = {
|
networking = {
|
||||||
hostId = "f9117e1b";
|
hostId = "f9117e1b";
|
||||||
|
@ -105,6 +105,7 @@
|
|||||||
xss-lock
|
xss-lock
|
||||||
qpwgraph # for pipewire
|
qpwgraph # for pipewire
|
||||||
gpicview
|
gpicview
|
||||||
|
imapsync
|
||||||
trayscale
|
trayscale
|
||||||
# TODO why doesn't 'programs.wireshark.enable = true' install the binary?
|
# TODO why doesn't 'programs.wireshark.enable = true' install the binary?
|
||||||
wireshark
|
wireshark
|
||||||
|
Loading…
Reference in New Issue
Block a user