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-06 13:34:06 +01:00
parent d1d8dd3e55
commit 08a775839d
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

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, ... }: {