In this case, Nmap is also useful to read files that contain hosts and IPs inside.
Let’s suppose you create a list.txt file that contains these lines inside:
192.168.8.110 cloudflare.com microsoft.com amazon.com
The “-iL” parameter lets you read from that file, and scan all those hosts for you:
nmap -iL list.txt