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" ];
|
||||
slave = [ "prophet" ];
|
||||
coredns = [ "VEGAS" ];
|
||||
client = [ "VEGAS" "prophet" ];
|
||||
};
|
||||
nixos = {
|
||||
master = [
|
||||
|
@ -27,6 +28,7 @@ in
|
|||
];
|
||||
slave = ./authoritative.nix;
|
||||
coredns = ./coredns.nix;
|
||||
client = ./client.nix;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue