reverse lookup/domain lookup in PHP

Ask a Question related to PHP Development, Design and Development.

  1. #1

    Default Re: reverse lookup/domain lookup in PHP

    > Is it possible to reverse lookup (like here
    [url]http://www.whatismyipaddress.com/reverse.asp[/url]) to find the domain with PHP? I
    assume a DNS lookup requires an external server somewhere?
    >
    you can use exec or similar and to a reverse lookup like that... a
    traceroute should cover it. please don't copy and paste my code, just giving
    you an idea of what you'll do...

    exec("traceroute ".$ip." > file.tmp")

    then read the contents of file.tmp and you should be able to get the whole
    of the traceroute. this brings up certain issues with speed of a traceroute
    and run times of a script. also there may be a better way of doing this
    other than piping the contents into a temporary file, but i've had issues
    with reading what exec() outputs before (or whatever system call function
    you'd like to use)

    .... hope this helps a little
    Chris Kranz Guest

  2. Similar Questions and Discussions

    1. [PHP] reverse lookup/domain lookup in PHP
      From: "Tim Baker" <Tim.Baker@paconsulting.com> That's be great if there was a PHP function to do this, something like gethostbyaddr(), wouldn't...
    2. lookup bug?
      I'm going to have as much trouble explaining this problem as with dealing with the problem itself... When our employee creates a record in our...
    3. Lookup Columns
      Here is what I have: Access 97 Tables : Orders & ZipCodes Orders table is used for ordering products. Amongst the fields, there is a field...
    4. Lookup form
      Im trying to create a form that has two combo boxes that filter down the records the user can view and edit. The first combo box selects the table...
    5. Reverse DNS lookup
      When I ftp into my OSR 5.06 server, there appears to be a reverse name lookup happening on my local ipaddress. Problem is the name servers at...
  3. #2

    Default Re: reverse lookup/domain lookup in PHP

    Sorry i don't know the script to get the reverse lookup.But i know site called whoisxy.com .
    Here i found the reverse lookup tool.With the help of this you can know the number of the domains hosted on the single ip.
    aysha is offline Junior Member
    Join Date
    Dec 2010
    Posts
    3

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139