Hi Quinn,
I worked through it progressively like you suggested and I was able to route UDP traffic and receive a response.
The problem I see now is that I can't use the systems DNS resolver. It seems if I capture all the traffic:
settings.ipv4Settings?.includedRoutes = [NEIPv4Route.default()]
then I MUST set the DNS settings:
let dnsSettings = NEDNSSettings(servers: [DNS_SERVER])
settings.dnsSettings = dnsSettings
I thought if I set:
dnsSettings.matchDomains = [""]
then DNS_SERVER will only be used for the domains in the matchDomains list and the system resolver used for everything else but this doesn't seem to be the case.
Is this a bug?
Thanks,
Dave
Topic:
App & System Services
SubTopic:
Networking
Tags: