Hello,
My question is:
**Is there an equivalent of NETransparentProxyProvider
for DNS requests?
**
Some context:
I have a working NETransparentProxyProvider
implementation that successfully handles traffic of apps in a list, leaving all the other apps to go through the default system routing (which means just returning false in handleNewFlow()
).
I would like to handle also the DNS requests of those same apps. So far it seems the only way is to use a NEDNSProxyProvider
.
Given my current design I do not handle traffic of apps I do not want to manage, but it seems that I would need to handle ALL system apps DNS request if I use a NEDNSProxyProvider
because returning false in handleNewFlow()
just closes the flow/connection (which seems like it is the same behaviour as NEAppProxyProvider
for traffic).
Am I misunderstanding something, is there any other way to achieve this result in another way?
Thank you,
Michele