I am using cocoa async library. This library communicates by opening a socket after performing a DNS query first.
However, I cannot perform dns queries because I am c