DNSProxyProvider and launchDaemons

can the launch daemon using network extension API like DNSProxyProvider?

I’m not sure what you’re asking here, so lemme outline some factoids:

  • On macOS, a DNS proxy provider must be packaged as a system extension. See TN3134 Network Extension provider deployment.

  • System extensions must be embedded within an app.

  • A launchd daemon is not an app, so you can’t embed a system extension within that.

  • A running system extension is more-or-less equivalent to a launchd daemon, so it’s reasonable to use your system extension for both your daemon functionality and your DNS proxy provider [1].

  • Once a DNS proxy provider is up and running, it affects all processes on the system, including any launchd daemons you might have installed.

If that doesn’t clear things up, please clarify your question.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

[1] There are some caveats here, depending on exactly what sort of daemon-ish functionality you need to deploy.

DNSProxyProvider and launchDaemons
 
 
Q