In my java application if user enters the IP we need to display the host name, if host name is given then we need to display the IP of the host.
For example if user enters an IP address like 173.194.36.37
application should display google.com
and vice verse.
Are there any utilities available to perform this operation?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…