RFC1123 compliant hostname.
A hostname contains one or more labels, where each label consists of letters A-Z, a-z, digits 0-9, or a dash. A label may not start or end in a dash and may not exceed 63 characters in length. Labels are separated by periods and the overall hostname must not exceed 253 characters in length.
- Companion
- object
Value members
Concrete methods
Inherited methods
Resolves this host to an ip address using the platform DNS resolver.
Resolves this host to an ip address using the platform DNS resolver.
If the host cannot be resolved, the effect fails with a java.net.UnknownHostException
.
- Inherited from
- HostPlatform
Resolves this host to all ip addresses known to the platform DNS resolver.
Resolves this host to all ip addresses known to the platform DNS resolver.
If the host cannot be resolved, an empty list is returned.
- Inherited from
- HostPlatform