What is the best way to get SOA record from the specific DNS server? I have an array of servers and need to ask randomly one of them about SOA record of some host.
I need this to be working on iOS and be approved by apple.
PS This is not quite what I need since I cannot specify suctom DNS IP here - Objective-C: DNS TXT Record
UPDATE:
Found this solution: http://www.software7.com/blog/programmatically-query-specific-dns-servers-on-ios/ It is exactly what I need except lib resolv doesn't compiled for arm64 :(
UPDATE 2: Previous link works; I just forgot to link a library. Will post this as an answer