diff options
Diffstat (limited to '')
| -rw-r--r-- | tests/common/dns/client.nix | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/tests/common/dns/client.nix b/tests/common/dns/client.nix index 52f3267..e55000d 100644 --- a/tests/common/dns/client.nix +++ b/tests/common/dns/client.nix @@ -1,10 +1,11 @@ { - lib, nodes, + lib, ... }: { - networking.nameservers = lib.mkForce [ - nodes.name_server.networking.primaryIPAddress - nodes.name_server.networking.primaryIPv6Address - ]; + # In the test environment, we cannot use the root dns servers to perform recursive dns + # 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; } |
