Page 1 of 1
DNS to IP how to lookup?
Posted: Fri Apr 07, 2006 6:36 pm
by alexus
Hi,
If I have a domain name, how can I convert it to an IP address?
So lets say user eneters yahoo.com and my page would echo 216.109.112.135
Any ideas?
Thanks!
Posted: Fri Apr 07, 2006 6:38 pm
by Smackie
Well you could always look in cpanel if you have one and it should say your ip address or you could just click on start > run > type in config > then type ping yourdomainurl.com and it should run and there should be a ip there.. theres many of ways to finding your domain ip address....
Smackie
Posted: Fri Apr 07, 2006 6:43 pm
by alexus

I didnt mean how to find ip adress in general, i need it for a PHP page to "ping" the domaoin name get an IP address of the server and work with it. No manual job should be done by the user?
Posted: Fri Apr 07, 2006 6:46 pm
by John Cartwright
Posted: Fri Apr 07, 2006 6:47 pm
by Smackie
sorry been a long day..... but im still not sure on what you mean by that right now :S
Posted: Fri Apr 07, 2006 6:59 pm
by alexus
Jcart, thanks!
Thats what i need... now to the next question in another post

Posted: Fri Apr 07, 2006 7:00 pm
by John Cartwright
Smackie wrote:sorry been a long day..... but im still not sure on what you mean by that right now :S
He wants to know the ip address of a domain name using php