What is the proper way to determine a host's fqdn(fully qualified domain name)?
Is it possible to only use system calls in doing so?(ie gethostbyaadr, gethostbyname).
I want the host to resolve its fqdn for me through its resolving mech. instead of having to query name
services myself from the script.
Any help would be appreciated.