use adns to resolve ipv6 address (c)