Converts this hostname to lower case.
Resolves this hostname to an ip address using the platform DNS resolver.
Resolves this hostname to an ip address using the platform DNS resolver.
If the hostname cannot be resolved, a None
is returned.
Resolution happens synchronously when the returned task is evaluated so consider shifting the returned task to a blocking execution context.
Resolves this hostname to all ip addresses known to the platform DNS resolver.
Resolves this hostname to all ip addresses known to the platform DNS resolver.
If the hostname cannot be resolved, a None
is returned.
Resolution happens synchronously when the returned task is evaluated so consider shifting the returned task to a blocking execution context.
(hostname: Ordered[Hostname]).<(that)
(hostname: Ordered[Hostname]).<=(that)
(hostname: Ordered[Hostname]).>(that)
(hostname: Ordered[Hostname]).>=(that)
(hostname: Ordered[Hostname]).compare(that)
(hostname: Ordered[Hostname]).compareTo(that)
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.