Get the ip set of a domain as many as possible and as soon as possible.
.|-- conf # configuration dir
|
|-- nameservers.txt # DNS server list
| `-- work_nodes.txt # worker nodes list
|-- getIP_distributed.sh # multi-nodes version
|-- getIP.go # single-node version
|-- getIP.sh # single-node version
|-- job.sh
|-- LICENSE
|-- README.md
|-- result # result dir
`-- tmp # tmp dir
https://winway.github.io/2018/06/14/domain2ip/
bash < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer)
gvm install go1.16
gvm use go1.16 [--default]
yum install libpcap libpcap-devel -y
###初始化项目 并安装第三方package
go mod init domain2IP
go get github.com/google/gopacket
go get github.com/google/gopacket/layers
go get github.com/google/gopacket/pcap
###查询域名
go run getIP.go --url github.com