05-22-2007 1:43 PM
The scenario is: we want to do security check on received emails. Now we can get the IP addresses of the email server, but how can we get their domain names such as company.com by coding such as Java?
05-22-2007 2:27 PM
Hi Qiwei Yin,
You may use InetAddress class from java.net package.
It has special method (getCanonicalHostName()), which you can use to obtain domain name from the host with the known IP address.
Award the points if it answers your question
Best regards,
Laziz
05-22-2007 2:27 PM
Hi Qiwei Yin,
You may use InetAddress class from java.net package.
It has special method (getCanonicalHostName()), which you can use to obtain domain name from the host with the known IP address.
Award the points if it answers your question
Best regards,
Laziz