blob: 384f1c97ca5224ab9cc19d2f06b1f65b66d7c11a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
{
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;
# `unbound` might be active, but it's utterly pointless in a test environment (there is
# no network access). So we disable it, which means that the nameservers, configured
# above, actually mean something.
vhack.unbound.enable = lib.mkForce false;
}
|