From 22399a23b36083e6427cc0251c3257e2ef52e7f8 Mon Sep 17 00:00:00 2001 From: Tigor Hutasuhut Date: Fri, 14 Jun 2024 20:03:30 +0700 Subject: [PATCH] stubby: update config --- system/services/stubby.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/system/services/stubby.nix b/system/services/stubby.nix index e1b1daa..d413efa 100644 --- a/system/services/stubby.nix +++ b/system/services/stubby.nix @@ -5,12 +5,18 @@ let in { config = mkIf cfg.enable { + networking.resolvconf.useLocalResolver = true; services.stubby = { enable = true; settings = pkgs.stubby.passthru.settingsExample // { + listen_addresses = [ + "0.0.0.0@53" + "0::0" + ]; upstream_recursive_servers = [ { address_data = "1.1.1.1"; + tls_port = 853; tls_auth_name = "cloudflare-dns.com"; } ];