From 0d7734a9ee483f54e0c4fb95648a06dc98aca10e Mon Sep 17 00:00:00 2001 From: sefidel Date: Tue, 20 Feb 2024 21:45:51 +0900 Subject: feat(modules/blocky): use new upstreams method --- modules/services/blocky/default.nix | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/modules/services/blocky/default.nix b/modules/services/blocky/default.nix index f68ba71..5fafb5e 100644 --- a/modules/services/blocky/default.nix +++ b/modules/services/blocky/default.nix @@ -22,11 +22,13 @@ in http = 4000; }; - upstream.default = [ - "https://dns.quad9.net/dns-query" - "https://one.one.one.one/dns-query" - ]; - upstreamTimeout = "10s"; + upstreams = { + groups.default = [ + "https://dns.quad9.net/dns-query" + "https://one.one.one.one/dns-query" + ]; + timeout = "10s"; + }; # For initially solving DoH/DoT Requests when no system Resolver is available bootstrapDns = { -- cgit 1.4.1