]> Sergey Matveev's repositories - sgmon.git/blob - helper/all-addrs
Cycle through all addresses
[sgmon.git] / helper / all-addrs
1 #!/bin/sh -e
2
3 for t in A AAAA ; do
4     host -t $t $1 | perl -lane 'print $F[$#F]'
5 done