perl中获取某个域名的全部ip #!/usr/bin/perlmy @dns=`nslookup www.baidu.com `;@ip;@iptable;for(2..$#dns){ $row = $dns[$_]; if($row =~ /\d+/) { $row =~ /(\d+\.\d+\.\d+\.\d+)/; push @ip, $1; }}foreach (@... Other 2023-09-01 37 点赞 0 评论 56 浏览