From 30a7de827497e0d0ae596cf25a6895c00da2e5ad Mon Sep 17 00:00:00 2001 From: Soispha Peetz Date: Thu, 26 Nov 2026 01:17:17 +0100 Subject: tests/common/dns/{server,client}: Adopt to the new `unbound` dns server --- tests/common/dns/server.nix | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) (limited to 'tests/common/dns/server.nix') diff --git a/tests/common/dns/server.nix b/tests/common/dns/server.nix index b37332b..0ca3ec6 100644 --- a/tests/common/dns/server.nix +++ b/tests/common/dns/server.nix @@ -1,24 +1,15 @@ -{ - lib, - nodes, - ... -}: { +{nodes, config, ...}: { imports = [ ../../../modules ]; - networking.nameservers = lib.mkForce [ - nodes.name_server.networking.primaryIPAddress - nodes.name_server.networking.primaryIPv6Address - ]; - vhack = { dns = { enable = true; openFirewall = true; interfaces = [ - nodes.name_server.networking.primaryIPAddress - nodes.name_server.networking.primaryIPv6Address + config.networking.primaryIPAddress + config.networking.primaryIPv6Address ]; zones = { -- cgit v1.3.1