If you want to capture DNS traffic, use a DNS proxy provider.
But isn't using the DNS proxy provider requires a special permission from Apple? I'm developing an SDK that will be used as by 3rd party clients. This is why I decided to go with the Packet Tunnel provider instead.
Topic:
App & System Services
SubTopic:
Core OS
Tags: