You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
An investigation showed that adding the additional kDNSServiceFlagsReturnIntermediates, to the DNSServiceQueryRecord invocation fixes the delay problem. However, now the code has to handle the possibility that CNAME gets returned instead of the requested record type, thus requiring it to inspect the rrclass and rrtype returned to the innermost handler here. If CNAME is returned, the desired query should be repeated on that CNAME, otherwise an error should be generated.
PRs welcome if someone beats me to the implementation.