Java tutorial
import java.net.InetAddress; import java.net.NetworkInterface; public class ReportByAddress { static public void main(String args[]) throws Exception { InetAddress ia = InetAddress.getByName("www.google.ca"); NetworkInterface ni = NetworkInterface.getByInetAddress(ia); System.out.println(ni); } }