From 9cc0e0ee20b899e47d3b2628619df62fe7d4f753 Mon Sep 17 00:00:00 2001 From: Sizhe Zhao Date: Thu, 14 Aug 2025 10:25:41 +0800 Subject: [PATCH] nixosTests.sing-box: add resolved --- nixos/tests/sing-box.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/nixos/tests/sing-box.nix b/nixos/tests/sing-box.nix index 26ac949f270d..0825684e0bed 100644 --- a/nixos/tests/sing-box.nix +++ b/nixos/tests/sing-box.nix @@ -450,6 +450,12 @@ in tag = "dns:fakeip"; inet4_range = "198.18.0.0/16"; } + { + type = "resolved"; + tag = "dns:resolved"; + service = "service:resolved"; + accept_default_resolvers = true; + } ]; rules = [ { @@ -488,6 +494,12 @@ in } ]; }; + services = [ + { + type = "resolved"; + tag = "service:resolved"; + } + ]; }; }; };