#!/bin/bash
echo '== PTR:'
getent hosts 69.194.131.119
getent hosts 69.194.131.116
echo '== whois net:'
whois 69.194.131.119 2>/dev/null | grep -aiE 'netname|orgname|descr|customer' | head -5
echo '== guesses:'
for h in atlas-qa.va.gov atlasqa.va.gov remoteatlasqa.va.gov rss-qa.bd.com atlas.qa.bd.com support-qa.bd.com; do
  a=$(getent hosts $h | awk '{print $1}')
  [ -n "$a" ] && echo "$h -> $a"
done
echo R2DONE
