use getaddrinfo instead of gethostbyname. getaddrinfo can be used to get the ipv6 addr of a host
use getaddrinfo instead of gethostbyname. getaddrinfo can be used to get the ipv6 addr of a host

Signed-off-by: dave bl <0352a8acc949c7df21fec16e566ba9a74e797a97@d1b.org>

Starefossen/docker-blockfinder,d1b/blockfinder,d1b/blockfinder,ioerror/blockfinder,ioerror/blockfinder,Starefossen/docker-blockfinder