knot: listen on localhost, use vars

This commit is contained in:
Sandro - 2024-04-21 18:59:07 +02:00
parent fc76860cb8
commit cc434eeea9
Signed by: sandro
GPG Key ID: 3AF5A43A3EECC2E5
1 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ config, pkgs, zentralwerk, ... }:
{
c3d2 = {
@ -111,12 +111,12 @@
answer-rotation = true;
automatic-acl = true;
identity = "ns.c3d2.de";
listen = [
"172.20.73.61"
listen = with zentralwerk.lib.config.site.net.serv; [
"127.0.0.1"
"::1"
hosts4.knot hosts6.up4.knot hosts6.dn42.knot
"2a00:8180:2c00:282:2041:cbff:fe0c:8516"
"2a00:8180:2c00:282:cd7:56ff:fe69:6366"
"fd23:42:c3d2:582:2041:cbff:fe0c:8516"
"fd23:42:c3d2:582:cd7:56ff:fe69:6366"
];
tcp-fastopen = true;
version = null;