newrelic/rpm — pull request #115 by cluesque (2013-04-02 23:33:21+00:00)
Title: Do not attempt to resolve host IP address if proxy is in use

In an environment where hosts need to go through a proxy to get to newrelic, sometimes they don't have DNS at all.

The DNS resolution here is whiny about failure, which becomes a problem downstream (suddenly rake tasks produce output, which makes noise for logs, etc).

So don't even try to resolve the host if proxy is specified.