Feature Idea: Disable DNS reverse lookups?

Is it possible to disable DNS reverse lookups entirely in the Java APM agent?


New Relic edit:
  • I want this, too
  • I have more info to share (reply below)
  • I have a solution for this

0 voters

We take feature ideas seriously and our product managers review every one when plotting their roadmaps. However, there is no guarantee this feature will be implemented. This post ensures the idea is put on the table and discussed though. So please vote and share your extra details with our team.

There is not a configuration option at this time for that. Is the Java agent creating an issue that you have a use case for this function?

The agent on windows adds a couple seconds on the query overhead for any hosts that don’t have a reverse ptr setup in DNS on the com.newrelic.agent.tracers.DefaultsSqlTracer.provideConnection() call since it does a java.net.InetSockerAddress.getHostName() call
I don’t need the hostname, if it’s referenced by IP I know what it is.

@daniel.g1 I’ve used your last comment to create a Feature Request as there isn’t a currently available configuration option to meet your needs with that issue. I’ve also modified the post so it gets the best visibility for a Feature.

2 Likes