Hi,
On 31/05/20 22:43, Andrea wrote:
Hi
I am using one of the express vpn configuration files and I have at
times issues with DNS.
Ubuntu 20.04
I simply call
sudo openvpn --config xyz
and most of the times it magically works. I am not sure how, but
routes and dns get set correctly.
In some cases the DNS do not work, either they have not been set (so I
sill use the ones from my ISP which are now unaccessible) or are set
to a bad address.
How do I debug this?
I can see this line in the log
Sun May 31 21:40:47 2020 PUSH: Received control message:
'PUSH_REPLY,redirect-gateway def1,dhcp-option DNS 10.171.0.1,comp-lzo
no,route 10.171.0.1,topology net30,ping 10,ping-restart 60,ifconfig
10.171.0.230 10.171.0.229,peer-id 52,cipher AES-256-GCM'
and I can ping 10.171.0.1 but nslookup does not work.
most likely you are using openvpn-systemd-resolved for this - if so,
check the script
/etc/openvpn/update-systemd-resolved
to see how it works. The OpenVPN binary itself does not do anything with
the received DNS settings - it just passes them along to a plugin or script.
HTH,
JJK
_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users
_______________________________________________
Openvpn-users mailing list
Openvpn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-users