域名批量解析,快速确认域名的存活性及IP地址,脚本中包含了具体的用法和简要说明 #!/usr/bin/env python # -*- coding:utf-8 -*- # python3.6 from socket import gethostbyname import argparse def domain_ip(openfile,out1,out2,out3): with open(openfile, 'r') as f: for line in f.readlines(): try: h…