|
|
|
|
|
by godelski
614 days ago
|
|
The mouse is the hard way. OP could have solved their problem by rtfming... It is literally the first paragraph on DNS. We're talking about "turn it off and on again" style issues. Before you reach for GPT, check the man pages and check the Arch wiki, you'll save a lot of time and get more information. https://wiki.archlinux.org/title/OpenVPN#DNS |
|
Anyway, NetworkManager can be managed using cli for those that insist, so all that was needed was:
Even Arch wiki says:> By default networkmanager-openvpn plugin appends DNS servers provided by OpenVPN to /etc/resolv.conf.
(which is not really true. Yes, it does the right thing with DNS info, but the specific action depends on the resolver backend NetworkManager is configured to use; for systemd-resolved and dnsmasq it configures these services instead).