How to resolve local domains query through default DNS

I am integrated Network Extension in iOS platform in HnadleNewFlow method will get hostname and in API have list of Domains (text.abc, can.com,google.com)

If hostname will not match listDomains we consider as public domains and these domains will resolve by CustomDNS application

If hostname will match listDomains we consider as local domains we need to Reslove this query through DefaultDNS

Query : How to resolve local domains query through default DNS

Can you please help this

It sounds like you’re talking about a DNS proxy here. If so, be aware that, once the proxy is active, it’s responsible for resolving all the requests it receives. It can’t ‘return’ a request to the system.

It can, however, learn about the system’s DNS settings and forward the request there. See this post for some hints and tips about this.

Share and Enjoy

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

How to resolve local domains query through default DNS
 
 
Q