Hotspot problem in 2 WAN (not load balancing)

My router environment is as follows.

Two network groups are configured on one router.

The first network
192.168.201.0/24
192.168.203.0/24
192.168.204.0/24
192.168.205.0/24
192.168.206.0/24
192.168.207.0/24
192.168.210.0/24
192.168.211.0/24

The above network is connected to the ISP through WAN 1.


The second network
172.16.0.0/22
172.16.4.0/22

The above network is connected to ISP through WAN 2.



Mangle Rule is as follows.

Address = 192.168.0.0 / 16 dst-address = 192.168.0.0 / 16 log = no log-prefix = “”

1 chain = prerouting action = mark-routing new-routing-mark = wan1 passthrough = yes src-address = 192.168.201.0/24 log = no
2 chain = prerouting action = mark-routing new-routing-mark = wan1 passthrough = yes src-address = 192.168.203.0/24 log = no
3 chain = prerouting action = mark-routing new-routing-mark = wan1 passthrough = yes src-address = 192.168.205.0/24 log = no
4 chain = prerouting action = mark-routing new-routing-mark = wan1 passthrough = yes src-address = 192.168.206.0/24 log = no
5 chain = prerouting action = mark-routing new-routing-mark = wan1 passthrough = yes src-address = 192.168.207.0/24 log = no
6 chain = prerouting action = mark-routing new-routing-mark = wan1 passthrough = yes src-address = 192.168.211.0/24 log = no
7 chain = prerouting action = mark-routing new-routing-mark = wan1 passthrough = yes src-address = 192.168.210.0/24 log = no
8 chain = prerouting action = mark-routing new-routing-mark = wan2 passthrough = yes src-address = 172.16.0.0/22
9 chain = prerouting action = mark-routing new-routing-mark = wan2 passthrough = yes src-address = 172.16.4.0/22​​


Then I set up a hotspot on the second network,

the problem is

The client connected to the hotspot can not connect to the DNS server.

If you try to connect to a specific site with an ip address, it will automatically go to the hotspot login page, but if you connect to a domain name, it will not be redirected.


When I remove the hotspot configuration, the client is able to connect to the DNS server well so that it can access the site.


What is the problem?