OpenClash icon indicating copy to clipboard operation
OpenClash copied to clipboard

[Bug] DNS does not work on non-Clash networks.

Open TJT-JTJ opened this issue 1 year ago • 3 comments

Verify Steps

  • [X] Tracker 我已经在 Issue Tracker 中找过我要提出的问题
  • [X] Latest 我已经使用最新 Dev 版本测试过,问题依旧存在
  • [X] Core 这是 OpenClash 存在的问题,并非我所使用的 Clash 或 Meta 等内核的特定问题
  • [X] Meaningful 我提交的不是无意义的 催促更新或修复 请求

OpenClash Version

v0.45.119-beta

Bug on Environment

Official OpenWrt

Bug on Platform

Linux-arm64

To Reproduce

Two LANs on one device One proxied, one not (via white/black lists) OpenClash installed (doesn't matter if running or not)

Describe the Bug

The proxied network works fine with OpenClash The non-proxied network cannot use DNS, even with Clash disabled.

This issue was worse in v112, it was partially resolved and now dnsmasq runs, but DNS still doesn't work

OpenClash Log

No log issues

OpenClash Config

No response

Expected Behavior

DNS works

Screenshots

No response

TJT-JTJ avatar May 10 '23 13:05 TJT-JTJ

Check the dnsmasq option, and show me the contents of the file image

vernesong avatar May 18 '23 14:05 vernesong

Check the dnsmasq option, and show me the contents of the file image

这个忽略解析文件应不应该勾选呢?

yyysuo avatar May 19 '23 13:05 yyysuo

Check the dnsmasq option, and show me the contents of the file

# Interface proxy
nameserver 223.5.5.5
nameserver 4.2.2.4
nameserver 8.8.4.4
# Interface wan
nameserver 211.136.150.66
nameserver 211.136.112.50
# Interface wan_6
nameserver 2409:801e:2000::1
nameserver 2409:801e:2000::2



There is another interface called 'lan' which isn't here.

TJT-JTJ avatar May 19 '23 16:05 TJT-JTJ

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 5 days

github-actions[bot] avatar Jul 19 '23 08:07 github-actions[bot]