Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- IPLIST="/home/user/Documents/dig/blmal_dns.txt"
- while read IP; do
- dig -x "$IP" +short | head -1
- done < "$IPLIST" > results.txt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement