nixos-config/config/networks/fudo.org.nix

187 lines
4.4 KiB
Nix

{ config, lib, ... }:
{
mx = [ "mail.fudo.org" ];
default-host = "208.81.3.117";
aliases = {
pop = "mail.fudo.org.";
smtp = "mail.fudo.org.";
imap = "mail.fudo.org.";
webmail = "france.fudo.org.";
archiva = "france.fudo.org.";
auth = "france.fudo.org.";
backplane = "france.fudo.org.";
chat = "france.fudo.org.";
de = "germany.fudo.org.";
fr = "france.fudo.org.";
git = "france.fudo.org.";
metrics = "france.fudo.org.";
minecraft = "france.fudo.org.";
monitor = "france.fudo.org.";
user = "paris.fudo.org.";
u = "user.fudo.org.";
w = "www.fudo.org.";
ww = "www.fudo.org.";
www = "hanover.fudo.org.";
wiki = "hanover.fudo.org.";
};
extra-dns-records = [
''@ IN TXT "v=spf1 mx ip4:208.81.3.112/28 ip6:2605:e200:d200::1/48 -all"''
''@ IN SPF "v=spf1 mx ip4:208.81.3.112/28 ip6:2605:e200:d200::1/48 -all"''
];
dmarc-report-address = "dmarc-report@fudo.org";
srv-records = {
tcp = {
domain = [
{
host = "ns1.fudo.org";
port = 53;
}
{
host = "ns2.fudo.org";
port = 53;
}
{
host = "ns3.fudo.org";
port = 53;
}
{
host = "ns4.fudo.org";
port = 53;
}
];
ssh = [{
host = "france.fudo.org";
port = 22;
}];
smtp = [{
host = "mail.fudo.org";
port = 25;
}];
submission = [{
host = "mail.fudo.org";
port = 587;
}];
kerberos = [{
host = "france.fudo.org";
port = 88;
}];
imaps = [{
host = "mail.fudo.org";
port = 993;
}];
ldap = [{
host = "france.fudo.org";
port = 389;
}];
ldaps = [{
host = "france.fudo.org";
port = 636;
}];
pop3s = [{
host = "mail.fudo.org";
port = 995;
}];
http = [{
host = "wiki.fudo.org";
port = 80;
}];
https = [{
host = "wiki.fudo.org";
port = 80;
}];
xmpp-server = [{
host = "fudo.im";
port = 5269;
}];
xmpp-client = [{
host = "fudo.im";
port = 5222;
}];
};
udp = {
domain = [
{
host = "ns1.fudo.org";
port = 53;
}
{
host = "ns2.fudo.org";
port = 53;
}
{
host = "ns3.fudo.org";
port = 53;
}
{
host = "ns4.fudo.org";
port = 53;
}
];
kerberos = [{
host = "france.fudo.org";
port = 88;
}];
kerberos-master = [{
host = "france.fudo.org";
port = 88;
}];
kpasswd = [{
host = "france.fudo.org";
port = 464;
}];
xmpp-server = [{
host = "fudo.im";
port = 5269;
}];
};
};
hosts = {
cisco = { ipv4-address = "198.163.150.211"; };
cisco-int = { ipv4-address = "10.73.77.10"; };
cupid = { ipv4-address = "208.38.36.100"; };
docker = { ipv4-address = "208.81.3.126"; };
france = { ipv4-address = "208.81.3.117"; };
frankfurt = {
ipv4-address = "208.81.3.120";
ipv6-address = "2605:e200:d200:1:5054:ff:fe8c:9738";
};
germany = {
ipv4-address = "208.81.3.116";
ipv6-address = "2605:e200:d200:1:78d9:d8ff:fe0f:dd88";
};
hanover = {
ipv4-address = "208.81.1.130";
ipv6-address = "2605:e200:d100:1:5054:ff:fe61:ac8b";
};
localhost = { ipv4-address = "127.0.0.1"; };
lsbb-gba = { ipv4-address = "199.101.56.34"; };
lsbb-abg = { ipv4-address = "199.101.56.38"; };
lsbb-hwd = { ipv4-address = "199.101.56.106"; };
lsbb-hcl = { ipv4-address = "199.101.56.110"; };
procul = { ipv4-address = "172.86.179.18"; };
prunel = { ipv4-address = "208.81.3.123"; };
mbix = { ipv4-address = "208.81.7.146"; };
ns3-fudo = { ipv4-address = "208.75.74.205"; };
ns3-dair = { ipv4-address = "208.75.74.205"; };
ns4-fudo = { ipv4-address = "208.75.75.157"; };
ns4-dair = { ipv4-address = "208.75.75.157"; };
paris = {
ipv4-address = "208.81.3.125";
ipv6-address = "2605:e200:d200:1:5054:ff:fe67:d0c1";
};
probe = { ipv4-address = "208.81.3.119"; };
tours = {
ipv4-address = "208.81.3.121";
ipv6-address = "2605:e200:d200:1:5054:ff:fe95:34e5";
};
};
}