[logging] TCP structured logging DNS support
[logging] TCP structured logging DNS support

The previous iteration was assuming that the input value was an IP
address and not a DNS name.  Now, it'll resolve the DNS name to a list
of addresses, and go through each one until a connection is made.

Closes: #5363
Approved by: davidiw

libra/libra,aptos-labs/aptos-core,libra/libra,aptos-labs/aptos-core,aptos-labs/aptos-core,aptos-labs/aptos-core,libra/libra,aptos-labs/aptos-core,aptos-labs/aptos-core,libra/libra,aptos-labs/aptos-core,libra/libra