Page 1 of 1

No DNS in client

Posted: Tue Jun 22, 2021 9:41 am
by bastiaan
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?

Re: No DNS in client

Posted: Wed Jun 23, 2021 4:02 pm
by openvpn_inc
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