Home All Groups Group Topic Archive Search About

Re: Looking up ISP domains from IP addresses

Author
11 Apr 2009 12:52 PM
Les Juby
The .php file I am running that does the lookup is on the same server.
The process of passing varibales in the URL to the .php file and
receiving them back in a IRL does work fine, but just seems to
terminate in a "Internet Explorer cannot display the webpage" error.

The MORE INFO button offers...................

"This problem can be caused by a variety of issues, including:
Internet connectivity has been lost.
The website is temporarily unavailable.
The Domain Name Server (DNS) is not reachable.
The Domain Name Server (DNS) does not have a listing for the website's
domain.
If this is an HTTPS (secure) address, click Tools, click Internet
Options, click Advanced, and check to be sure the SSL and TLS
protocols are enabled under the security section."

Are you suggesting that using the ServerXMLhttp method will avoid this
problem.?

If so, I'm a bit confused.  Would the code be used to send the request
to the .php page.  That page activates a different URL when it
redirects back to the originating domain.?  Would this achieve the
objective.

Most resources I've looked at on this subject seem to address the
problem of communicating XML data.?

   .les.




On Fri, 10 Apr 2009 13:31:39 -0400, "Bob Barrows"
<reb01501@NOyahoo.SPAMcom> wrote:

Show quoteHide quote
>Les Juby wrote:
>> Hi
>>
>> I really need to be able to do reverse DNS lookups on IP addresses in
>> much the same way that PHP does it with gethostbyaddr()
>>
>> It does not look like there is an equivalent function in Classic ASP
>>
>> I've experimented with calling a PHP file as an include (my ISS Serevr
>> does support PHP) but that isn't working at all.
>>
>> Had some limited success with passing variable to a PHP file which
>> passed the resolved variables back again but that soon created timeout
>> loops after every 5 or so resolutions.
>>
>> Any suggestions for an easier way to do this.?  I need to run a
>> routine against so biggish databases to add the resolved DNSs.
>>
>Nothing I've ever done, but the first thing that comes to mind is to use
>ServerXMLHTTP to send a request to a remote page that does the lookup and
>receive the results. Look up the term ServerXMLhttp at www.aspfaq.com to see
>an example.

Author
11 Apr 2009 1:38 PM
Bob Barrows
Les Juby wrote:
> The .php file I am running that does the lookup is on the same server.
> The process of passing varibales in the URL to the .php file and
> receiving them back in a IRL does work fine, but just seems to
> terminate in a "Internet Explorer cannot display the webpage" error.
>

Are you talking about manually browsing to this page in your browser? I'm
not sure what you mean by "IRL".

>
> Are you suggesting that using the ServerXMLhttp method will avoid this
> problem.?

No, if the page cannot be browsed manually, then ServerXMLhttp will have a
similar failure.

--
Microsoft MVP - ASP/ASP.NET - 2004-2007
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Are all your drivers up to date? click for free checkup

Author
11 Apr 2009 6:34 PM
Les Juby
On Sat, 11 Apr 2009 09:38:08 -0400, "Bob Barrows"
<reb01501@NOyahoo.SPAMcom> wrote:

>Les Juby wrote:
>> The .php file I am running that does the lookup is on the same server.
>> The process of passing varibales in the URL to the .php file and
>> receiving them back in a IRL does work fine, but just seems to
>> terminate in a "Internet Explorer cannot display the webpage" error.
>>
>
>Are you talking about manually browsing to this page in your browser? I'm
>not sure what you mean by "IRL".

Sorry.  Type.  Meant URL.

So I go:  www.somesite.com/somepage.php?ip2resolve=111.45.23.23

and the .php page processes and send a URL back:
   www.originaldomain.co/receivingpage.asp?resolvedIP=someisp.net

Show quoteHide quote
>>
>> Are you suggesting that using the ServerXMLhttp method will avoid this
>> problem.?
>
>No, if the page cannot be browsed manually, then ServerXMLhttp will have a
>similar failure.

Bookmark and Share