cluster/services/dns: add resolver client config
This commit is contained in:
parent
5356ba97c6
commit
0eed86421b
2 changed files with 7 additions and 0 deletions
5
cluster/services/dns/client.nix
Normal file
5
cluster/services/dns/client.nix
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
{ cluster, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
networking.nameservers = [ cluster.config.links.dnsResolver.ipv4 ];
|
||||||
|
}
|
|
@ -19,6 +19,7 @@ in
|
||||||
master = [ "VEGAS" ];
|
master = [ "VEGAS" ];
|
||||||
slave = [ "prophet" ];
|
slave = [ "prophet" ];
|
||||||
coredns = [ "VEGAS" ];
|
coredns = [ "VEGAS" ];
|
||||||
|
client = [ "VEGAS" "prophet" ];
|
||||||
};
|
};
|
||||||
nixos = {
|
nixos = {
|
||||||
master = [
|
master = [
|
||||||
|
@ -27,6 +28,7 @@ in
|
||||||
];
|
];
|
||||||
slave = ./authoritative.nix;
|
slave = ./authoritative.nix;
|
||||||
coredns = ./coredns.nix;
|
coredns = ./coredns.nix;
|
||||||
|
client = ./client.nix;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue