aboutsummaryrefslogtreecommitdiffstats
path: root/tests/common/dns/client.nix
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/common/dns/client.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/common/dns/client.nix b/tests/common/dns/client.nix
index 2e057a9..384f1c9 100644
--- a/tests/common/dns/client.nix
+++ b/tests/common/dns/client.nix
@@ -8,4 +8,9 @@
# Instead of doing the dance with root dns servers and what-not, we just force them
# to directly connect to our authoritative dns server for the zones we have.
networking.nameservers = lib.mkForce nodes.name_server.vhack.nsd.interfaces;
+
+ # `unbound` might be active, but it's utterly pointless in a test environment (there is
+ # no network access). So we disable it, which means that the nameservers, configured
+ # above, actually mean something.
+ vhack.unbound.enable = lib.mkForce false;
}