cap_gethostbyname2
hp = cap_gethostbyname2(capdns, source, AF_INET);
hp = cap_gethostbyname2(capdns, target, AF_INET);