diff --git a/cluster/services/dns/client.nix b/cluster/services/dns/client.nix new file mode 100644 index 0000000..52ed076 --- /dev/null +++ b/cluster/services/dns/client.nix @@ -0,0 +1,5 @@ +{ cluster, ... }: + +{ + networking.nameservers = [ cluster.config.links.dnsResolver.ipv4 ]; +} diff --git a/cluster/services/dns/default.nix b/cluster/services/dns/default.nix index e68b22c..205f19a 100644 --- a/cluster/services/dns/default.nix +++ b/cluster/services/dns/default.nix @@ -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; }; }; }