<small id='cCpPo'></small><noframes id='cCpPo'>

  • <i id='cCpPo'><tr id='cCpPo'><dt id='cCpPo'><q id='cCpPo'><span id='cCpPo'><b id='cCpPo'><form id='cCpPo'><ins id='cCpPo'></ins><ul id='cCpPo'></ul><sub id='cCpPo'></sub></form><legend id='cCpPo'></legend><bdo id='cCpPo'><pre id='cCpPo'><center id='cCpPo'></center></pre></bdo></b><th id='cCpPo'></th></span></q></dt></tr></i><div id='cCpPo'><tfoot id='cCpPo'></tfoot><dl id='cCpPo'><fieldset id='cCpPo'></fieldset></dl></div>

        <legend id='cCpPo'><style id='cCpPo'><dir id='cCpPo'><q id='cCpPo'></q></dir></style></legend>
      1. <tfoot id='cCpPo'></tfoot>
        • <bdo id='cCpPo'></bdo><ul id='cCpPo'></ul>

        我如何通过 PHP 知道 IP 的域?

        How I can know the Domain for an IP by PHP?(我如何通过 PHP 知道 IP 的域?)

        <small id='ZPEcn'></small><noframes id='ZPEcn'>

              • <bdo id='ZPEcn'></bdo><ul id='ZPEcn'></ul>

                <tfoot id='ZPEcn'></tfoot>
                <legend id='ZPEcn'><style id='ZPEcn'><dir id='ZPEcn'><q id='ZPEcn'></q></dir></style></legend>
                  <tbody id='ZPEcn'></tbody>
                • <i id='ZPEcn'><tr id='ZPEcn'><dt id='ZPEcn'><q id='ZPEcn'><span id='ZPEcn'><b id='ZPEcn'><form id='ZPEcn'><ins id='ZPEcn'></ins><ul id='ZPEcn'></ul><sub id='ZPEcn'></sub></form><legend id='ZPEcn'></legend><bdo id='ZPEcn'><pre id='ZPEcn'><center id='ZPEcn'></center></pre></bdo></b><th id='ZPEcn'></th></span></q></dt></tr></i><div id='ZPEcn'><tfoot id='ZPEcn'></tfoot><dl id='ZPEcn'><fieldset id='ZPEcn'></fieldset></dl></div>
                • 本文介绍了我如何通过 PHP 知道 IP 的域?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  如何通过 PHP 知道 IP 的域?

                  How I can know the Domain for an IP by PHP?

                  我用过这个代码

                  <?php
                    $hostname = gethostbyaddr($_SERVER['REMOTE_ADDR']);
                    echo $hostname;
                  ?>
                  

                  但它不能正常工作.例如:

                  But it doesn't work correctly. For example:

                  gethostbyaddr(62.75.138.253);
                  

                  域名是 earthwar.de 但正确答案是 German-proxy.de

                  domain name is earthwar.de but the correctly answer is german-proxy.de

                  请帮忙.

                  推荐答案

                  一个 IP 地址可以托管无限数量的域.gethostbyaddr 返回的域将提供来自该 IP 的 PTR DNS 记录的域名.反向 DNS 记录 (PTR) 将 IP 地址映射到一个或多个域名.

                  A single IP address can host a potentially unlimited number of domains. Domains returned by gethostbyaddr will give the domain name(s) from the PTR DNS records for that IP. A reverse DNS record (PTR) maps IP addresses to one or more domain names.

                  domaintools.com 就是这样一家提供 IP 地址域情报的公司.您可以为他们收集的此类信息付费.如果域名不在 PTR 记录中,那么您知道 IP 地址上有哪些域的唯一方法是尝试将域名解析为其 IP 地址并保留记录.AFIK 没有其他办法.

                  One such company that provides intelligence as far as domains on IP addresses is domaintools.com. You can pay for such information that they have harvested. If the domain name is not in the PTR record, then the only way you can know what domains are on an IP address is by attempting to resolve domain names to their IP addresses and keeping records. AFIK there is no other way.

                  请参阅反向 DNS 查找 和 域名工具反向IP查找

                  域名工具反向IP查询的数据都是基于他们的挖掘、收集和研究.

                  The data from the reverse IP lookup on domain tools is all based on their mining, collection and research.

                  这篇关于我如何通过 PHP 知道 IP 的域?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  DeepL的翻译效果还是很强大的,如果我们要用php实现DeepL翻译调用,该怎么办呢?以下是代码示例,希望能够帮到需要的朋友。 在这里需要注意,这个DeepL的账户和api申请比较难,不支持中国大陆申请,需要拥有香港或者海外信用卡才行,没账号的话,目前某宝可以
                  PHP通过phpspreadsheet导入Excel日期,导入系统后,全部变为了4开头的几位数字,这是为什么呢?原因很简单,将Excel的时间设置问文本,我们就能看到该日期本来的数值,上图对应的数值为: 要怎么解决呢?进行数据转换就行,这里可以封装方法,或者用第三方的
                  mediatemple - can#39;t send email using codeigniter(mediatemple - 无法使用 codeigniter 发送电子邮件)
                  Laravel Gmail Configuration Error(Laravel Gmail 配置错误)
                  Problem with using PHPMailer for SMTP(将 PHPMailer 用于 SMTP 的问题)
                  Issue on how to setup SMTP using PHPMailer in GoDaddy server(关于如何在 GoDaddy 服务器中使用 PHPMailer 设置 SMTP 的问题)

                  <small id='LGr2u'></small><noframes id='LGr2u'>

                        <legend id='LGr2u'><style id='LGr2u'><dir id='LGr2u'><q id='LGr2u'></q></dir></style></legend>
                        <tfoot id='LGr2u'></tfoot>

                          <tbody id='LGr2u'></tbody>
                        • <bdo id='LGr2u'></bdo><ul id='LGr2u'></ul>
                          <i id='LGr2u'><tr id='LGr2u'><dt id='LGr2u'><q id='LGr2u'><span id='LGr2u'><b id='LGr2u'><form id='LGr2u'><ins id='LGr2u'></ins><ul id='LGr2u'></ul><sub id='LGr2u'></sub></form><legend id='LGr2u'></legend><bdo id='LGr2u'><pre id='LGr2u'><center id='LGr2u'></center></pre></bdo></b><th id='LGr2u'></th></span></q></dt></tr></i><div id='LGr2u'><tfoot id='LGr2u'></tfoot><dl id='LGr2u'><fieldset id='LGr2u'></fieldset></dl></div>