adrienverge / openfortivpn

Client for PPP+TLS VPN tunnel services
GNU General Public License v3.0
2.67k stars 320 forks source link

DNS resolution fails on Ubuntu 24.04 #1237

Open oloukanov opened 2 months ago

oloukanov commented 2 months ago

Recently upgraded from Ubuntu 23.10 to 24.04 and found that DNS resolution fails upon connection. Followed some recommendations/workarounds I've read at the Issues section but the only one that helps me is to issue the search domains by: sudo resolvectl domain ppp0 my.suffix1 my.suffix2

Is there a way to push the above via command switch? I use and prefer a one-line CLI to connect with openfortivpn.

Thanks.

oloukanov commented 2 months ago

[update]

For now, I solved my problem by adding the line: resolvectl domain ppp0 my.suffix1 my.suffix2 to the file /etc/ppp/ip-up.