set ips
This commit is contained in:
parent
0caa35fe9a
commit
f66bb1f538
3 changed files with 23 additions and 2 deletions
data/zones
systems
|
@ -1,7 +1,6 @@
|
||||||
$ORIGIN eh22.intern.
|
$ORIGIN eh22.intern.
|
||||||
@ 0 IN SOA auth-dns.noc noc.eh22.easterhegg.eu. 1 7200 3600 3600000 60
|
@ 0 IN SOA auth-dns.noc noc.eh22.easterhegg.eu. 1 7200 3600 3600000 60
|
||||||
@ 0 IN NS 10.20.25.3.
|
@ 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
|
auth-dns.noc 0 IN A 94.45.254.3
|
||||||
grafana.noc 0 IN CNAME monitoring.noc
|
grafana.noc 0 IN CNAME monitoring.noc
|
||||||
loki.noc 0 IN CNAME monitoring.noc
|
loki.noc 0 IN CNAME monitoring.noc
|
||||||
|
|
|
@ -41,7 +41,17 @@
|
||||||
|
|
||||||
networking.firewall.allowedTCPPorts = [ 80 ];
|
networking.firewall.allowedTCPPorts = [ 80 ];
|
||||||
networking.usePredictableInterfaceNames = false;
|
networking.usePredictableInterfaceNames = false;
|
||||||
|
networking = {
|
||||||
|
interfaces.ens18 = {
|
||||||
|
ipv4.addresses = [
|
||||||
|
{
|
||||||
|
address = "94.45.254.4";
|
||||||
|
prefixLength = 25;
|
||||||
|
}
|
||||||
|
];
|
||||||
|
};
|
||||||
|
defaultGateway = "94.45.254.1";
|
||||||
|
};
|
||||||
services.nginx = {
|
services.nginx = {
|
||||||
enable = true;
|
enable = true;
|
||||||
recommendedProxySettings = true;
|
recommendedProxySettings = true;
|
||||||
|
|
|
@ -23,6 +23,18 @@ in
|
||||||
allowedTCPPorts = [ 53 ];
|
allowedTCPPorts = [ 53 ];
|
||||||
allowedUDPPorts = [ 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 = ''
|
environment.etc."resolv.conf".text = ''
|
||||||
search noc.eh22.intern eh22.intern
|
search noc.eh22.intern eh22.intern
|
||||||
nameserver 94.45.254.2
|
nameserver 94.45.254.2
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue