igor@0: get_mx() igor@0: { igor@0: dig "$1" mx | grep -v '^;' | grep MX | sort -nk 5 | head -1 | awk '{print $6}' | sed s/.$// igor@0: } igor@0: get_ttl() igor@0: { igor@0: traceroute -q1 -n "$1" | grep ms | wc -l igor@0: } igor@0: get_location() igor@0: { igor@0: lynx -dump 'http://www.geoiptool.com/en/?IP='$1 | egrep 'Longitude|Latitude|City|Country|Region' igor@0: }