DNS resolve times out after being connected for 4 seconds and ping goes up.

Description of problem:

When a client connects to the vpn after approx 4 seconds the dns resolution becomes very unstable and the ping goes up.
This behaviour is consistent, meaning it is replicated all the time.

Version of ocserv used:

ocserv 1.12 (debian testing)

Client used:

Windows 10 Pro x64
Cisco AnyConnect Secure Mobility Client 4.9.00086

Distributor of ocserv

Debian Buster / Testing

How reproducible:

Describe the steps to reproduce the issue:

1.) Friend connects to VPN

2.) Friend auths via RADIUS successfully image

3.) Friend is connected

image

4.) Friend does a nslookup to an internal server

image

Actual results:

image

Expected results:

image

The nslookup should work like in the image above, however it does not. Two DNS Servers are configured 10.0.0.3 & 10.0.0.4

vpn-server can nslookup them just fine:

image

complete config, radiusclient.conf and complete output of ocserv --version https://gist.github.com/Aebian/df1656588958234c6ddbde56055482d0

Edited by Alexander / Aebian