v2Ray for OpenWRT connection OK but DNS won't work

Hello,

I have installed OpenWRT on my router, and since WireGuard does not work very well in China and I switched to v2Ray plugin. It installed smoothly, I get decent speed with v2Ray, but the DNS do not work properly. For example, Vivaldi browser and Edge (which both use my Windows system DNS) cannot connect to internet. Yandex Browser (which use its own integrated DNS service) can connect...

When other devices connect to the router, iPhone or Game console, they also have issues (cannot connect or connection drop immediately... DNS issue?)

How can I fix this?

Should I fix this DNS issue with v2Ray settings (there is v2RAY-DNS tab, see attached picture)
Or should I change the luci LAN interface settings? (I've tried to set LAN DNS using google DNS, CloudFlare DNS etc. but without any effect)
Or should I change the settings in OpenWRT "DNS and DCHP" tab? than how?

I'd like to share the v2Ray log but I do not know how to access and copy the log located in "/var/log/v2ray.log"... Is there any SSH command to access the log in var directory?

I could reach the log and downloaded it.


root@OpenWrt:/tmp/log# cat v2ray-error.log
2022/02/05 11:29:59 [Warning] V2Ray 4.42.2 started
2022/02/05 11:30:00 [Warning] [3863296038] app/dispatcher: non existing tag: direct
2022/02/05 11:30:00 [Warning] [4137508568] app/dispatcher: non existing tag: direct
2022/02/05 11:30:00 [Warning] [4263556314] app/dispatcher: non existing tag: direct
2022/02/05 11:30:00 [Warning] [4027195917] app/dispatcher: non existing tag: direct
2022/02/05 11:30:00 [Warning] [1112476086] app/dispatcher: non existing tag: direct
2022/02/05 11:30:00 [Warning] [2089720012] app/dispatcher: non existing tag: direct
2022/02/05 11:30:00 [Warning] [2314877167] app/dispatcher: non existing tag: direct
2022/02/05 11:30:00 [Warning] [1833840666] app/dispatcher: non existing tag: direct
2022/02/05 11:30:00 [Warning] [3705772662] app/dispatcher: non existing tag: direct
2022/02/05 11:30:01 [Warning] [958010197] app/dispatcher: non existing tag: direct
2022/02/05 11:30:01 [Warning] [3858348822] app/dispatcher: non existing tag: direct
2022/02/05 11:30:01 [Warning] [3599949633] app/dispatcher: non existing tag: direct
2022/02/05 11:30:02 [Warning] app/dispatcher: non existing tag: proxy
2022/02/05 11:30:02 [Warning] [4176916167] app/dispatcher: non existing tag: direct
2022/02/05 11:30:02 [Warning] [2982454085] app/dispatcher: non existing tag: direct
2022/02/05 11:30:02 [Warning] [2954883331] app/dispatcher: non existing tag: direct
2022/02/05 11:30:02 [Warning] [3254106425] app/dispatcher: non existing tag: direct
2022/02/05 11:30:02 [Warning] [4181212374] app/dispatcher: non existing tag: direct
2022/02/05 11:30:02 [Warning] [737554026] app/dispatcher: non existing tag: direct
2022/02/05 11:30:02 [Warning] [547337428] app/dispatcher: non existing tag: direct
2022/02/05 11:30:02 [Warning] [4048110802] app/dispatcher: non existing tag: direct
2022/02/05 11:30:02 [Warning] [3644801831] app/dispatcher: non existing tag: direct
2022/02/05 11:30:02 [Warning] [793418424] app/dispatcher: non existing tag: direct
2022/02/05 11:30:02 [Warning] [2236105432] app/dispatcher: non existing tag: direct
2022/02/05 11:30:02 [Warning] [1042129388] app/dispatcher: non existing tag: direct
2022/02/05 11:30:04 [Warning] [4033605846] app/dispatcher: non existing tag: direct
2022/02/05 11:30:04 [Warning] [3642926774] app/dispatcher: non existing tag: direct
2022/02/05 11:30:04 [Warning] [626745893] app/dispatcher: non existing tag: direct
2022/02/05 11:30:04 [Warning] [3149067986] app/dispatcher: non existing tag: direct
2022/02/05 11:30:04 [Warning] [1586183878] app/dispatcher: non existing tag: direct
2022/02/05 11:30:04 [Warning] [2340605464] app/dispatcher: non existing tag: direct
2022/02/05 11:30:04 [Warning] [1423349729] app/dispatcher: non existing tag: direct
2022/02/05 11:30:04 [Warning] [1076721773] app/dispatcher: non existing tag: direct
2022/02/05 11:30:05 [Warning] [3581509346] app/dispatcher: non existing tag: direct
2022/02/05 12:35:15 [Warning] [4225278311] app/dispatcher: non existing tag: direct
2022/02/05 12:35:15 [Warning] [853870402] app/dispatcher: non existing tag: direct
2022/02/05 12:35:15 [Warning] [2709598252] app/dispatcher: non existing tag: direct
2022/02/05 12:35:15 [Warning] [1405969131] app/dispatcher: non existing tag: direct
2022/02/05 12:35:15 [Warning] [3547479985] app/dispatcher: non existing tag: direct
2022/02/05 12:35:15 [Warning] [595701872] app/dispatcher: non existing tag: direct
2022/02/05 12:35:16 [Warning] app/dispatcher: non existing tag: proxy
2022/02/05 12:35:17 [Warning] [3801896572] app/dispatcher: non existing tag: direct
2022/02/05 12:35:17 [Warning] [3468884398] app/dispatcher: non existing tag: direct
2022/02/05 12:35:18 [Warning] [1416815241] app/proxyman/outbound: failed to process outbound traffic > proxy/vmess/outbound: failed to find an available destination > common/retry: [transport/internet/websocket: failed to dial WebSocket > transport/internet/websocket: failed to dial to (wss://153.120.51.23/ray):  > dial tcp 153.120.51.23:443: operation was canceled] > common/retry: all retry attempts failed
2022/02/05 12:35:19 [Warning] [3395249203] app/dispatcher: non existing tag: direct
2022/02/05 12:35:19 [Warning] [1917474384] app/dispatcher: non existing tag: direct
2022/02/05 12:35:19 [Warning] [194430354] app/dispatcher: non existing tag: direct
2022/02/05 12:35:20 [Warning] app/dispatcher: non existing tag: proxy
2022/02/05 12:35:21 [Warning] [1812750289] app/dispatcher: non existing tag: direct
2022/02/05 12:35:23 [Warning] [3750350264] app/dispatcher: non existing tag: direct
2022/02/05 12:35:23 [Warning] [1835224994] app/dispatcher: non existing tag: direct
2022/02/05 12:35:23 [Warning] [3803453764] app/dispatcher: non existing tag: direct
2022/02/05 12:35:23 [Warning] [1935837634] app/dispatcher: non existing tag: direct
2022/02/05 12:35:24 [Warning] [3719273313] app/dispatcher: non existing tag: direct
2022/02/05 12:35:24 [Warning] [3403213152] app/dispatcher: non existing tag: direct
2022/02/05 12:35:24 [Warning] [1018228934] app/dispatcher: non existing tag: direct
2022/02/05 12:35:25 [Warning] [558646841] app/dispatcher: non existing tag: direct
2022/02/05 12:35:25 [Warning] [3814861168] app/dispatcher: non existing tag: direct
2022/02/05 12:35:28 [Warning] [2534448965] app/dispatcher: non existing tag: direct
2022/02/05 12:35:30 [Warning] [1320248654] app/dispatcher: non existing tag: direct
2022/02/05 12:35:36 [Warning] [1756117643] app/dispatcher: non existing tag: direct
2022/02/05 12:35:42 [Warning] [1983382435] app/dispatcher: non existing tag: direct
2022/02/05 12:35:42 [Warning] [1327090091] app/dispatcher: non existing tag: direct
2022/02/05 12:35:42 [Warning] [4094108247] app/dispatcher: non existing tag: direct
2022/02/05 12:35:43 [Warning] [201240910] app/dispatcher: non existing tag: direct
2022/02/05 12:35:46 [Warning] app/dispatcher: non existing tag: proxy
2022/02/05 12:35:49 [Warning] [224955071] app/dispatcher: non existing tag: direct
2022/02/05 12:35:53 [Warning] [387317151] app/dispatcher: non existing tag: direct
2022/02/05 12:35:54 [Warning] app/dispatcher: non existing tag: proxy

The log is too long, but the content is almost the same...