[client] Gate DNS forwarder on BlockInbound (#6257)

This commit is contained in:
Viktor Liu
2026-06-03 18:33:29 +09:00
committed by GitHub
parent 2b57a7d43b
commit a48c20d8d8

View File

@@ -2216,7 +2216,7 @@ func (e *Engine) updateDNSForwarder(
enabled bool,
fwdEntries []*dnsfwd.ForwarderEntry,
) {
if e.config.DisableServerRoutes {
if e.config.DisableServerRoutes || e.config.BlockInbound {
return
}