Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Reverse DNS lookup in the Visitors_v1.6 contribution


orchard

Recommended Posts

The reverse DNS lookup hasn't been working recently because dnsstuff.com seems to be down. I don't know if this is temporary or not. A workaround is to replace this line in admin/visitors.php

<td class="VisitorTableContent" valign="top"><a href="http://www.dnsstuff.com/tools/whois.ch?ip=<?php echo $visitors["browser_ip"]; ?>" target="_blank"><font color="#0000FF"><?php echo $visitors["browser_ip"]; ?></font></a></td>

with this line

<td class="VisitorTableContent" valign="top"><a href="http://ws.arin.net/cgi-bin/whois.pl?queryinput=<?php echo $visitors["browser_ip"]; ?>" target="_blank"><font color="#0000FF"><?php echo $visitors["browser_ip"]; ?></font></a></td>

If you or most of your customers are not in the part of the world covered by arin.net you may prefer to do something similar using lacnic.net, ripe.net, etc.

In olden times the men were made of iron and the ships were made of wood; now it's the other way around. :wink:

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...