openfortivpn
openfortivpn copied to clipboard
DNS resolution fails on Ubuntu 24.04
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.
[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.
@oloukanov Thank you for providing the solution!