objective-see / DNSMonitor

A DNS Monitor, leveraging Apple's NEDNSProxyProvider/Network Extension Framework
GNU General Public License v3.0
162 stars 19 forks source link

Is this DNSProxyProvider can use in iOS Network Extension. #1

Closed MaheshPatil86 closed 1 year ago

MaheshPatil86 commented 1 year ago

Hi,

Thanks for this source code.

We are working on app where we want to use NEDNSProxyProvider network extension for our iOS and MacOS app that filter out DNS ProxyQueries with TCP and UDP flow.

So I have following queries regarding this source code.

objective-see commented 1 year ago

I imagine that since NEDNSProxyProvider is also supported on iOS (11+), then yes - in theory, it should also work on iOS (though I have not tested this).

Yes, it should be fairly straightforward to create a UI for this. I'd recommend using XPC to send DNS events from system extension to a helper app (with a UI), running in/on the desktop user session.