[Node] Socket DNS lookup latencies in APM

We see 2 - 7 second pauses usually when a socket dns lookup happens. What would be causing this?
https://one.newrelic.com/launcher/nr1-core.explorer?platform[accountId]=949064&platform[timeRange][duration]=86400000&pane=eyJuZXJkbGV0SWQiOiJhcG0tbmVyZGxldHMudHJhbnNhY3Rpb25zIiwidHJhbnNhY3Rpb25JZCI6IjViMjI1NzY1NjI1NDcyNjE2ZTczNjE2Mzc0Njk2ZjZlMmY0NTc4NzA3MjY1NzM3MzZhNzMyZjQ3NDU1NDJmMmY3NzZmNzI2YjY2NmM2Zjc3MmY2MzYxNzM2NTVmNjQ2NTc0NjE2OTZjMmYzYTYzNjE3MzY1NWY2OTY0MjIyYzIyMjI1ZCIsInRyYWNlSWQiOiJkODY5ZGM0Zi03NDgxLTExZWMtODZiNi0wMjQyYWMxMTAwMGVfMF8yNTY3IiwiZW50aXR5R3VpZCI6Ik9UUTVNRFkwZkVGUVRYeEJVRkJNU1VOQlZFbFBUbnd6TVRVd09UYzFNUSJ9&sidebars[0]=eyJuZXJkbGV0SWQiOiJucjEtY29yZS5hY3Rpb25zIiwiZW50aXR5R3VpZCI6Ik9UUTVNRFkwZkVGUVRYeEJVRkJNU1VOQlZFbFBUbnd6TVRVd09UYzFNUSIsInNlbGVjdGVkTmVyZGxldCI6eyJuZXJkbGV0SWQiOiJhcG0tbmVyZGxldHMudHJhbnNhY3Rpb25zIn19&state=d6e2a267-113f-b44d-3fc7-030f9a00e593

Hi @jgbutterworth -

I took a look at your link - from what I saw, it appears that most the time was consumed by Expressjs middleware. However, I want to be sure I understand your issue properly - can you be more specific with the ‘pause’ to which you are referring?

I guess never mind. It no longer appears to be coming from the dns lookup.

Hi there @jgbutterworth - Glad things resolved for you. Let us know if there is anything else we can look at.