- Store resolver in Box struct, close on shutdown (prevents socket/goroutine leak) - Add Resolver.Close() method - Fix detour closure capturing loop variable (all detours pointed to last outbound) - Default DNS fallback when no servers configured (223.5.5.5 + 8.8.8.8:853) - Redact Tailscale auth keys and VLESS credentials from test configs
36 lines
588 B
JSON
36 lines
588 B
JSON
{
|
|
"log": {
|
|
"level": "info"
|
|
},
|
|
"inbounds": [
|
|
{
|
|
"type": "mixed",
|
|
"tag": "mixed-in",
|
|
"listen": "127.0.0.1",
|
|
"listen_port": 18891
|
|
}
|
|
],
|
|
"outbounds": [
|
|
{
|
|
"type": "direct",
|
|
"tag": "direct"
|
|
},
|
|
{
|
|
"type": "tailscale",
|
|
"tag": "tailnet",
|
|
"auth_key": "tskey-auth-REDACTED",
|
|
"hostname": "mini-sing-test",
|
|
"state_directory": "/tmp/mini-sing-ts"
|
|
}
|
|
],
|
|
"route": {
|
|
"rules": [
|
|
{
|
|
"ip_cidr": ["100.64.0.0/10"],
|
|
"outbound": "tailnet"
|
|
}
|
|
],
|
|
"final": "direct"
|
|
}
|
|
}
|