dns - Does c-ares support IOS? -
do c-ares support ios? need use c-ares in company's app running on ios. can't work correctly using "ares_gethostbyname()" , status code in callback function returns 11(ares_econnrefused) time . same code runs correctly on other opearting system such win32, android.
glancing on source code, found reason, is, c-ares unable dns servers on ios. because c-ares read file /etc/resolv.conf dns servers information, file not exist on ios.
so, c-ares support ios? or what's method on ios dns servers information?
i found a patch never merged master repo, posted in december 2014.
it'd great if try out , report on c-ares mailing list can work on getting merged , supported "officially".
/ awful c-ares maintainer :-(
Comments
Post a Comment