FQDN to IP

G

GSA

Hi,
I want to convert FQDN to IP Address. Please let me know the java api
I am supposed to use for this.

P.S. I am too new to java

Regards,
GSA
 
M

Martin Gregorie

That's a bit of overkill, just to resolve a hostname.

What's wrong with InetAddress.getByName() ?
Not a lot - I've always needed more than simply translating FQDN<=>IP,
etc. such as a list of domain MX addresses and consequently go for
dnsjava by reflex.
 
A

Arne Vajhøj

Not a lot - I've always needed more than simply translating FQDN<=>IP,
etc. such as a list of domain MX addresses and consequently go for
dnsjava by reflex.

Given that OP claims to be new to Java, then the simple
solution sounds as a better fit.

Arne
 
G

GSA

seehttp://mindprod.com/jgloss/fqdn.html

Fully Qualified Domain Name.



Thanks all!
I said am too new to java as I have never even seen java code and now
am actually supposed to do this FQDN to IP, straight shot. I dont even
have much time to learn.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top