import java.net.*;

public class IPReverseTest {
	public static void main (String[] args) {
		try {
			InetAddress ia = InetAddress.getByName("192.168.10.105");
			System.out.println(ia.getHostName());
		}
		catch (Exception ex) {
			System.err.println("does not fine hostname");
		}
	}
}