cluster/services/consul: add recursors

This commit is contained in:
Max Headroom 2023-03-06 21:52:29 +01:00
parent ff09634883
commit 9b71bd9a59

View file

@ -16,6 +16,7 @@ in
extraConfig = { extraConfig = {
datacenter = "eu-central"; datacenter = "eu-central";
domain = "sd-magic.${domain}."; domain = "sd-magic.${domain}.";
recursors = [ "127.0.0.1" cluster.config.links.dnsResolver.ipv4 ];
server = true; server = true;
node_name = config.networking.hostName; node_name = config.networking.hostName;
bind_addr = hl.ipv4; bind_addr = hl.ipv4;