Override DNS settings

Hi,



I want to redirect all DNS request to my DNS server. I have tried using NEEvaluateConnectionRule with matching domains as *.com. It works for all the .com urls but it is not working for other domains(eg., .org). Can you please tell is there any way to define all the domains instead of just *.com.


There are other way to do it using NEDNSProvider in iOS11. I have tried it and able to receive NEAppProxyFlow object in DNS Provider extension handlenewflow method for all the DNS Requests but dont know what to do next. I dont know how to send the datagram to DNS server.


Can you please help?



Thanks in advance.

Add a Comment

Replies

I responded on the other thread you posted on.

Share and Enjoy

Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware

let myEmail = "eskimo" + "1" + "@apple.com"