converting an IP address to host name

前端 未结 4 1802
臣服心动
臣服心动 2020-12-03 22:26

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

4条回答
  •  -上瘾入骨i
    2020-12-03 22:44

    What you're looking for is something called DNS. This project seems to be what you're looking for.

提交回复
热议问题