On Tue, 2017-10-03 at 13:07 +0200, Daniel Wagner wrote:
On 10/02/2017 03:08 PM, Patrik Flykt wrote:
> Actually, if we leave resolver.c as it is, and instead
> compile src/dnsproxy.c or src/systemd-resolved.c, wouldn't that
> most of the code changes in a cleaner way? The "API" would then be
> connman_dnsproxy_* functions in connman.h, that could then move to
> /include instead?
I like this idea.
BTW, do we want to support both resolve mechanism at the same time?
not we could have a configure switch and don't have to introduce a
command line option. Furthermore, we don't increase the size of
for everyone unnecessarily.
Ok, I did a first attempt in how this idea might look like in code. The
patches contain only the systemd-resolved DNS integration. Let's do the
mDNS stuff only when this is done so that we don't have too many balls
in the air at the same time.