IPAddr
{IPAddr of the type
IP IP
}
The main purpose is to find this type of IP hostname perform DNS.
test
ResolveIPAddr function will perform DNS host name lookup, and returns a single IP address.
However, the host may have multiple IP addresses, often from multiple network cards. They may also have multiple host names, act as an alias.
Wherein an address is marked as "specification (Canonical)" hostname. If you want to find a canonical name, please use.
Test 2
This link: https://dreamerjonson.com/2019/01/18/go-network-3-IPAddr/
Disclaimer: This blog article unless otherwise specified, are used CC BY 4.0 CN agreement license agreement. Please indicate the source!
go-verbal communication, group 2: 713 385 260