for i in `cat domain.txt` ; do echo -e "$i \t" --- `dig @223.5.5.5 $i +short ` ;done
其中@223.5.5.5 代表使用阿里dns查询域名解析,可以修改为其他的,比如8.8.8.8或者114.114.114.114for i in `cat domain.txt` ; do echo -e "$i \t" --- `dig @223.5.5.5 $i +short ` ;done
其中@223.5.5.5 代表使用阿里dns查询域名解析,可以修改为其他的,比如8.8.8.8或者114.114.114.114批量查询域名解析脚本
https://www.hao.kim/archives/446.html