Skip to content

Commit aa24338

Browse files
committed
TUN-4832: Prevent tunnel from running accidentally when only proxy-dns should run
1 parent 0924549 commit aa24338

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/cloudflared/tunnel/cmd.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ func TunnelCommand(c *cli.Context) error {
165165

166166
// Unauthenticated named tunnel on <random>.<quick-tunnels-service>.com
167167
// For now, default to legacy setup unless quick-service is specified
168-
if c.String("hostname") == "" && c.String("quick-service") != "" {
168+
if !dnsProxyStandAlone(c, nil) && c.String("hostname") == "" && c.String("quick-service") != "" {
169169
return RunQuickTunnel(sc)
170170
}
171171

0 commit comments

Comments
 (0)