470,833 Members | 1,354 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,833 developers. It's quick & easy.

Reverse DNS lookup ?

Hi PHP buddies,

I want to include a reverse DNS lookup (find host/domain for a given IP) in
my pagetracker scripts.
Is there anything prefab in the PHP world I am overlooking I could put to
use ? I know some sites that offer en Reverse Lookup function but I want a
non-interactive method. My server normally runs on Linux but right now I
have it on XP, as my linux server has some problems I need to address first.
So I can't rely on an exec to a *nix function right now.

Any pointers, scripts etc welcomed!
Regards
Pjotr


Jul 17 '05 #1
4 8147
"Pjotr Wedersteers" <x3****@westerterp.com> wrote in message
news:41***********************@news.xs4all.nl...
Hi PHP buddies,

I want to include a reverse DNS lookup (find host/domain for a given IP) in my pagetracker scripts.
Is there anything prefab in the PHP world I am overlooking I could put to
use ? I know some sites that offer en Reverse Lookup function but I want a
non-interactive method. My server normally runs on Linux but right now I
have it on XP, as my linux server has some problems I need to address first. So I can't rely on an exec to a *nix function right now.

Any pointers, scripts etc welcomed!


RTFM

http://uk2.php.net/manual/en/function.gethostbyaddr.php

Jul 17 '05 #2
CJ Llewellyn wrote:
"Pjotr Wedersteers" <x3****@westerterp.com> wrote in message
news:41***********************@news.xs4all.nl...
Hi PHP buddies,

I want to include a reverse DNS lookup (find host/domain for a given
IP) in my pagetracker scripts.
Is there anything prefab in the PHP world I am overlooking I could
put to use ? I know some sites that offer en Reverse Lookup function
but I want a non-interactive method. My server normally runs on
Linux but right now I have it on XP, as my linux server has some
problems I need to address first. So I can't rely on an exec to a
*nix function right now.

Any pointers, scripts etc welcomed!


RTFM

http://uk2.php.net/manual/en/function.gethostbyaddr.php


The one I could not find. Tried tons of terms lol. THANKS!
Jul 17 '05 #3
Christian Fersch wrote:
STFU

http://en.wikipedia.org/wiki/Netiquette


Might be a good idea to read what you're linking to before you post - I
quote from the above source:

There is also a Netiquette rule for how to deal with someone who has
violated one of the rules of Netiquette:

* If you believe someone has violated netiquette, send them a message
by private e-mail; *do not post a follow-up to the news*.

--
Jasper Bryant-Greene
Cabbage Promotions
Jul 17 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

59 posts views Thread by Raymond Hettinger | last post: by
47 posts views Thread by Kapil Khosla | last post: by
6 posts views Thread by John Deuf | last post: by
reply views Thread by Dan Nash | last post: by
12 posts views Thread by rudysanford | last post: by
8 posts views Thread by rh0dium | last post: by
reply views Thread by mihailmihai484 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.