90
90
// HostAddresses looks up the IP addresses of the specified
91
91
// host, and translates them into instance.Address values.
92
95
func HostAddresses(host string) (addrs []Address, err error) {
93
96
hostAddr := NewAddress(host)
94
97
if hostAddr.Type != HostName {