Gate DNS forwarder on BlockInbound

This commit is contained in:
Viktor Liu
2026-05-25 12:57:38 +02:00
parent 0358be2313
commit e4e2a76adb

View File

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