angoyal
08-05-2003, 06:03 PM
how does a person go about getting the domain name of the machine they are on (besides opening up /etc/resolv.conf )
is there some system call that will return the domain name?
most system calls are returning me just the hostname, I need the fully qualified domain name (FQDM)
ie
mybox.something.com
is there some system call that will return the domain name?
most system calls are returning me just the hostname, I need the fully qualified domain name (FQDM)
ie
mybox.something.com