OpenVPN issues with Dynamic DNS

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
Bilbowski
OpenVpn Newbie
Posts: 2
Joined: Sun Oct 02, 2016 3:54 pm

OpenVPN issues with Dynamic DNS

Post by Bilbowski » Sun Oct 02, 2016 4:24 pm

Hi I wonder if anyone can help. I have recently set up my raspberry pi as a vpn server and having issues connecting to it. I have imported the oven profile successfully into the app via iTunes but when i try to connect I receive error:

"EVENT:RESOLVE 2016-10-02 17:00:28 2016-10-02 17:00:28 Transport Error:DNS resolve error on UDP Session:Host not found (authoritative) 17:00:28 2016-10-02 17:00:28 17:00:28 2016-10-02 17:00:28 Client terminated restarting in 2."

I have set up dynamic DNS using changeip service and have run ddclient which has updated my external IP correctly according the the ddclient log below:-

ct 2 12:56:39 Pi3 ddclient[1003]: SUCCESS: updating <mydomain>.dynamic-dns.net: good: IP address set to ##.###.###.### Note: the domain and IP are correct.

My OVPN profile is below (minus certificates and keys) I have also confirmed that remote domain is correct in this profile so i am stuck now on what the problem maybe? grateful if someone could advise further.


OVPN profile:

client
dev tun
proto udp
remote [<mydomain>.dynamic-dns.net] 1194
resolv-retry infinite
nobind
persist-key
persist-tun
mute-replay-warnings
ns-cert-type server
key-direction 1
cipher AES-128-CBC
comp-lzo
verb 1
mute 20

<ca>
-----BEGIN CERTIFICATE-----
<certificate removed>
-----END CERTIFICATE-----
</ca>
<cert>
-----BEGIN CERTIFICATE-----
<certificate removed>
</cert>
<key>
-----BEGIN RSA PRIVATE KEY-----
Proc-Type: 4,ENCRYPTED
DEK-Info: DES-EDE3-CBC,2C7E5D6C23C39387
<key removed>
-----END RSA PRIVATE KEY-----
</key>
<tls-auth>
#
# 2048 bit OpenVPN static key
#
-----BEGIN OpenVPN Static key V1-----
<key removed>
-----END OpenVPN Static key V1-----
</tls-auth>

Post Reply