In this case, Nmap is also useful to read files that contain hosts and IPs inside.

Lets suppose you create a list.txt file that contains these lines inside:

192.168.1.106
cloudflare.com
microsoft.com
google.com

The -iL parameter lets you read from that file, and scan all those hosts for you:

nmap -iL list.txt