No DNS in client

Business solution to host your own OpenVPN server with web management interface and bundled clients.
Post Reply
bastiaan
OpenVpn Newbie
Posts: 1
Joined: Tue Jun 22, 2021 9:33 am

No DNS in client

Post by bastiaan » Tue Jun 22, 2021 9:41 am

I'm setting up OpenVPNas 2.8.8 (upgrade to 2.9 isn't working) but i noticed i did not get any DNS for the windows client. In the client log it says it is giving: dns_servers=[ip]

When checking for a DNS server it does not give any ip back. When performing nslookup to the internal DNS server it works, so no networking issue their.

I have configure my DNS address in 'VPN Settings'.

Anyone has any pointers for me?

User avatar
openvpn_inc
OpenVPN Inc.
Posts: 1332
Joined: Tue Feb 16, 2021 10:41 am

Re: No DNS in client

Post by openvpn_inc » Wed Jun 23, 2021 4:02 pm

Hi There,

What connect client version you are using?
Can you try changing your configuration on Access Server under CONFIGURATION >> VPN Settings >> DNS Settings and select "Have clients use specific DNS servers" and put on your primary and secondary DNS and try again?

You should be getting something like:

Code: Select all

netsh interface ip set dnsservers 9 static 8.8.8.8 register=primary validate=no
netsh interface ip add dnsservers 9 8.8.4.4 2 validate=no
NRPT::ActionCreate names=[.] dns_servers=[8.8.8.8,8.8.4.4]
ActionWFP openvpn_app_path=C:\Program Files\OpenVPN Connect\OpenVPNConnect.exe tap_index=9 enable=1
permit IPv4 DNS requests from OpenVPN app
permit IPv6 DNS requests from OpenVPN app
Also, I think it is much better if you just create a support ticket for this for us to work on it directly via our ticketing system?
bastiaan wrote:
Tue Jun 22, 2021 9:41 am
I'm setting up OpenVPNas 2.8.8 (upgrade to 2.9 isn't working) but i noticed i did not get any DNS for the windows client. In the client log it says it is giving: dns_servers=[ip]

When checking for a DNS server it does not give any ip back. When performing nslookup to the internal DNS server it works, so no networking issue their.

I have configure my DNS address in 'VPN Settings'.

Anyone has any pointers for me?
Regards,
Crowley
Image OpenVPN Inc.
Answers provided by OpenVPN Inc. staff members here are provided on a voluntary best-effort basis, and no rights can be claimed on the basis of answers posted in this public forum. If you wish to get official support from OpenVPN Inc. please use the official support ticket system: https://openvpn.net/support

Post Reply