Closed Raynos closed 9 years ago
This change allows us to give a seed list of IPs to the DNS resolver.
This means that if we send packets before the DNS is resolved or we are unable to resolve the DNS we will fall back to a static list of IPs.
Worst case scenario if DNS fails is that we hope the static IPs checked into the configuration in the application are actually statsd servers.
cc @sh1mmer @kriskowal @Matt-Esch
This depends on https://github.com/uber/node-statsd-client/pull/7
This seems reasonable. lgtm.
merging manually.
This change allows us to give a seed list of IPs to the DNS resolver.
This means that if we send packets before the DNS is resolved or we are unable to resolve the DNS we will fall back to a static list of IPs.
Worst case scenario if DNS fails is that we hope the static IPs checked into the configuration in the application are actually statsd servers.
cc @sh1mmer @kriskowal @Matt-Esch