This commit is contained in:
chris 2025-04-17 16:18:49 +02:00
parent 0caa35fe9a
commit f66bb1f538
Signed by: c6ristian
SSH key fingerprint: SHA256:B3m+yzpaxGXSEcDBpPHfvza/DNC0wuX+CKMeGq8wgak
3 changed files with 23 additions and 2 deletions
data/zones
systems
monitoring.noc.eh22.intern
resolv-dns.noc.eh22.intern

View file

@ -1,7 +1,6 @@
$ORIGIN eh22.intern.
@ 0 IN SOA auth-dns.noc noc.eh22.easterhegg.eu. 1 7200 3600 3600000 60
@ 0 IN NS 10.20.25.3.
jool 0 IN A 94.45.254.4
auth-dns.noc 0 IN A 94.45.254.3
grafana.noc 0 IN CNAME monitoring.noc
loki.noc 0 IN CNAME monitoring.noc

View file

@ -41,7 +41,17 @@
networking.firewall.allowedTCPPorts = [ 80 ];
networking.usePredictableInterfaceNames = false;
networking = {
interfaces.ens18 = {
ipv4.addresses = [
{
address = "94.45.254.4";
prefixLength = 25;
}
];
};
defaultGateway = "94.45.254.1";
};
services.nginx = {
enable = true;
recommendedProxySettings = true;

View file

@ -23,6 +23,18 @@ in
allowedTCPPorts = [ 53 ];
allowedUDPPorts = [ 53 ];
};
networking = {
interfaces.ens18 = {
ipv4.addresses = [
{
address = "94.45.254.6";
prefixLength = 25;
}
];
};
defaultGateway = "94.45.254.1";
};
environment.etc."resolv.conf".text = ''
search noc.eh22.intern eh22.intern
nameserver 94.45.254.2