查看Google Cloud的IP地址段

for LINE in `dig txt _cloud-netblocks.googleusercontent.com +short | tr " " "\n" | grep include | cut -f 2 -d :`

do

 dig txt $LINE +short

done | tr " " "\n" | grep ip4  | cut -f 2 -d : | sort -n

posted @ 2018-12-25 11:34  衡子  阅读(881)  评论(0编辑  收藏  举报