For some stupid reason I can't bare to see that done in 3 lines.
whois $(dig +short A $(dig +short MX purelymail.com | head -n 1) | head -n 1) whois $(dig +short A $(dig +short MX purelymail.com | head -n 1) | head -n 1)