customizable replacements to getfqdn()