When building for Apple operating systems rk_dns_lookup() must
use dns_search() instead of res_search(). Although res_search()
is available, it only issues queries using the /etc/resolv.conf
configuration. Whereas dns_search() will issue the query against
alternate resolver configurations such as those created by VPN
services.