Hello, I’ve seen multiple topics regarding VPN issues but cannot find solution there.
I’ve created ovpn connection via NM gui.
Server could be resolved over both public DNS(expected 403) and DNS from VPN(the only way to get access to resource).
Use this connection only for resources on its network
is turned on.
Previously DNS from VPN was prioritized over system DNS with this checkbox turned on, but now it tries to resolve over system one first (which have no sense for my with my limited networking knowledge).
Route all DNS:
https://discussion.fedoraproject.org/t/systemd-resolved-not-querying-dns-server-set-by-openvpn/74961/2?u=vgaetera
Or use split DNS:
https://discussion.fedoraproject.org/t/dns-problems-after-upgrade-fedora-33/72289/4?u=vgaetera
How can I find VPN_ID?
See connection name:
nmcli connection show
It makes use DNS over VPN for all domains replacing resolvers from other connections.
If I understand correctly this command modify connection lowering dns priorities. If it’s true I should lover dns priorities for wired connection in order to use VPN first.
Apparently you need to use quotes or backslash to escape tilda when working in zsh.
Or run that command with bash.
Negative values have higher priority.
Indeed. Is there a declarative way to check DNS priorities?
resolvectl dns
resolvectl domain
The ~.
syntax is only known by resolvectl, you cannot use it in NetworkManager AFAIK.
No, it works, see: https://discussion.fedoraproject.org/t/systemd-resolved-not-querying-dns-server-set-by-openvpn/74961/4?u=vgaetera
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.