nixos/tests/knot: test the XDP interface

We reconfigure the secondary nameserver VM to do all the same things that
it did before, but now over the XDP interface.
This commit is contained in:
Martin Weinelt
2024-02-13 13:44:31 +01:00
parent d1d8dd3e55
commit 08a775839d
+8 -5
View File
@@ -114,13 +114,16 @@ in {
services.knot.extraArgs = [ "-v" ];
services.knot.settings = {
server = {
listen = [
"0.0.0.0@53"
"::@53"
];
automatic-acl = true;
};
xdp = {
listen = [
"eth1"
];
tcp = true;
};
remote.primary = {
address = "192.168.0.1@53";
key = "xfr_key";
@@ -140,7 +143,7 @@ in {
"sub.example.com".file = "sub.example.com.zone";
};
log.syslog.any = "info";
log.syslog.any = "debug";
};
};
client = { lib, nodes, ... }: {