如何获取IP地址的主机名?

时间:2014-11-21 01:13:47

标签: php

就像这些网站的做法一样:

http://whatismyipaddress.com/ip-hostname

https://www.whatismyip.com/ip-address-host-name-lookup/

输入23.23.171.33会得到结果ec2-23-23-171-33.compute-1.amazonaws.com

PHP的gethostbyaddr()没有给出这个结果。 performe如何反向DNS查找?

0 个答案:

没有答案
相关问题