http://ifconfig.me/host for the hostname is a great option I wished curlmyip.com had
Reply on news.ycombinator.com