sensu / sensu-transport

The Sensu transport abstraction library.
MIT License
14 stars 19 forks source link

Handle/flush cached DNS entries before reconnect #39

Closed calebhailey closed 8 years ago

calebhailey commented 8 years ago

If a DNS name is used in a transport definition (e.g. RabbitMQ configuration), the results of the DNS lookup is cached, which can cause connection issues when the DNS value changes. This currently requires a restart of the Sensu process to flush the DNS cache.

Related: https://github.com/sensu/sensu/issues/1044, https://github.com/sensu/sensu/issues/1270, https://github.com/sensu/sensu/issues/1275