Hi
I am developing NEDNSProxyProvider System Extension on macOS 10.15+.
My solution is monitor the DNS request and apply the policy based on domains in DNS request.
The challenge is, NEDNSProxyProvider DNS Proxy does not flush existing DNS cache at start up of DNS Proxy. Therefore, Cached DNS requests are used by Apps, until DNS cache entry is expired.
Due to this reason, my Application loses the visibility.
"killall -HUP mDNSResponder" is not helping due to NEDNSProxyProvider Sandboxing.
Is there anyway to flush the system DNS cache in NEDNSProxyProvider?
Thanks
I am developing NEDNSProxyProvider System Extension on macOS 10.15+.
My solution is monitor the DNS request and apply the policy based on domains in DNS request.
The challenge is, NEDNSProxyProvider DNS Proxy does not flush existing DNS cache at start up of DNS Proxy. Therefore, Cached DNS requests are used by Apps, until DNS cache entry is expired.
Due to this reason, my Application loses the visibility.
"killall -HUP mDNSResponder" is not helping due to NEDNSProxyProvider Sandboxing.
Is there anyway to flush the system DNS cache in NEDNSProxyProvider?
Thanks