openfortivpn icon indicating copy to clipboard operation
openfortivpn copied to clipboard

DNS resolution fails on Ubuntu 24.04

Open oloukanov opened this issue 1 year ago • 1 comments

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 avatar Jul 25 '24 20:07 oloukanov

[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 avatar Jul 26 '24 00:07 oloukanov

@oloukanov Thank you for providing the solution!

justalinuxuser1337 avatar May 27 '25 14:05 justalinuxuser1337