I have a DNS configured for IP to FQDN mapping. Here's a code to accept IP and print the FQDN
getCanonicalHostName() above returns the correct FQDN for all nodes except one for which it returns the hostname (name) of the machine. Why would that happen?
[ December 31, 2008: Message edited by: Raj Upadhyay ]
getCanonicalHostName() above returns the correct FQDN for all nodes except one for which it returns the hostname (name) of the machine. Why would that happen?
[ December 31, 2008: Message edited by: Raj Upadhyay ]