Reverse DNS lookup ?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Pjotr Wedersteers

    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




  • CJ Llewellyn

    #2
    Re: Reverse DNS lookup ?

    "Pjotr Wedersteers" <x33159@westert erp.com> wrote in message
    news:41398c6e$0 $78279$e4fe514c @news.xs4all.nl ...[color=blue]
    > Hi PHP buddies,
    >
    > I want to include a reverse DNS lookup (find host/domain for a given IP)[/color]
    in[color=blue]
    > 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[/color]
    first.[color=blue]
    > So I can't rely on an exec to a *nix function right now.
    >
    > Any pointers, scripts etc welcomed![/color]

    RTFM





    Comment

    • Pjotr Wedersteers

      #3
      Re: Reverse DNS lookup ?

      CJ Llewellyn wrote:[color=blue]
      > "Pjotr Wedersteers" <x33159@westert erp.com> wrote in message
      > news:41398c6e$0 $78279$e4fe514c @news.xs4all.nl ...[color=green]
      >> 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![/color]
      >
      > RTFM
      >
      > http://uk2.php.net/manual/en/function.gethostbyaddr.php[/color]

      The one I could not find. Tried tons of terms lol. THANKS!


      Comment

      • Christian Fersch

        #4
        Re: Reverse DNS lookup ?

        CJ Llewellyn wrote:[color=blue]
        > RTFM
        >
        > http://uk2.php.net/manual/en/function.gethostbyaddr.php[/color]

        STFU


        Comment

        • Jasper Bryant-Greene

          #5
          Re: Reverse DNS lookup ?

          Christian Fersch wrote:[color=blue]
          > STFU
          >
          > http://en.wikipedia.org/wiki/Netiquette[/color]

          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

          Comment

          Working...