accomodate some of the weirder dns resolvers for ipv4 and v6