aboutsummaryrefslogtreecommitdiffstats
path: root/tests/common/dns
diff options
context:
space:
mode:
Diffstat (limited to 'tests/common/dns')
-rw-r--r--tests/common/dns/client.nix2
-rw-r--r--tests/common/dns/server.nix5
2 files changed, 5 insertions, 2 deletions
diff --git a/tests/common/dns/client.nix b/tests/common/dns/client.nix
index e55000d..2e057a9 100644
--- a/tests/common/dns/client.nix
+++ b/tests/common/dns/client.nix
@@ -7,5 +7,5 @@
# resolving, as there is no internet access.
# 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.dns.interfaces;
+ networking.nameservers = lib.mkForce nodes.name_server.vhack.nsd.interfaces;
}
diff --git a/tests/common/dns/server.nix b/tests/common/dns/server.nix
index be8d3e1..5f8d470 100644
--- a/tests/common/dns/server.nix
+++ b/tests/common/dns/server.nix
@@ -8,7 +8,10 @@
];
vhack = {
- dns = {
+ # Enable unbound, so we can resolve our own zones.
+ unbound.enable = true;
+
+ nsd = {
enable = true;
openFirewall = true;
interfaces = [