Thinking for only a minute, my reaction is that one is communicating a "hostname" "domainname" tuple, then it's right for hostname to be just one component, and we should be putting hostname.domainname as the gethosthame(2) value.
Attachment:
pgp0jkUYXzqB7.pgp
Description: PGP signature