cluster/services/dns: add resolver client config

This commit is contained in:
Max Headroom 2022-08-07 20:01:27 +02:00
parent 5356ba97c6
commit 0eed86421b
2 changed files with 7 additions and 0 deletions

View file

@ -0,0 +1,5 @@
{ cluster, ... }:
{
networking.nameservers = [ cluster.config.links.dnsResolver.ipv4 ];
}

View file

@ -19,6 +19,7 @@ in
master = [ "VEGAS" ];
slave = [ "prophet" ];
coredns = [ "VEGAS" ];
client = [ "VEGAS" "prophet" ];
};
nixos = {
master = [
@ -27,6 +28,7 @@ in
];
slave = ./authoritative.nix;
coredns = ./coredns.nix;
client = ./client.nix;
};
};
}