use InetAddress lookup once in core, improve Mac JDK 1.7 DNS time