VPN assigned DNS servers do not show up in resolv.conf
I am running Ubuntu 22.10 and Forticlient 7.0.7.0246. When I establish VPN, name resolution does not work. I see the problem is that VPN DNS addresses are not showing up in the resolv.conf file as well as the search suffixes. I have created a script that after establishing VPN, I copy over resolv.conf with a resolv.conf that has the correct DNS servers and search suffixes. Once I disconnect, the resolv.conf is restored to the original file.
When connected to VPN, resolvectl shows the correct addresses:
ink 3 (wlp2s0) Current Scopes: DNS Protocols: +DefaultRoute +LLMNR -mDNS -DNSOverTLS DNSSEC=no/unsupported Current DNS Server: 10.200.11.69 DNS Servers: 10.200.11.69 10.104.3.23
Note that above does not show the search suffixes which are assigned by the VPN server.
Resolution test fails when I run the following with message "resolve call failed: 'name.mydomain.org' not found:
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.