A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
Mongo DB Applied Patterns
this week in the
MongoDB
forum
or a resume review from
Five Year Itch
in the
Jobs Discussion
forum!
JavaRanch
»
Java Forums
»
Java
»
Servlets
Author
DNS Reverse Lookup???
James wu
Greenhorn
Joined: Feb 20, 2001
Posts: 5
posted
Apr 17, 2001 09:35:00
0
If I have a IP address, say, 216.115.109.6, then how can I get the domain name -
www.yahoo.ca
in Java.
Thank you very much for any help!
Vladan Radovanovic
Ranch Hand
Joined: Mar 20, 2000
Posts: 216
posted
Apr 17, 2001 09:40:00
0
Did You try getHostName() method of
InetAddress
class?
That should do it.
Vladan
I agree. Here's the link:
http://ej-technologies/jprofiler
- if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
subject: DNS Reverse Lookup???
Similar Threads
Cant use object from another class
Posting to bump up my count...
WA #1.....word association
The x900 effect ?
Text box value is not being completely filled with request attribute
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter