# net.resolve ## Function parses the host name and returns the deduplicated IP address array. ## Syntax ```bt net.resolve(host) ``` ## Parameters | Parameters | Type | Required | Default | Description | | ------ | ------ | ------ | ------ | ------ | | host | String | Yes | None | The host name to resolve. | ## Return Value | Type | Description | | ------ | ------ | | Array | Returns the IP string array. | ## Examples ```bt ips = net.resolve('localhost') result = type(ips) // Output: Array print result ``` ## Notes - A Chinese error is thrown when parsing fails.