Network Extension App-Proxy DNS Flow Irregularities

Hi,


I am trying to get the DNS flow working using app-proxy extension. I get the DNS query flow for Google Chrome when it is launched. I am using on-demand VPN.

Also, DNS response is written successfully to the corresponding NEAppProxyUDPFlow. But after this I stop getting the DNS and TCP flows.


I have also created the very simple application which just raises DNS queries using gethostbyname and CFHost APIs. Even for this application I only get the DNS flow when the application launches the VPN connection. The moment I write the response back to the flow, I stop getting the DNS queries for next gethostbyname and CFHost API calls. I have to restart the VPN connection before I see DNS flows again.


I think somehow DNS settings are reset on the app-proxy VPN connection.

Please comment if anybody also faced the same issue and found the solution 🙂