IOS How do I send all DNS traffic to pass through the built-in DNS VPN server?

When the VPN connection is established, the DNS servers configured by ISP will be in the first list of resolvers (the list contains domains and name servers).

DNS servers configured with a VPN connection will be on the second list of resolvers. If I configured xyz.com as a domain suffix, then a DNS query for any abc.xyz.com will be resolved. But when a user tries to access other internal sites, for example pqr.com (not configured domain), he will not be allowed.

Are there any correct APIs for updating the list of DNS servers (without root privileges), as well as sending all DNS traffic to a configured DNS DNS server?

+4
source share

Source: https://habr.com/ru/post/1680850/


All Articles