10 lines
139 B
Bash
10 lines
139 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
for lineitem in $(grep -v ^# ~/notes/MasterDomList.md);
|
||
|
do
|
||
|
|
||
|
NAME=$lineitem
|
||
|
IP=$(dig +short $lineitem)
|
||
|
echo $NAME: $IP
|
||
|
done
|