difficulty/mediumhelp wantedtype/enhancement
描述
For now, the PD client in TiKV only supports literal IP addresses. I think it is time to support domain too.
An address should be formed like Host:Port.
Host:
- a domain string
- an IPv4 address string
[followed by an IPv6 address string, followed by]
Port: 1 - 65535
More details about host can be found at URL Standard.
cc #1282 and #1274
By the way, should we support domain for TiKV listening address?