aboutsummaryrefslogtreecommitdiffstats
path: root/tests/common/dns/client.nix
blob: 2e057a96d32a94abe16206314adfa27f99dccaa0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
{
  nodes,
  lib,
  ...
}: {
  # 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.nsd.interfaces;
}