How to Obtain the IP Address and DNS Details for a domain in java