Hostname::Check — Check syntax of hostname entry (that is a domain name component, unqualified, without dots)
Import Hostname;
boolean Hostname::Check (
)
hostname
true if correct
rfc1123, rfc2396 and obsoleted rfc1034