I am not familiar with the Windows DNS service, but I cannot image how
the FQDN can be retrieved without a reverse entry in the DNS server. I
suspect that you will need to populate "Reverse Lookup Zones" with the
names of any machines you wish to be able to get the FQDN for.
-Chris.
Max (Weij
On Mar 4, 2008, at 10:35 PM, Christopher Hegarty wrote:
Hi Max,
The Java methods that you are using are correct. As it is specified
"best effort" is used to determine the FQDN.
getByName will try to do forward lookup of k1.n3.local to retrieve
its address, which I assumes will succeed. T
Hi Max,
The Java methods that you are using are correct. As it is specified
"best effort" is used to determine the FQDN.
getByName will try to do forward lookup of k1.n3.local to retrieve its
address, which I assumes will succeed. Then this address is used to do a
reverse lookup to determine
Hi All
I have a Windows domain called n3.local, and a server called k1 in
the domain, and a client. When I call the line --
InetAddress.getByName("k1.n3.local").getCanonicalHostName()
from the client, the returned string is "k1". How can I get
"k1.n3.local"? Is there anything wrong wit