code: private String getHostName(InetSocketAddress address) {
          return configuration.getAsBoolean(ConfigKey.ALLOW_DNS_REVERSE_LOOKUP) ? address.getHostName() : null;
      }
docs: Return hostnmae of given address, but only when reverse DNS lookups are allowed