forked from M-Labs/it-infra
nixbld: host 193thz.com
This commit is contained in:
parent
a4ebfb23e4
commit
e5257122b1
|
@ -298,6 +298,23 @@ in
|
||||||
"216.218.133.2" "2001:470:600::2" # slave.dns.he.net
|
"216.218.133.2" "2001:470:600::2" # slave.dns.he.net
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
"193thz.com" = {
|
||||||
|
name = "193thz.com";
|
||||||
|
master = true;
|
||||||
|
file = "/etc/nixos/named/193thz.com";
|
||||||
|
extraConfig =
|
||||||
|
''
|
||||||
|
dnssec-policy "default";
|
||||||
|
inline-signing yes;
|
||||||
|
notify explicit;
|
||||||
|
also-notify {
|
||||||
|
216.218.130.2; # ns1.he.net
|
||||||
|
};
|
||||||
|
'';
|
||||||
|
slaves = [
|
||||||
|
"216.218.133.2" "2001:470:600::2" # slave.dns.he.net
|
||||||
|
];
|
||||||
|
};
|
||||||
"200-29.98.206.103.in-addr.arpa" = {
|
"200-29.98.206.103.in-addr.arpa" = {
|
||||||
name = "200-29.98.206.103.in-addr.arpa";
|
name = "200-29.98.206.103.in-addr.arpa";
|
||||||
master = true;
|
master = true;
|
||||||
|
@ -975,6 +992,16 @@ in
|
||||||
locations."/socket.io/".proxyPass = "http://localhost:9825";
|
locations."/socket.io/".proxyPass = "http://localhost:9825";
|
||||||
locations."/socket.io/".proxyWebsockets = true;
|
locations."/socket.io/".proxyWebsockets = true;
|
||||||
};
|
};
|
||||||
|
"193thz.com" = {
|
||||||
|
addSSL = true;
|
||||||
|
enableACME = true;
|
||||||
|
root = "/var/www/perso/sb";
|
||||||
|
};
|
||||||
|
"www.193thz.com" = {
|
||||||
|
addSSL = true;
|
||||||
|
enableACME = true;
|
||||||
|
root = "/var/www/perso/sb";
|
||||||
|
};
|
||||||
"nmigen.net" = {
|
"nmigen.net" = {
|
||||||
addSSL = true;
|
addSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
|
@ -1047,7 +1074,7 @@ in
|
||||||
enable = true;
|
enable = true;
|
||||||
localDnsResolver = false; # conflicts with dnsmasq
|
localDnsResolver = false; # conflicts with dnsmasq
|
||||||
fqdn = "mail.m-labs.hk";
|
fqdn = "mail.m-labs.hk";
|
||||||
domains = [ "m-labs.hk" "m-labs.ph" ];
|
domains = [ "m-labs.hk" "m-labs.ph" "193thz.com" ];
|
||||||
enablePop3 = true;
|
enablePop3 = true;
|
||||||
enablePop3Ssl = true;
|
enablePop3Ssl = true;
|
||||||
certificateScheme = "acme-nginx";
|
certificateScheme = "acme-nginx";
|
||||||
|
|
|
@ -0,0 +1,26 @@
|
||||||
|
$TTL 7200
|
||||||
|
|
||||||
|
@ SOA ns1.193thz.com. sb.m-labs.hk. (
|
||||||
|
2023090504
|
||||||
|
7200
|
||||||
|
3600
|
||||||
|
86400
|
||||||
|
600)
|
||||||
|
|
||||||
|
|
||||||
|
NS ns.193thz.com.
|
||||||
|
NS ns1.he.net.
|
||||||
|
|
||||||
|
A 94.190.212.123
|
||||||
|
AAAA 2001:470:18:390::2
|
||||||
|
MX 10 mail.m-labs.hk.
|
||||||
|
TXT "v=spf1 mx a:router.alt.m-labs.hk -all"
|
||||||
|
TXT "google-site-verification=5eIjLyhM_siRg5Fc2Z3AMSbheH0JFOn5iR3TCEXakqU"
|
||||||
|
|
||||||
|
|
||||||
|
ns A 94.190.212.123
|
||||||
|
|
||||||
|
mail._domainkey TXT "v=DKIM1; k=rsa; p=MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC9T0cONxGXeyETE0bJ6NJVGT58fVFrfb+WxQhMskCN/mJhODyDTkRCjzE8ZnKhZGjkFZNG+PoSZlW+kpSS1LvMwzQpMRaH4zAzIexffR0l7rJR1MuQiVMsfGWpO2SLEuN74L2qH8SUBHZjrRpeSaFxwQm+prIOzZe5wTZStt/6qQIDAQAB"
|
||||||
|
_dmarc TXT "v=DMARC1; p=none"
|
||||||
|
|
||||||
|
www CNAME @
|
Loading…
Reference in New Issue