Hi,
I am building Transparent app proxy on 10.15.5. I setup DNS resolver in the app proxy.
NEDNSSettings *dnsSettings = [[NEDNSSettings alloc] initWithServers: dnsServerList];
NSString* TLD1 = @"com";
NSArray<NSString *> *dnsMatchDomainList = [NSArray arrayWithObjects: TLD1, nil];
dnsSettings.matchDomains = dnsMatchDomainList;
dnsSettings.domainName = @"gp.com";
settings.DNSSettings = dnsSettings;
getaddrinfo or DNSServiceGetAddrInfo is called later with any com domain(e.g. apple.com) from same system extension, getaddrinfo/DNSServiceGetAddrInfo gets blocked forever. The same result is with asynchrous DNSServiceGetAddrInfo calls.
Could you please help me guide to solve it?
Please note, if getaddrinfo is called from third party app, it works fine.