aboutsummaryrefslogtreecommitdiffstats
path: root/tests/common/dns/client.nix
blob: e55000d9d1e4ba73475a4b0995b617ea4063b2d7 (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.dns.interfaces;
}