Ruby 查询域名映射的所有IP地址

2014-11-30 0 129
Ruby 查询域名映射的所有IP地址
require 'resolv'

Resolv.each_address("http://www.google.com/") do |ip|
  puts ip
end

遇见资源网 ruby Ruby 查询域名映射的所有IP地址 http://www.ox520.com/16194.html

常见问题

相关文章

发表评论
暂无评论
官方客服团队

为您解决烦忧 - 24小时在线 专业服务