Can you pass stdin into unix host/dig command

Can you pass stdin into unix host/dig command


1.1.1.1
1.1.1.2
1.1.1.3
tail -f access.log | host -
tail -f access.log | xargs host
tail -f access.log | while read line; do host $line; done

No comments:

Post a Comment