move ipv6 connectivity check from dnscore init to a reusable function in lcorelocalips