Unverified Commit 08a77583 authored by Martin Weinelt's avatar Martin Weinelt
Browse files

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.
parent d1d8dd3e
Loading
Loading
Loading
Loading
+7 −4
Original line number Diff line number Diff line
@@ -114,11 +114,14 @@ in {
      services.knot.extraArgs = [ "-v" ];
      services.knot.settings = {
        server = {
          automatic-acl = true;
        };

        xdp = {
          listen = [
            "0.0.0.0@53"
            "::@53"
            "eth1"
          ];
          automatic-acl = true;
          tcp = true;
        };

        remote.primary = {
@@ -140,7 +143,7 @@ in {
          "sub.example.com".file = "sub.example.com.zone";
        };

        log.syslog.any = "info";
        log.syslog.any = "debug";
      };
    };
    client = { lib, nodes, ... }: {