CNWHUD/shell-frags/dnsCheck.sh

8 lines
138 B
Bash
Raw Normal View History

#!/bin/bash
for vmName in $(cat proxVmList); do
IP="$(dig +short $vmName.turnsys.net)"
echo VmName: $vmName IP: $IP
done