wloe2gf 发表于 2024-8-25 19:58:36

IP反向解析查询的办法


    <div style="color: black; text-align: left; margin-bottom: 10px;">
      <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">上午在查看网站的<span style="color: black;">拜访</span>日志时,<span style="color: black;">发掘</span><span style="color: black;">非常多</span>来自搜索引擎蜘蛛的<span style="color: black;">拜访</span>记录,但有些记录<span style="color: black;">表示</span>这些蜘蛛索引了<span style="color: black;">有些</span>与前端不<span style="color: black;">关联</span>的文件,<span style="color: black;">乃至</span>有的文件<span style="color: black;">基本</span>不存在。为了验证这些蜘蛛的真假,就用IP反向解析<span style="color: black;">查找</span>的<span style="color: black;">办法</span>来<span style="color: black;">检测</span>一下它们IP被解析过的域名。</p>
      <h1 style="color: black; text-align: left; margin-bottom: 10px;">linux系统IP反向解析<span style="color: black;">查找</span>的<span style="color: black;">办法</span></h1>
      <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">liunx 系统下<span style="color: black;">能够</span><span style="color: black;">运用</span> host 命令来<span style="color: black;">查找</span>IP的反解析域名。</p>
      <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">例:</p>host 123.125.66.120
      <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">查找</span>结果:</p>120.66.125.123.in-addr.arpa domain name pointer baiduspider-123-125-66-120.crawl.baidu.com.
      <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/pgc-image/2e659174a33440af9c37692ead5c3637~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1725108857&amp;x-signature=YYDH5MLupNkfG5cBBwb52G07MDg%3D" style="width: 50%; margin-bottom: 20px;"></div>
      <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">ps:<span style="color: black;">因为</span>作者是在 centos 7.4 环境下测试的 host 命令,<span style="color: black;">显现</span>了错误</p>-bash: host: command not found
      <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">处理</span>此错误的<span style="color: black;">办法</span>:</p>yum install bind-utils
      <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">安装 bind-utils <span style="color: black;">就可</span></p>
      <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/pgc-image/2ba615df7a9549078d22f957ba657771~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1725108857&amp;x-signature=IQFWto40cc1sIxDsDiptd1gwMV0%3D" style="width: 50%; margin-bottom: 20px;"></div>
      <h1 style="color: black; text-align: left; margin-bottom: 10px;">windows 系统IP反向解析<span style="color: black;">查找</span>的<span style="color: black;">办法</span></h1>
      <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">在windows系统中,<span style="color: black;">能够</span><span style="color: black;">运用</span> nslookup ip 命令反查IP,<span style="color: black;">败兴</span>判断<span style="color: black;">是不是</span>来自真正的搜索引擎。</p>
      <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">命令代码:</p>nslookup 123.125.66.120
      <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">查找</span>结果:</p>
      <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">120.66.125.123.in-addr.arpa domain name pointer baiduspider-123-125-66-120.crawl.baidu.com.</p>
      <div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/pgc-image/fb469f7e77124fd3b5984053ce081ab6~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1725108857&amp;x-signature=nrYYddQuCHtGwkA9IdJGiQpE8xM%3D" style="width: 50%; margin-bottom: 20px;"></div>
      <h1 style="color: black; text-align: left; margin-bottom: 10px;">mac os 系统IP反向解析<span style="color: black;">查找</span>的<span style="color: black;">办法</span></h1>
      <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">网上说在 mac os系统中,<span style="color: black;">能够</span> dig 命令来反查IP<span style="color: black;">位置</span>的反解析域名,可在作者<span style="color: black;">实质</span>测试中,<span style="color: black;">发掘</span>并不行,可能我是用的虚拟机的问题,<span style="color: black;">因此</span>改用了 host 命令</p>
      <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;">例:</p>host 123.125.66.120
      <p style="font-size: 16px; color: black; line-height: 40px; text-align: left; margin-bottom: 15px;"><span style="color: black;">查找</span>结果:</p>120.66.125.123.in-addr.arpa domain name pointer baiduspider-123-125-66-120.crawl.baidu.com.<div style="color: black; text-align: left; margin-bottom: 10px;"><img src="https://p3-sign.toutiaoimg.com/pgc-image/fe189ea416f841ffbc90252bffd5b1c0~noop.image?_iz=58558&amp;from=article.pc_detail&amp;lk3s=953192f4&amp;x-expires=1725108857&amp;x-signature=QGUL%2BhfNCxahZm5uWZtdUALnqkE%3D" style="width: 50%; margin-bottom: 20px;"></div>
    </div>




7wu1wm0 发表于 2024-9-27 21:32:34

我赞同你的看法,你的智慧让人佩服,谢谢分享。

qzmjef 发表于 2024-9-28 08:13:09

对于这个问题,我有不同的看法...

7wu1wm0 发表于 2024-10-18 14:20:50

交流如星光璀璨,点亮思想夜空。

j8typz 发表于 2024-10-26 15:36:29

感谢楼主的分享!我学到了很多。
页: [1]
查看完整版本: IP反向解析查询的办法