JAVA获得域名的IP地址
<br /> <br /> import java.net.InetAddress;<br /> import java.net.UnknownHostException;<br /> public class TestInetAddress {<br /> InetAddress myIpAddress = null;<br /> InetAddress[] myServer = null;<br />