aboutsummaryrefslogtreecommitdiffstats
path: root/tests/common/dns/server.nix
diff options
context:
space:
mode:
authorSoispha Peetz <soispha@b-peetz.de>2026-11-26 21:48:07 +0100
committerSoispha Peetz <soispha@b-peetz.de>2026-11-27 00:55:53 +0100
commit03d15fa3744849235ea0dba976cd6582afca4499 (patch)
treeb5edd1a99dc820e1b91ae23154e2f4848a5a453a /tests/common/dns/server.nix
parenthosts/*: Include their deployment method in their definition (diff)
downloadnixos-server-03d15fa3744849235ea0dba976cd6582afca4499.zip
modules/dns: Separate into `nsd` and `unbound` module
They are two sides of a coin, but it makes more sense to be able to only enable one but not the other (at least in `unbounds` case).
Diffstat (limited to '')
-rw-r--r--tests/common/dns/server.nix5
1 files changed, 4 insertions, 1 deletions
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 = [