IPv6 support

also, don't re-query all addresses after each failed address