Custom DNS is not working with a VPN Client
Hello everybody,
I'm working on a 60F Fortigate.
I have an internal domain called vpn.xxx.com. I set some custom DNS records to redirect the request to vpn.xxx.com to a specific machine. The interface we are working on is the Wi-Fi interface.
 
From the picture, 192.168.1.1 is the router. So far, so good. Everything is working. My network settings are:


 
 If I ping vpn.xxx.com:
 10.1.0.1 replies correctly

Now I connect to a VPN Client. The network settings I showed before remain the same. The difference, now is that 10.1.0.1 is not the one ho replies to the ping. Now, 79.x.x.x replies to the ping:

and vpn.xxx.com is not reacheable anymore. Who is 79.x.x. x? Is the WAN interface of the Fortigate:

Now, you cou ld say that the problem is the VPN, that probably changes some DNS stuff. It could be right, but there is only one problem. If I disconnect from the Wi-Fi (on wich are set DNS custom records) and connect to my phone hotspot and to the VPN Client, vpn.xxx.com is reacheable again.
To the ping, 79.x.x.x replies correctly and vpn.xxx.com is correctly functioning.
What's happening? Thank you very much for your support!
 
