revert: DNS_SERVER default back to udp://1.1.1.1

10.35.99.172 is a local-environment resolver, not suitable as a
public default. On networks where public UDP DNS is unreachable,
pass DNS_SERVER explicitly at runtime.
This commit is contained in:
2026-09-09 11:01:00 +03:00
parent 56f28099c8
commit e20f15d70b
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ def build_singbox_config(
socks_port: int = 1080,
socks_user: str = "",
socks_pass: str = "",
dns_server: str = "udp://10.35.99.172",
dns_server: str = "udp://1.1.1.1",
log_level: str = "info",
) -> Dict[str, Any]:
"""Build a complete sing-box JSON configuration.