When the address provided in the configuration is not an IPV4 address (such as w.x.y.z) we now try to resolve the network name before connecting.
It allows using the socket output in environments where IP addresses are dynamically provided and not known when configuring the sensor (e.g. docker compose or k8s).
When the address provided in the configuration is not an IPV4 address (such as w.x.y.z) we now try to resolve the network name before connecting. It allows using the socket output in environments where IP addresses are dynamically provided and not known when configuring the sensor (e.g. docker compose or k8s).
This fixes #14 and #15.